Skip to main content

Releases

View 2024 releases
Latest release:

If you’re following AI Analytics you’re probably hearing a lot about context. Context is the rules and guardrails for AI. It’s how we ensure that all the work that AI is doing to answer your data questions is correct, consistent, and relevant to what you need.

But context isn’t a monolith, it’s a heterogenous puzzle. It’s tempting to believe we can build all the definitions we need first and then have a great experience with AI. But every time we interact with data we’re creating more context! It’s a moving target.

Today, we’re announcing a boatload of improvements to help you handle context.

🧠 Automatic User Memory

User memory is now available in the Hex Agent, which means you should have higher-quality, more stateful responses - that feel personalized to you.

The agent builds up a profile about you to help have more tailored, accurate answers. It also has the ability to go reference recent conversations you've had with the agent. This means you can ask questions like, "What do you think is most useful for me to be paying attention to?" and the agent will be able to suggest interesting insights for you to dig into.

the agent can now reference user memory

💬 Prompt the Hex Agent from your data apps

Data apps (née “dashboards”) are where a lot of data insights are shared in reusable, interactive reports. We’ve upgraded the Hex Agent’s capabilities here.

From a data app, you can start a thread with the Hex agent. Before, your answers were strictly limited to what was in the app. Now, if the answer to your question isn’t there, the agent can use all of its context (like queries, charts, and the logical flow the analyst went through) to answer, creating new cells and chart as needed. This way, the app is a valuable set of starting context to help guide your questions, but it doesn’t limit you.

This also provides a great AI entry point for people who are used to getting their insights in dashboards: they can start with a visual report, and use the agent to ask follow-up questions.

Check out our docs for a full overview of what you can do when chatting with your apps.

🧬 Cells from projects-as-context

Sometimes the best answers are from assets that already exist. Now, when the agent points to a project in Threads, it can point directly to any cell in the project (like a chart or a table) and render it in-line. This makes it faster and easier to look at existing context rather than always creating new content. It’s particularly helpful when there’s a trusted metric you want the agent to reference, and you want to view it in-line.

the agent can bring in distinct charts and tables from other projects

⚠️ Previews and warnings in GitHub enable programmatic context

Guides are a great way to give the Hex Agent some rules and regulations for how to analyze your data - from sample queries to important terms. Many data teams are taking on context curation as a core responsibility, and being able to manage that context at scale is crucial.

Now, you can use our GitHub action to automatically sync guides from GitHub to Hex. This allows you to control context for the Hex Agent from outside of Hex.

Now, when you push changes to your guides, the GitHub action will run validation checks and return warnings. A preview link allows you to test guide changes in Hex before you merge them, and you’ll get a GitHub comment summarizing the changes.

Manage the context for your agents programmatically and test context updates before you merge them into production! Managing agents just got more…manageable.

Control your guides via GitHub actions, now with automatic previews and warnings

📜 Guides Version History

A new history sidebar in the Context Workbench shows a timeline of all published versions. Click any version to view its changes and full contents. This works for guides controlled both inside of Hex and externally in a GitHub repo or other source. You can see what the agent was working with at any point in time.

Keep track of how your guides have changed

🔍 Semantic Model References

You can now “View References” on a semantic model to see every project and cell that uses it. This is especially useful when you need to deprecate or remove an old model and want confidence it won't break any projects or dashboards.

See all of the projects and cells that use a semantic model

🛠️ Other improvements

  • More details in context onboarding - For those of you who are still learning about context: we’ve added some more details to help you get started in Context Studio. This inescapable learning journey will link you deeper into the places in where you can build and improve your agents. You will learn about context and you will like it.
  • New API endpoint for programmatically fetching images from an app - Get the rendered PNG image of a chart cell from a completed dashboard run - making it super easy to programmatically pull updated chart images you care about and add them to a doc or slide deck. See the documentation here.
  • Include data in your enterprise search with Glean integration - If you’re using Glean to unify your apps into one searchable workspace, you can now add Hex into the mix. Using our MCP connector, Glean can now access Hex Projects and Threads - you can create a new Thread, continue an existing one, or pull in charts, descriptions, summaries, and direct links to Hex content.
  • Better Slack + Hex Agent interactions - The Slack + Hex integration now handles more response types in Slack, including plaintext outputs, Python dataframes, and Python charts. Plus we fixed some bugs that were causing messages to be struck through or not correctly responded to. If you’re seeing any issues please let us know!

