Start work from another agent
Another agent can start work in Octant and follow it, on the computer running Octant or on another computer on your own network. Tell your bot "open an agent in this repo in Octant and fix the failing test", and it opens a Code thread in that repository's Project, sends the task, and reads the reply back.
The thread is an ordinary Octant thread. You see it in Octant like any other, answer its approvals there, and can continue it yourself.
Add Octant to an MCP client
octant agent mcp is a stdio MCP server. Add it to your bot's or coding CLI's MCP settings as the command octant agent mcp. A client that reads a JSON file of servers takes:
{
"mcpServers": {
"octant": { "command": "octant", "args": ["agent", "mcp"] }
}
}The client must run on the same computer as Octant, as the same user. If Octant is not running, the first call starts it, the way octant agent does.
What the other agent can do
| Tool | What it does |
|---|---|
start_work | Opens an agent with a task. Pass folder, an absolute path, to work in a repository or folder: the Project that holds it decides between a Code and a Work thread. Without a folder or Project it is a Chat thread. Replies as soon as the turn starts, or with the reply when wait is true. |
send_message | Sends the next prompt to a thread. |
read_thread | Shows whether a thread is running, waiting for an answer, waiting on you, or idle, with its newest reply, its open questions, and what waits on you. |
answer_question | Answers a question the thread's agent asked. |
stop_turn | Stops the turn a thread is running. |
list_projects | Lists your Projects with their type and folder. |
add_project | Adds a folder as a Project. |
list_threads | Lists threads, newest first, for one Project or all of them. |
list_waiting | Lists everything waiting on you across Octant. |
start_work also takes mode (auto, chat, work, code), model, title, access (ask-first, accept-edits, auto, plan), and timeoutSeconds for wait.
What stays with you
The other agent acts for you, but it is not you, so three things stay yours:
- Approvals. It never answers an approval or a decision.
read_threadandlist_waitingshow them as waiting on you, and you answer them in Octant. It can answer an agent's questions. - Full access. It cannot start a thread at Full access. A thread starts at Full access only in a Project where you turned it on. See Full access.
- New Projects. It adds a folder as a Project only when the call says you asked to work there. Otherwise
start_workstops and says how to add it.
Everything else follows the thread's own access level and approvals, as it would if you had started the thread yourself.
From a script
Scripts can use the command line instead:
octant agent --prompt "Fix the failing test" --detach --json
octant agent status <thread-id>--detach starts a Work or Code turn and returns once it has started. octant agent status shows where the thread got to and what waits on you. See Command line: agent.
From another computer
An agent on another computer on your own network (your LAN or your tailnet) reaches Octant through an agent grant you make. The grant names what it may do, and you can revoke it at any time.
On the computer running Octant, turn on remote access, then make a grant for the agent in Settings › Remote access › Agent access (New agent grant…), or from a terminal:
shoctant agent-access create "Home bot" --project repoOctant shows a connection code that works once, for five minutes.
On the agent's computer, with the
octantcommand installed, join with that code:shoctant agent-access join octant-agent-1.… --out ~/octant-agent.jsonThis makes a key on that computer and writes a connection file only you can read. It prints the command to confirm the key.
Back on the computer running Octant, confirm the key by its fingerprint: Confirm key under the grant in Settings, or
shoctant agent-access confirm <grant> <fingerprint>Add Octant to the agent's MCP client as
octant agent mcp --connection ~/octant-agent.json. Every request it sends is signed with that computer's key and checked against the listener's certificate.
An MCP client that can only reach a web address can use a direct key instead: add --direct when you make the grant, and Octant shows the key once with its address. It needs the listener's Tailscale certificate, because such clients do not accept a self-made one. Anyone holding a direct key can use the grant until you rotate it (octant agent-access rotate-key) or revoke the grant, so prefer the connection file.
An MCP client on the same computer under a grant
An MCP client on the computer running Octant, such as an editor's assistant, can also work under an agent grant instead of the plain octant agent mcp. Remote access must be on, because the connection code and the host's identity come from the private listener; with it off, every agent request is refused.
- Make the grant and join with its code as in steps 1 to 3 above, all on this computer, and confirm the key.
- Add Octant to the client as
octant agent mcp --connection ~/octant-agent.json --local.
With --local the same signed requests go to Octant on this computer instead of the listener's address. Being on the same computer adds nothing: the client is held to the grant's Projects, modes, level and limits, sees only the tools the grant allows, its messages are outside content, and its approvals wait for you. It never reads the local secret the plain octant agent mcp uses, and the grant's last use in Settings reads "on this computer".
What a grant allows
| Choice | What it does | Default |
|---|---|---|
--project | The Projects the agent may work in. It never adds a Project. | Required for Work and Code |
--mode | Chat, Work, Code. | The Projects' types |
--access | The highest level its threads start at: ask-first, accept-edits, auto, or plan. Never Full access. | ask-first |
--threads | own: only threads it started. project: every thread in its Projects. | own |
--allow-answers | Lets it answer its threads' questions. | Off |
--models | The models it may use. | Any |
--turns-per-day, --running-turns, --requests-per-minute | Spend limits. | 50, 2, 60 |
--days | When the grant ends; at most 90. A grant unused for 30 days ends too. | 30 |
Everything a grant's agent sends is treated as outside content, so its threads get the same care as a thread that read a web page. Its approvals wait for you in Octant like any other.
Settings › Remote access › Agent access lists your grants, their keys, when each was last used, and what it started, as do octant agent-access list and show. Revoke… (or octant agent-access revoke <grant>) ends a grant at once; tick Also stop its running turns (or add --stop-turns) to stop the turns its threads are running. A browser you paired yourself at Full shows the same Agent access section in its Host settings, where you can make, change and revoke grants, connection codes and keys; each change is recorded as that browser. Any other paired browser, a Read only one included, shows Agent access with the list and Revoke… only. A Read only browser cannot tick Also stop its running turns: stopping turns acts on threads, which Read only never does.
A thread an agent started says Started by and the agent's name on its sidebar row and in its header, and what it waits on in Needs you and on your phone is named after the agent. Every message an agent sent, in its own threads or in one of yours it was allowed to continue, says Sent by and the agent's name under it, so you can tell its messages from yours.
Limits
- Reach stays on your own network. A bot hosted on someone else's servers on the public internet cannot reach Octant.
- A grant is made or changed on the computer running Octant, or from a browser you paired yourself at Full. Any other paired device can see grants and revoke one; at Read only it cannot also stop running turns.
- An agent cannot drive a thread on a Google Antigravity provider on its personal Google sign-in, which Google supports only for turns you send yourself; one signed in with a Gemini API key or Agent Platform can be driven. See Google Antigravity.
--detachdoes not start Chat turns, because a Chat turn answers only when it ends. The MCP server'sstart_workdoes.