The modern data notebook — SQL, Python, and AI Magic in one collaborative analytics workspace.
Hex is the data notebook built for modern data teams — SQL and Python cells side-by-side with an AI assistant (Magic) that writes queries from plain English, fixes broken code, explains logic, and generates visualizations. Collaborative by design, Hex replaces Jupyter for production data work with version control, commenting, and one-click published apps.
Hex is the modern replacement for Jupyter Notebooks in production data team environments — designed for collaboration, publication, and AI assistance from the ground up. The core product is a mixed-cell notebook supporting SQL, Python, Markdown, and rich visual outputs (charts, tables, maps) that can be connected to any warehouse or database (Snowflake, BigQuery, Redshift, Databricks, PostgreSQL, and more). Magic AI is Hex's AI layer — it writes SQL from natural language descriptions, explains Python code, suggests fixes for errors, and generates full analysis sections from prompt descriptions. The collaboration model supports real-time multi-user editing (like Google Docs for notebooks), inline commenting, and version history. Published Hex notebooks become interactive apps — stakeholders see a polished, interactive report without needing data access or coding knowledge. The free plan supports 1 user with unlimited notebooks and 5 connected data sources. The Team plan at $24/user/mo enables collaboration, version control, and advanced sharing. For data engineers, data scientists, and analytics engineers who need collaborative, AI-accelerated notebook analysis connected to their data warehouse, Hex is the professional standard.
Connect Hex to your Snowflake or BigQuery warehouse. Describe the analysis you need in plain English to Magic AI ('show me 30-day rolling retention by acquisition cohort') and Magic writes the SQL, which you can review, edit, and run. Dramatically faster than writing complex warehouse SQL from scratch.
When a metric drops unexpectedly, multiple team members can join a Hex notebook simultaneously — one writing SQL queries to slice the data, another writing Python for deeper statistical analysis, both annotating findings in real time. Inline comments create an investigation record as you work.
Build a Hex notebook with parameterized date ranges and filters, run the analysis, then publish it as a stakeholder app. Leadership sees an interactive dashboard where they can adjust time periods and filters — without any code visible. The notebook remains the live source of truth, updating with each scheduled run.
Use Hex as a Jupyter replacement with Magic AI embedded. Write Python analysis cells with AI autocomplete, ask Magic to explain unfamiliar library functions, debug error messages by pasting them into Magic's chat, and generate visualization code from descriptions. The collaborative model makes code review and handoff significantly easier than Jupyter.
Hex is the production-grade, collaborative evolution of Jupyter. Both support SQL and Python in cells, but Hex adds real-time collaboration, version control, Magic AI assistance, live database connections, published interactive apps, and scheduled runs — all within a managed cloud environment. For individual local experimentation, Jupyter is still viable. For team data work where collaboration, sharing, and production reliability matter, Hex is significantly better.
Magic AI's SQL accuracy is high for well-described queries against schemas with clear, descriptive table and column names. It handles JOINs, aggregations, window functions, and CTEs reliably. Accuracy drops for very complex multi-step queries or when schema naming is ambiguous. Best practice: describe the business question clearly, review the generated SQL, and run it in preview mode before using results in a report.
Yes — published Hex apps present a polished interactive interface where stakeholders can adjust parameters (date ranges, filters, dropdown selections) and see updated results without any code visibility. They don't need a Hex account for view-only access. The experience is similar to a Tableau or Looker dashboard, with the notebook as the live source.
Hex connects natively to Snowflake, BigQuery, Redshift, Databricks, PostgreSQL, MySQL, SQL Server, DuckDB, MotherDuck, Athena, and several others — plus dbt Cloud for analytics engineering workflows. Check hex.tech for the current full list of connectors, as new integrations are added regularly.