Dimension
Agents SDK
Agent Swarm
Abstraction level
Agents SDKA library of primitives — agents, handoffs, guardrails — that you compose in Python or TypeScript code.
Agent SwarmA running system you hand goals to, with the orchestration already built.
Orchestration
Agents SDKYou write the orchestration: an agent loop, agents as tools, and handoffs between agents you define.
Agent SwarmA lead agent breaks goals down and delegates them to specialized workers from a shared task pool.
State and memory
Agents SDKSessions persist a conversation's history across multiple agent runs, with SQLite, Redis, MongoDB, SQLAlchemy, Dapr, or encrypted backends you wire up.
Agent SwarmShared memory compounds across sessions, so the swarm recalls prior decisions, patterns, and failed approaches.
Scheduling
Agents SDKThere is no built-in scheduler; your application triggers every run.
Agent SwarmSchedules, heartbeats, and workflows are built in, so recurring work runs on a cadence.
Worker isolation
Agents SDKAgents run inside your application process; optional sandbox agents add isolated workspaces with shell and file access.
Agent SwarmEvery worker runs in its own Docker container with a private workspace.
Integrations
Agents SDKTools are your own functions, hosted tools, and any MCP server you connect in code.
Agent SwarmWork arrives from Slack, GitHub, GitLab, Linear, Jira, email, WhatsApp, and the API, with MCP servers registered per agent.
Deployment
Agents SDKA pip or npm package that ships inside your application, from a laptop to serverless.
Agent SwarmA self-hosted stack via docker compose or the OCI Helm chart, or managed on Agent Swarm Cloud.
Model choice
Agents SDKOpenAI models by default, with non-OpenAI providers through built-in integration points and beta Any-LLM and LiteLLM adapters.
Agent SwarmYour choice of harness and models: Claude Code, Codex, pi, opencode, Devin, or ACP agents.
Approval boundaries
Agents SDKHuman-in-the-loop tool approvals you implement: mark the tools that need approval, then pause, approve, and resume runs.
Agent SwarmReview gates and human approval requests are built into the task flow.
Operational ownership
Agents SDKYou own the application, its state stores, and its uptime.
Agent SwarmYou own the infrastructure and provider keys; Agent Swarm Cloud is the managed option.