🕵🏼‍♀️ Introducing the Hex CLI

Today, we’re announcing the Hex Command Line Interface. Using the CLI, users (and agents like Claude Code) can create projects, write SQL, run analyses, and connect their agents…without leaving the terminal.

👫 Some ways we’ve seen our customers use the CLI

It’s been exciting to hear the use cases customers are envisioning for the CLI during our beta period:

🤖 Generate locally, ship to Hex - Sometimes, Claude knows just a little bit more about a topic than Hex does, for example, those changes you’re working on in your dbt project right this minute. With the CLI, use any coding tool to write SQL and Python and then push the finished analysis to Hex as a shareable, versioned project.

🤩 Bulk Schema Updates - when a column is renamed, you used to be left with the hefty job of hunting down every affected dashboard and fixing them one by one. Now, list all projects, scan all SQL cells for the old column name, update, and rerun to validate. From a day-long project to a simple script.

🚂 BI Migration 😉 - Do you have a bunch of legacy BI reports that you want to move to an AI native platform but you’re overwhelmed by the project? Create a new Hex project in one command (or create a script to create a whole bunch of Hex projects). Fetch the SQL from your old BI tool, and migrate it to Hex, no clipboard required.

If you’re ready to get started, just paste the following in your terminal (or check out the documentation here)

curl installer: curl -fsSL https://hex.tech/install.sh | bash
homebrew installer: brew install hex-inc/hex-cli/hex

Data is most powerful when the whole org can use it, and when every person who uses it makes it better for the next. Every query, every metric, every insight should feed back into the platform and make the next person's work faster, more accurate, and easier to trust.

We've been calling the stuff that usually slips through the cracks context exhaust: the query you ran to get there, the project someone built six months ago that answered this exact question, the metric definition your team actually agrees on. It just kind of evaporates. Today's release (and basically everything else we’re doing) is about capturing it and putting it to work.

We're also making the agent itself more capable: specialized subagents that handle complexity in parallel, Python in Threads, smarter data discovery. The kind of thing that means your best analyst's instincts aren't locked behind a queue.

The more your team uses Hex, the better it gets. Here's what's new.

📽️ Project context for the Hex Agent

The agent can now deeply reference other projects. This helps you take advantage of the work other analysts have done, ensuring trusted answers and consistent metric definitions.

  • In Threads - The agent can now pull queries, charts, and code from your projects into a thread.
  • In a Notebook - Start with an existing project and use it as a jumping off point for a deeper investigation.
  • In Workspace context - Projects can now be referenced in your workspace context and guides as examples the agent should review before giving an answer.

Simply @ mention the project you want to refer to (or paste in a link) if you have a specific reference in mind. You can also tell the agent to search for all projects related to [a topic that interests you].

If you’re creating projects in Hex already, you’ve already built a ton of context that can direct our agents. Be sure users have "Can explore" access to important projects in order for them to be pulled in as context in Threads.

For more details on how this works, check out our blog.

👨‍💼 Threads Agent can use Python

Previously, when you were in Threads, the Hex Agent could only create SQL cells and charts. We’ve given Threads the ability to write Python! This opens up the possibility of all sorts of new conversations in Threads, like asking the agent to create a forecast of a metric that interests you, bringing in sentiment libraries, and letting the data visualization subagent create more customizable charts. Since Threads can now bring in cells from other projects, you can even take advantage of code written by your data science team and run it in your Thread.

threads can use python

🔎 Focused Cell Viewer in Threads

We’ve built a new cell-viewer in Threads. As Threads generates cells, you can click into them and see the results. There’s a nice, clean UX for flipping through charts and code cells and a nice big viewer for your pretty charts. While in focus view, you can link anyone to a cell directly. When the agent is done, you’re left with a simple, browsable summary of all the steps the agent went through and outputs it made.

Threads focused cell viewer

Wouldn’t it be nice if you could publish this summary as a shareable app of some kind? 🤔 Stay tuned.

↔ Agent can swap data connections

