> ## Documentation index
> Fetch the complete documentation index at: https://docs.heurastudios.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent mode

> Let coding agents build, evaluate, train and ship models in your Studio over MCP or plain HTTP, under the same rules as the pages.

Source: https://docs.heurastudios.com/agents/overview/

*Available on Pro and Studio plans.*

Agent mode opens the Studio to AI agents. Give Claude Code, Cursor or any MCP client an agent key, and it can do everything you do in a notebook (add data, write tests, chat, train, release) from the terminal, without the pages and with minimal tokens.

*Diagram: Agent mode: your agent (Claude Code, Cursor or any MCP client) sends its key to either door, POST /mcp (MCP over Streamable HTTP) or /agent (plain HTTP). Both run the Studio's own routes as your account: it can read models, add data and evals, chat, run tests, train, release and serve; it cannot touch billing, the password, keys, teammates or connections.*

*Two doors, one Studio: whichever door an agent uses, every action runs the same route the pages do, as your account.*

## Same rules as the pages

Every action an agent takes runs the Studio's own route, as the key's account. Every check, lock, limit, plan rule, credit and activity line is the same one a person meets in the browser; there's no second copy of any rule. Your open notebook updates live as the agent works, and its activity names the key that acted.

## What an agent can and can't do

**Can:** list and read models, create and update them, add and edit rules, examples, files and tests, chat with a model and keep or fix its answers, run tests and compare engines, start and cancel runs, promote versions, change the pipeline, configure the website agent, rotate a model's API key, export packages, and check imports.

**Can't:** change your password, devices, billing, plan or privacy settings, teammates, connections or agent keys.

**Needs a person:** some actions ask for consent, like sending a model's data to an outside provider for the first time, or accepting a model's license on import. An agent never gives consent on your behalf; the Studio tells it a person has to agree first.

## The four tools

| Tool | Title | What it does |
| --- | --- | --- |
| `heura_read` | Look | Reads a workspace: models, state, changes, data, tests, results, runs, serving, chat. |
| `heura_write` | Build | Builds and evaluates: models, rules, examples, files, tests, chat, runs, exports. |
| `heura_release` | Release | Changes what a model's users get: promote, the pipeline, automation, serving, keys, engine. |
| `heura_remove` | Remove | Deletes or cancels: models, rows, runs in line, imports, chats. |

See the [tools reference](https://docs.heurastudios.com/agents/tools/) for every action.

## A typical session

1. `heura_read` `what=models` to find the model, then `what=state` for its full picture.
2. `heura_write` `do=import_demos` and `do=add_eval` to add examples and tests.
3. `heura_write` `do=ask` to check answers, and `do=fix` to correct them.
4. `heura_write` `do=train` to start a run.
5. `heura_read` `what=changes` `since=<cursor>` to follow the run without reading everything again.
6. `heura_read` `what=results` to see what the run fixed and broke, and `heura_release` `do=promote` if the owner wants a held-back version live.

## Get started

- [Connect an agent](https://docs.heurastudios.com/agents/connect/): Make a key and add Heura Studios to Claude Code.
- [Keys and permissions](https://docs.heurastudios.com/agents/keys/): How keys work, what they reach, how to revoke them.
- [Tools reference](https://docs.heurastudios.com/agents/tools/): Every action of the four tools, with its fields.
- [HTTP interface](https://docs.heurastudios.com/agents/http/): The same tools over plain HTTP, plus uploads.
