🤖 Hex Agent via CLI and API
You can now have conversations with the Hex Agent via CLI and API, so you can set it to work from the tools and scripts you already use, not just the browser. A few things that unlocks:
- Kick off a thread with the agent right from the command line by running
hex thread create — the agent finds the tables, builds the analyses, and hands you back a link to the project without any separate coding tools.
- Wire the agent into where your teams already working via API — you can ask questions in your coding agent, in your terminal, or whatever other app you’re working in, and get detailed analysis powered by the Hex Agent.
- Migrate off your old BI tool by pointing the agent at a dashboard and having it rebuild the thing as a Hex project instead of porting queries by hand.
Ready to get started? If you have enabled API access enabled, 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
💻 Cell outputs in the CLI
If you've ever run a cell and wondered "wait, what did that output actually look like?" This is for you.
The Hex CLI can now show you what a cell actually returned, right in your terminal, so you don't have to run something and then flip back to the browser to see what happened.
Add --with-output to your next hex cell run or hex cell get.
Fetching a big table that won't fit a terminal window? The CLI will switch between a horizontal and vertical layout depending on the space it detects when returning results. We also added the vertical layout to all CLI commands that render a table, with new --expand and --no-expand flags.
🔗 See which resources the agent used
The Hex Agent can pull from a ton of context — guides, tables, semantic models — and until now it was hard to see what it actually reached for. Now Hex shows you the resources the agent used, and even distinguishes whether it just looked at a resource or actually used it in the analysis.
It shows up in three places:
- Open the Thread Inspector in any thread to see its resources.
- Head to the Context Studio to see which of your guides and tables are actually earning their keep across your workspace, so you know what to invest in and what to prune.
- Use an agent to analyze the data via CLI and **the resources in the output.
So instead of guessing whether the agent found the right guide or leaned on the wrong table, you can see it, and tune your context accordingly.
🧠 Claude Opus 5
Claude Opus 5, Anthropic's newest and most capable model, is now in the model picker. It's the strongest option in Hex for complex, open-ended analytical work, and it holds up impressively well even at lower effort levels.
It's a premium model, so use it for your hardest questions rather than routine lookups. Pick it in personal settings, or switch to it when you prompt the agent.
🔄 Faster schema refreshes for Snowflake