Previously in Threads, the user had to select a data connection before sending a message and the agent was restricted to that connection. Now, when you’re asking the Hex agent for answers from your collaboration or prompting tool, it has the freedom to find any data in your workspace.

This is especially useful in Slack and MCP - which were previously restricted to the workspace’s default connection.

We’ve also heard from folks that they are a little worried that this might result in the Slack bot leaking or posting sensitive information into public channels. Fear not - we’ve also added a setting to let admins specify which data connections can be used by the agent in Slack.

🚊 Improved data discovery and visualization with subagents

A hard data question isn't really one question. The Hex Agent can now break complex requests into focused workstreams using subagents - specialized helpers that each tackle a discrete part of an analysis in parallel that can effectively handle far more without hitting context window limits. The result is faster, more reliable answers without you having to change how you work.

The Data Discovery Subagent finds the right data connections, tables, and schemas before analysis even starts. This is particularly helpful for questions where you may want the agent to search through a complex warehouse setup.

The Data Visualization Subagent handles your charts end-to-end - choosing the right chart type, configuring axes and labels, and applying visual best practices - so you can stay focused on the analysis itself. Here are some nice charts the subagent has made:

Some nice charts

🛠️ Other improvements

  • Hex CLI Open Beta - If you’re analyzing data using a coding assistant like Claude Code or Cursor or managing Hex projects in bulk, you can try out our command line tool to incorporate Hex into your code-based workflows. We’re still working on the CLI, but we’re excited to get people using it and to hear your feedback!

    Docs are available here, or just copy paste the shell installer: brew install hex-inc/hex-cli/hex

  • Queue Prompts in Threads - Threads now has the same prompt queuing feature we added to the notebook agent a couple weeks ago. Want to correct the agent’s thinking? Or did you just forget something? Queue up your thoughts and have the agent pick them up when it’s finished with its current task.

  • Attach charts to notifications - When scheduling a notification now you can attach specific charts to your notification instead of the recipient hunting through a big graphic to find the chart that matters to them. We've been sending pretty graphs in Slack and the team loves it!

  • Run status and project metadata in one place — We’ve consolidated run and kernel info into the Run button at the top of Logic view—hover for status, memory, and environment details.

As we’ve grown, we’ve noticed that more of you are thinking about how you can manage Hex at scale. With the ability for everyone to explore data conversationally using Threads, there are a bunch of new things to think about. Building and curating context for AI powered analytics is something data teams are increasingly focused on.

Today, we are announcing improvements that allow you to control Hex from outside of Hex. From managing guides to leveraging APIs, we’ve built a bunch of ways for you to fit your Hex work into the processes and tools that help your team stay in sync.

🐱 GitHub Action for managing context guides

Earlier this year we shipped Guides, which allow you to add unstructured context for agents about specific areas or domains.

Today, we're shipping a GitHub action that'll let you sync guides from git repos, so you can easily incorporate context that's authored or managed elsewhere. This action uses our new guides API, providing a flexible, easy way to keep context up to date.

Want to keep all your context centralized in your dbt repo? No problem, on merge you can use the GitHub action to automatically push updated guides into Hex.

Here’s how it works:

  • 🐱 Manage your workspace guides in GitHub, or use what you already have.
  • 🏃🏻 The new Action will then sync over any changes on the main branch.
  • 🌟 Hex’s Agents will then have up-to-date, fresh context – and you can see how it’s being used right in the Context Studio.

Ready to set this up? Check out our learn docs.

🖥️ New external CRUD API endpoints

We released a family of new endpoints that allow you to create projects and update and delete cells. With our API, you can build your own Hex workflows using tools like Claude Code, Codex, or Cursor.

You can do cruddy things like:

  • create - create an empty draft of a new project
  • update - update the contents of cells as well as metadata like the data connection
  • delete - cell who? bye 👋

We have some super secret plans for how this API will come to life for those of you who love building in the command line, so stay tuned!

Our full API reference is available here.

🐍 Python 3.12 kernel available

We now support Python 3.12. You can adjust which version of the kernel you use in the environment menu. This gives you:

  • ⚡️ Faster Notebook performance, especially for users running heavy computations or large dataframes
  • 🐛 Better error messages (instead of cryptic stack traces) that point you exactly to the problem
  • 📆 We’re also announcing this on 3/12. Coincidence? Yes… actually.

