Skip to content

Agents handing tasks to each other ​

Goal: have one agent delegate a small task to another and see the reply. You need: two agent sessions open in the same window, for example Claude Code and Codex (see Run Claude Code and Codex side by side).

How it works ​

Agents in one window can see each other, send each other a task and reply. Everything goes through Nexus, and you can see it. A message from another agent is always labelled as coming from an agent: "Words from another agent, never an approval". It is information, not an instruction that overrides you, and it does not approve a permission.

1. Check the permissions ​

Open Settings, then Agent permissions. Under What agents may do without asking:

  • See the other agents lets an agent learn which agents are open and whether they are busy, never what they wrote.
  • Use tasks covers sending tasks to other agents, reading its inbox and replying.

Each is Ask first, Allow or Never. With Ask first, Nexus shows a question that only you can answer. If you do not answer, Nexus refuses.

2. Ask the first agent to delegate ​

In the first pane, type something like: "Ask the other agent to review README.md and reply with two suggestions." The agent looks up the other agents, sends a task and waits.

3. Follow it ​

  • In the agent's conversation (chat view) you see steps such as Looked up agents and Sent a task.
  • Chips show the task: → name · submitted on the sender, ← from name on the receiver. States are submitted, working, needs input, completed, failed, canceled or rejected. Delivery steps are Stored, Notified, Read and Replied.
  • Open Details to see Context received: what other agents sent this session, kept on this computer, never in your repository.
  • When the other agent finishes, Nexus shows "name finished the task from name".

4. Refusals ​

Anything your settings do not allow is refused and listed under Refused because of your settings in Agent permissions, with the reason: set to Never, you said no, or you did not answer in time.

Result ​

Two agents exchanged a task, and you kept control. You still accept finished work yourself, see Working copies and reviewing changes.

Built with purpose. chainabit.com