Multi-agent and long-running systems
Orchestrators and subagents, long-running and durable agents, computer use, coordination and cost.
10 skills · 4 stages each
Skills
- Orchestrating a lead agent and worker agentsFor engineersStart hereA lead agent that splits a goal into subtasks, briefs worker agents, and merges and checks what they returnneeds: Tool (function) calling110 questions
- When multi-agent systems help and when they hurtFor engineersTelling breadth-first work that parallel agents speed up from tightly coupled work that one agent does betterneeds: Orchestrating a lead agent and worker agents110 questions
- Running agents over hours and many sessionsFor engineersHarnesses, progress files, checkpoints and context resets that keep an agent on track across hours of workneeds: What makes an agent110 questions
- Durable execution for agent jobsFor engineersQueues, safe retries, persisted state and long waits so agent jobs survive crashes, deploys and slow humansneeds: What makes an agent110 questions
- Computer-use and browser agentsFor engineersAgents that read screens and click and type: how they work, where they fail, and how to run them safelyneeds: What makes an agent110 questions
- Coordinating agents through shared stateFor engineersHandoffs, shared task files, file ownership and message contracts that stop agents from losing or overwriting workneeds: Orchestrating a lead agent and worker agents110 questions
- Budgeting multi-agent token costFor engineersWhy multi-agent runs multiply tokens, how to cap and attribute spend, and when a design costs more than it earnsneeds: Orchestrating a lead agent and worker agents110 questions
- How multi-agent systems failFor engineersThe failure patterns specific to teams of agents: bad role specs, lost information, cascading errors, weak verification and runaway delegationneeds: Orchestrating a lead agent and worker agents110 questions
- Securing trust boundaries between agentsFor engineersStopping injected instructions and borrowed privileges from crossing between agents, and trusting external agents only as far as neededneeds: Orchestrating a lead agent and worker agents110 questions
- Tracing and debugging multi-agent runsFor engineersTraces that follow work across agents, finding the agent that really caused a failure, and replaying runs without leaking dataneeds: Orchestrating a lead agent and worker agents110 questions
Scenarios using this domain
Where to study
- Temporal documentation (opens in a new tab)DocsFree
Workflows, activities, signals and timers, with the replay model explained from the source.
- Persistence (LangGraph docs) (opens in a new tab)DocsFree
How checkpointers save graph state after each step so a run can resume or wait.
- Restate documentation (opens in a new tab)DocsFree
A durable execution engine that journals each step; useful for comparing replay designs.
- DBOS documentation (opens in a new tab)DocsFree
Durable workflows stored in Postgres as a library, with no separate server to run.
- BullMQ documentation (opens in a new tab)DocsFree
A Redis-backed job queue with concurrency, retries, backoff and failed-job handling.
- Idempotent requests (Stripe API reference) (opens in a new tab)DocsFree
The standard example of an idempotency key: same key, same result, safe to retry.
- Dead-letter queues (Amazon SQS docs) (opens in a new tab)DocsFree
How a max-receive count moves a repeatedly failing message to a dead-letter queue.
- What is AWS Step Functions? (opens in a new tab)DocsFree
The managed cloud option: state machines with retries, waits and task tokens.
- Don't build multi-agents (Cognition) (opens in a new tab)ArticleFree
Two principles, share full context and remember that actions carry implicit decisions, with a failed parallel build as the example.
- When to use multi-agent systems (and when not to) (Claude) (opens in a new tab)ArticleFree
A vendor checklist for when a team of agents earns its cost and when one agent is enough.
- Building effective agents (Anthropic) (opens in a new tab)ArticleFree
Workflows versus agents, and the advice to find the simplest solution first and add complexity only when it pays.
- How we built our multi-agent research system (Anthropic) (opens in a new tab)ArticleFree
A real parallel research system with its token costs, its eval results and where it works poorly.