Hex for AI agents
Agents read Hex at once. Changes and sends are held for a person's approval by default.
About Hex
Hex is a collaborative data workspace that combines SQL, Python, and R notebooks for analytics and data science
What an agent can do in Hex
Every Hex action is classed by the platform as a read, a change or a send. Reads run at once. Changes and sends are held for a person by default.
Runs at once (reads)
Looks things up in Hex without asking first. 13 actions.
- Get ProjectTool to get metadata about a single Hex project. Use when you need to retrieve project details including title, description, creator, owner, status, categories, analytics, schedules, and sharing infor
- Get Project RunsTool to retrieve the status of API-triggered runs for a specific Hex project. Use when you need to check the execution status, timing, or history of project runs. Returns a paginated list of runs with
- Get Run StatusTool to retrieve the status of a specific Hex project run. Use when you need to check the current state, timing, or completion status of a project execution. Returns detailed information including sta
- List CellsTool to list all cells from the draft version of a Hex project. Use when you need to retrieve cells with source code for SQL and CODE cells. Returns paginated results with cell details including type,
- List CollectionsTool to retrieve all collections in the workspace with pagination support. Use when you need to list or discover available collections.
- List groupsTool to list all groups in the Hex workspace with pagination support. Use when you need to retrieve groups with optional sorting and pagination.
- List Hex ProjectsTool to list all viewable Hex projects with pagination and filtering support. Use when you need to retrieve projects sorted by creation date or filter by status, categories, creator, owner, or collect
- List UsersTool to list all users in the Hex workspace with pagination support. Returns user details including names, emails, roles, and last login dates. Use when you need to retrieve users, filter by group, or
- Get CellTool to get a single cell by ID from the draft version of a Hex project. Use when you need to retrieve cell details including source contents for CODE and SQL cells. Returns complete cell information
- Get collectionTool to get information about a specific collection in Hex. Returns collection details including name, description, creator, and sharing settings. Use when you need to retrieve metadata about a collec
- Get GroupTool to retrieve information about a specific Hex group. Use when you need to get details about a group including its ID, name, and creation date.
- Get Run Chart ImageTool to retrieve a rendered chart image from a Hex project run. Use when you need to get a visual representation of a chart cell from a completed run. Only supports chart-type cells that have executed
Show all 13
- List Data ConnectionsTool to list all data connections in the Hex workspace with pagination support. Use when you need to retrieve, browse, or audit data connections configured in Hex. Supports filtering by sort criteria
Held for approval by default (changes and sends)
Held for a person's approval by default. The approval is recorded and the action is sent once, never twice, with 10 seconds to undo. 19 actions.
- Create CellTool to create a new cell in the draft version of a Hex project. Use when adding CODE or SQL cells to a project. Only CODE and SQL cell types are supported. Requires EDIT_PROJECT_CONTENTS permission.
- Create CollectionTool to create a new collection in the Hex workspace. Use when you need to organize projects and resources into a collection.
- Deactivate UserDeactivates a user in the Hex workspace. Use this when you need to deactivate a user by their ID.
- Delete CellPermanently delete a cell from the draft version of a project. Requires EDIT_PROJECT_CONTENTS permission. Use when you need to remove a cell from a Hex project's draft.
- Delete GroupDeletes a group from the Hex workspace. Use this when you need to permanently remove a group by its ID.
- Delete Guide DraftDeletes a guide draft by ID from Hex. Use this when you need to permanently remove a draft guide.
- Edit GroupTool to edit a group's name and/or members in Hex. Use when you need to update group details, add users to a group, or remove users from a group.
- Run ProjectTool to trigger a run of the latest published version of a Hex project. Use when you need to execute a project programmatically. Rate limited to 20 requests per minute and 60 requests per hour.
- Update CellTool to update a cell's source code and/or data connection in Hex. Use when you need to modify the contents of a code cell or SQL cell. Requires EDIT_PROJECT_CONTENTS permission.
- Upsert Guide DraftTool to update or create guide drafts by filePath. Creates a new guide if it doesn't exist, creates a draft if the guide exists without a draft, or updates an existing draft. Use when you need to prog
- Cancel RunTool to cancel a project run that is in progress. Use when you need to stop a currently executing Hex project run before it completes.
- Create GroupTool to create a new group in the Hex workspace. Use when you need to organize users into groups for collaboration and access control.
Show all 19
- Edit CollectionTool to edit a collection's name, description, and sharing settings in Hex. Use when you need to update collection metadata or change sharing permissions.
- Edit Project Sharing CollectionsTool to add a project to collections or remove it from collections. Use when you need to update project sharing by adding or modifying collection access. Workspace tokens need Collections -> Write acc
- Edit Project Sharing GroupsTool to edit project sharing settings for groups in Hex. Use when you need to add or modify group access to a project. Supports up to 25 groups per request.
- Edit Project Sharing SettingsTool to edit project sharing settings for workspace members and public web access. Use when you need to control who can access a Hex project and what permissions they have.
- Edit Project Sharing UsersTool to edit project sharing settings for individual users in Hex. Add or modify user access to a project by specifying access levels (NONE, APP_ONLY, CAN_VIEW, CAN_EDIT, FULL_ACCESS). Use when you ne
- Publish Guide DraftsTool to publish all currently drafted guides or specific guides by ID. Use when you need to make draft guides publicly available. Specify either publishAllDraftGuides=true or provide specific guide ID
- Update Project StatusTool to add or remove a status (including endorsements) from a Hex project. Use when you need to update the project's status or remove an existing status by setting it to null.
Changes wait in Needs you
Changes and sends in Hex are held for a person's approval by default. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.
Hex questions
Can an agent change data in Hex on its own?
Not by default. Changes and sends in Hex are held for a person's approval. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.
What can an agent read in Hex?
This connector lists 13 read actions. Reads run at once, without waiting for approval.
How does Hex connect?
It connects with API key. Connectors are built and maintained by third-party developers; availability is confirmed during scoping.