← Back to Step 06: Your first coding agent
<aside> 🎯
Beyond one coding agent at the keyboard
Several agents at once under one parent session, two vendors' agents over one repository, agents that run on a schedule or an event with nobody watching, and the commands that keep a session working without you (/loop, /goal), in Claude Code and Codex.
</aside>
Last reviewed: 8 November 2026 · the sections on several agents and on /loop and /goal checked against vendor pages on that date; other coding-product details updated 24 September 2026
<aside> ⏱️
Estimated time: ~5 minutes to read.
</aside>
<aside> 🧭
Too big for one session? Orchestrating coding agents: one parent, many sessions is how I now get complex projects through: one parent session briefs each child, checks each result, holds the shared resources and is the only one that talks to you, and /loop (Claude Code) or a goal (Codex) keeps it working while you are away. More lands in parallel, and your part shrinks to briefs and a batch of decisions. Twelve rules, a brief template, two starter prompts, and how it maps onto Claude Code and Codex.
</aside>
Both agents can hand parts of a job to subagents that run in parallel and report back, and OpenAI is plain about the price: subagent workflows "consume more tokens than comparable single-agent runs". Claude Code adds background sessions managed from one screen (claude agents, a research preview) and dynamic workflows, opted into with the word ultracode in your own prompt, in which Claude writes a script that orchestrates dozens to hundreds of subagents. Codex has Ultra, which delegates to subagents (a Codex feature, not Claude Code's /code-review ultra), and runs parallel chats in separate Git worktrees so they don't collide. Local Codex uses subagents when you ask for them, or when AGENTS.md or a skill tells it to. Each vendor's agent can also call the other's as a specialist (Codex runs claude -p, Claude Code runs codex exec); for the commands, the permissions, and what it costs, see the "One agent driving the other" section of Running Claude Code and Codex side by side.
Both can read the same AGENTS.md (see Give your agent standing instructions), and one vendor's model can review the other's work, which Test your work before shipping (QA) covers. How I run the two together, from shared skills to plain-Markdown handoff packets that request work but never grant authority, is on Running Claude Code and Codex side by side.
Recurring work can live in a vendor's cloud, a scheduled task on your own machine, the operating system's scheduler, or your repository's CI. Four questions place a job: does it need to run while the machine is asleep, does it need a real secret, is it a plain script with no reasoning in it (then don't pay a model to run it), and is it really repo-scoped CI? Two rules make recurring agents tolerable: silent when green, and never let a routine make a judgment call reserved for the human.
Routines are Claude Code sessions that run on Anthropic's cloud infrastructure rather than your machine, so they keep going with your laptop closed. You configure one once (a prompt, the repos to work on, the connectors to include) and it fires on any combination of three triggers:
Typical jobs: nightly triage of new Linear or GitHub issues into a Slack summary, weekly audits of a repo's docs for drift and stale claims, a risk review of every PR, release notes drafted as a PR from recent commits, and deploy monitors that alert with a triage suggestion.
Where to create them (one cloud account, so a routine made in one place shows up in the others at once):