Let a CellCog agent hand work to other agents, step away while they work, and pick up again the moment each one finishes.
A subagent is a helper agent that one of your CellCog agents starts for a piece of work. The agent that starts it is the parent: a regular chat or one of your AI employees. The parent gives the subagent a written brief, starts it, and then rests instead of waiting and checking on it. When the subagent finishes, it tells CellCog, and CellCog wakes the parent so it can read the result and carry on.
One parent can run several subagents at once, for example one per part of a larger coding task.
| Kind | Where it runs | What you need |
|---|---|---|
| CellCog | A new CellCog chat, started by the parent | Nothing. CellCog sets this up for you (see "The Subagents key" below). |
| Claude Code | On your own computer, through Cowork | The CellCog Desktop app connected, and Claude Code installed and signed in on that computer |
| Codex | On your own computer, through Cowork | The CellCog Desktop app connected, and Codex installed and signed in |
| Cursor | On your own computer, through Cowork | The CellCog Desktop app connected, and the Cursor command line agent installed and signed in |
| Other | Anything that can call a web link | Whatever that tool needs |
| Job | A script or program your agent starts, in its own computer or on yours | Nothing for its own computer; the CellCog Desktop app connected for yours |
Claude Code, Codex and Cursor run under your own login with those products and use your own plan with them. CellCog does not run them in the cloud.
SA-7KQ2MX and a wake link.A subagent can crash, run out of room, or hit a limit before it calls its link. If its link runs out unused, CellCog wakes the parent with a note that the subagent never reported, so the work is never silently lost. The parent can also set an expected time: if nothing has been heard by then, it gets an early note, and a late call still wakes it. If the link then runs out with no call, the parent gets the never-reported note as well.
A subagent does not have to be another agent. When your agent starts something long that is not an agent (a build, a video render, a large data pull), it starts it as a job: the script calls the wake link when it ends, whether it worked or failed, and your agent rests until then instead of waiting and checking. Jobs show on the Subagents page beside the other kinds, labelled Job.
We call the app Subagents because that is the familiar name; underneath, each one is a piece of work your agent started and is waiting on, either another agent or a job.
The first time one of your agents runs a command in its workspace, CellCog creates an API key named Subagents for you in that organization, so every agent of yours can use the CellCog SDK. It appears on your API keys page and on the Keys page under Connectors: one key, shown in both places. It can be rotated, not deleted: Rotate on either page swaps in a new key at once, and your agents use the new one from their next command. It does not count toward your limit of active API keys, and it ends when you leave that organization or delete your account. Your agent uses it from its own workspace to start the subagent chat. CellCog keeps an encrypted copy of the key and sets it for the agent's commands there; it is not given to the agent as text, and agents are instructed never to print it. If you already gave your agent your own CellCog API key, that one is used instead.
The CellCog SDK comes preinstalled in every agent's workspace, so a CellCog subagent needs no setup from you at all.
Open Subagents under Apps in the sidebar and click Claude Code, Codex or Cursor in the strip at the top. A panel opens (for example Use Claude Code as a subagent) with four steps and where each one stands:
The commands come from each tool's own install guide (macOS and Linux; each panel links to that guide for Windows and other ways):
curl -fsSL https://claude.ai/install.sh | bash, sign in with claude auth logincurl -fsSL https://chatgpt.com/codex/install.sh | sh, sign in with codex logincurl https://cursor.com/install -fsS | bash, sign in with agent loginCheck now works on Mac, Windows and Linux. It only reads: it checks whether each tool is installed, whether you are signed in, and whether an API key is set in your terminal. Your key never leaves your computer, and the check changes nothing. It checks Claude Code, Codex and Cursor in one go, and the panel shows when and on which computer it last ran. If it says your computer did not answer, open CellCog Desktop and click Check now again. If it asks you to update CellCog Desktop, update the app first.
Step 4 also shows Last usage reading when there is one: how much of the tool's plan limits was in use at that time, exactly as the tool reported it (click Show to see it). Your agents read it before they choose which tool gets a piece of work, so a tool near its limit gets less of it.
What step 3 tells you. Claude Code, Codex and Cursor can run on your plan with that product, or on an API key, which is billed to your API account instead. A key set in your terminal (often in a shell profile such as ~/.zshrc) can quietly take over from your plan, so step 3 says which one a subagent would use:
When you have both, step 3 shows a switch: Use my API key when my plan's limit is reached. It is off at first. Off, a subagent that hits your plan's limit stops, and your agent tells you, waits for the limit to reset, or uses another kind of subagent. On, your agent may start it again on your API key. You can change it any time, separately for Claude Code, Codex and Cursor.
For Claude Code, a key can also sit in Claude Code's own settings file. Step 3 then warns that this key overrides your plan for every run. Remove it from that file if you want subagents on your plan.
If you have not clicked Check now yet, the panel shows the last check one of your agents recorded, if there is one. Your agent also checks before it first starts a subagent of that kind.
Let an agent set it up. Once your computer is connected, this button opens a new chat with Cowork on and a ready request: check the tool, install it if it is missing, help you sign in, and record the check so the panel shows it. Read it and send it; commands on your computer follow your approval level. The check is saved as a short entry such as claude-code-setup-check, cancelled at once so it never waits for a wake, and you will see it in the list.
Your agent gives each subagent its own working copy of your project, so two subagents never edit the same files at once.
Want it the other way round, with Claude Code handing work to CellCog? That is Use CellCog from Claude Code in the Delegate app (MCP / API in the left sidebar); see the MCP Connector Guide.
Open Subagents under Apps in the sidebar. A strip at the top shows whether each kind is ready to use: your computer (the Desktop app), CellCog, Claude Code, Codex and Cursor. Click Claude Code, Codex or Cursor to set it up. Below it, each chat or AI employee that started subagents in your current organization has its own card, newest first. Subagents still working are listed first: name, kind, a short note of where the work is (a branch, a folder, a log file), its status and when it started. Finished ones (reported, never reported or cancelled) fold under Done, which shows the latest five; Show more loads older ones. The search box at the top finds subagents by name across every card. A subagent that is still waiting has a Cancel button; its wake links stop working at once.
| Status | Meaning |
|---|---|
| Waiting | Its latest wake link is live and has not been called yet |
| Reported | It called its latest wake link |
| Never reported | Its latest wake link ran out (or passed its expected time) without a call |
| Cancelled | Stopped by you or by the parent; its links no longer work |
A row shows Take 2 (then 3, and so on) when the agent that started it sent its work back for another try.
While an agent's own run has stopped but its subagents are still working, its row in the left sidebar (an AI employee or a chat) shows a small pulsing Subagents icon, so it never looks idle. Background jobs (a script the agent started and rests on) do not show it; they are listed on the Subagents page and still wake the agent when they end. Hover it to see how many are running; the approval stamp, when there is one, sits to its right. A subagent counts as running only while it is waiting to report: once it reports, is cancelled or is marked never reported, the icon stops counting it.
Whose subagents you see. Your own chats' and AI employees' subagents, plus those of every AI employee you have Team access to or manage (above the owner in the org chart):
Your agent hands work to a subagent when it splits cleanly: a long build or test run it can rest through, a large codebase or set of logs to read, independent pieces that can run at once, or a fresh-eyes review. It keeps the decisions, the design and anything that needs your approval for itself, and does small or step-by-step work directly. It reads and reviews every subagent's work before relying on it. A subagent never gets more access than the agent that started it; anything that needs your approval still comes to you.
While subagents are working, a thin line above the message box of the chat or AI employee that started them shows each one by name with its state (background jobs are not shown there, only on the Subagents page): running (Waiting in the app), reported, never reported or cancelled. Tap a name to see how long it has been running or when it last reported, and what the parent recorded about it. For a CellCog subagent you also see what its chat is doing right now, and Open chat takes you there. Claude Code, Codex and Cursor say nothing until they call back, so they show as running with the time since they started. It updates on its own as subagents report, and goes away once none is running and your agent has reviewed every one that finished.
Each time a subagent wakes the parent, the parent does a normal run, paid from the account that owns the chat or the AI employee. A CellCog subagent is a CellCog chat and uses credits like any chat. Claude Code, Codex and Cursor use your own plan with those products, not CellCog credits. If your balance cannot pay for a run, the note waits in the chat and is picked up the next time you message it.
No. The parent is woken and continues on its own. If a chat parent needed your input, it asks you as usual.
Yes. An AI employee's subagents belong to the employee, so a note reaches it even if it has started fresh since launching them.
Claude Code, Codex and Cursor subagents need your computer on and the Desktop app connected to start, and they keep running only while the computer is awake. If one stops before reporting, the parent gets the "never reported" note.
Cancel it in the Subagents app, or ask the parent to. Cancelling stops the wake links; ask the parent to also stop a tool still running on your computer.