And yes – we are working on fully catching up to latest releases and better kernel version management generally – more soon.

🏠 chDB “easy button” for ClickHouse users

In case you missed our announcement yesterday - you can now write python in Hex and run it natively in ClickHouse using their chDB in-process pythonic database. With one click, we’ll import all the libraries you need, and you can use the Hex Agent to write chDB-native code.

🕵🏼‍♀️ Hex & ClickHouse are official partners!

We're excited to announce our expanded partnership with ClickHouse, in tandem with the launch of chDB 4. This adds native pythonic support to our already-tight integration with the ClickHouse data warehouse.

When you set up a connection to a ClickHouse database in Hex, you now have the option of enabling chDB. We also added an “easy button” that provides a one-click python snippet making a connection to the ClickHouse warehouse via chDB. Check out our updated help docs to see more about how to set all of this up.

With native chDB support in Hex, you can leverage the power of ClickHouse for AI powered analytics. chDB piggybacks off your ClickHouse connection string, adding the ability to execute pythonic tasks.

Benefits of using Hex & ClickHouse together:

  • 🔐 Do advanced analysis on your ClickHouse data without exposing credentials or connection strings
  • 🐍 Run python in ClickHouse so you don’t need to load anything into memory
  • ⚡️ Perform cross-warehouse analysis without migrating all of your data
  • 🤖 Utilize the world’s best analytics agent to write code and find insights for you

If you want to check out the integration, we have an extended trial offer for you:

Read the full announcement to learn more.

Whether you’re in Hex, using a spreadsheet, or collaborating with your colleagues, data should be there providing useful, relevant updates. Today, we’re excited to share an easy Google Sheets integration, a Cursor plugin, and the ability to bring more real-world context into your prompts by allowing the Hex Agent to accept text and image uploads. Lastly, check out the nice new streaming UX update for the agent.

📄 Google Sheets export

You can now export to a Google Sheet in one click from cells or schedule your app to export to a Google Sheet. This is especially awesome for finance teams who want the power of the agent in Hex, but still want to easily work in a full spreadsheet view at other times. Notifications hit your inbox or Slack with a link to the spreadsheet as well as the Hex app. 

Google Sheets Export

🖼️ Hex Agent now accepts text and image file uploads

Users can now upload and attach text and image files to their prompts. Inspired by a chart you like and want the agent to help you make something similar? Just upload a screenshot. You can even use an image to help bootstrap an entire dashboard.

info

Curious about Hex’s AI capabilities but struggling with how to get started? Check out our learn docs - where we’ve curated a handy set of best practices for setting up and prompting our agents.

🧠 Interactive charts, tables, and thinking steps directly in Claude

Our Claude Connector is now enhanced, with a native app, interactive custom-styled charts, tables and thinking steps.

Hex in Claude

When you fire off a data question from Claude, the Hex connector will spin up an interactive interface displaying the Hex agent’s thinking. Click into the steps to see which tables or semantic models the agent is referencing, and to spot-check the underlying SQL. This lets you follow the agent’s reasoning, deepen your own understanding, and point things in a new direction if needed.

Ready to dive in? Check out the Hex Connector in Claude’s directory and our documentation.

👾 Cursor Marketplace plugin

Software engineers and vibe coders, rejoice! Hex is now a plugin on Cursor's Marketplace. You can search for Hex projects and create and interact with Threads while you code. For instructions on how to connect Hex and Cursor, check out our docs.

Cursor & Hex

🕵 Two cool UX improvements for the Agent

We also have two nice new quality-of-life improvements for those of you who love working with the Hex Agent, but hate waiting.

  • Agent Streaming - This UX tweak allows you to get your agent responses faster! No more waiting for the agent to be done with every step in the analysis. Read it in real time.
  • Prompt Queuing - Now, in the Notebook, you can queue up new prompts for the agent. When you enter a prompt when the agent is running, it’ll go into a queue to run right after the current prompt is done. Realized the agent is going off track, or want to nudge it down a different path? Easy. Create a whole queue of prompts. We’ll bring this capability to Threads too, coming soon!

See both of these upgrades in action below: