# Hex AI integration on Definable

> Hex is a collaborative data workspace that combines SQL, Python, and R notebooks for analytics and data science

## What this connects

Hex is a collaborative data workspace that combines SQL, Python, and R notebooks for analytics and data science

Vendor: https://hex.tech

## Tools available

**31** tools available. First 12:

- `HEX_CANCEL_RUN` — Cancel Run — Tool to cancel a project run that is in progress. Use when you need to stop a currently executing Hex project run before it completes.
- `HEX_CREATE_CELL` — Create Cell — Tool 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.
- `HEX_CREATE_COLLECTION` — Create Collection — Tool to create a new collection in the Hex workspace. Use when you need to organize projects and resources into a collection.
- `HEX_CREATE_GROUP` — Create Group — Tool to create a new group in the Hex workspace. Use when you need to organize users into groups for collaboration and access control.
- `HEX_DEACTIVATE_USER` — Deactivate User — Deactivates a user in the Hex workspace. Use this when you need to deactivate a user by their ID.
- `HEX_DELETE_CELL` — Delete Cell — Permanently 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.
- `HEX_DELETE_GROUP` — Delete Group — Deletes a group from the Hex workspace. Use this when you need to permanently remove a group by its ID.
- `HEX_DELETE_GUIDE_DRAFT` — Delete Guide Draft — Deletes a guide draft by ID from Hex. Use this when you need to permanently remove a draft guide.
- `HEX_EDIT_COLLECTION` — Edit Collection — Tool to edit a collection's name, description, and sharing settings in Hex. Use when you need to update collection metadata or change sharing permissions.
- `HEX_EDIT_GROUP` — Edit Group — Tool 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.
- `HEX_EDIT_PROJECT_SHARING_COLLECTIONS` — Edit Project Sharing Collections — Tool 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 access scope in addition to Projects -> Write access scope.
- `HEX_EDIT_PROJECT_SHARING_GROUPS` — Edit Project Sharing Groups — Tool 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.

## Auth

Auth schemes: `API_KEY`.

## How agents use Hex

Inside a Definable workflow, Hex is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Hex** — the Researcher (GPT-5.5) pulls context from Hex (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Hex** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Hex (create record, post message, draft email).
- **Designer / Engineer → Distributor → Hex** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Hex (attach file, open PR comment, post status).

The Verifier checks every Hex call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- analytics — https://definable.ai/apps/category/analytics/
- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/hex/
- Same category (analytics): https://definable.ai/apps/category/analytics/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
