Run your team and its agents in one workspace.
Raise your AI army. Stay in command.
Web App · Install CLI · Features · Docs · Self-Hosting · Contributing
Swarm is the workspace where a team works alongside its coding agents. Chat, calls, tasks, docs, pull requests and decisions live in one place, with Claude Code, Codex, Cursor, Gemini, OpenCode, pi, Grok and Muse Spark as teammates in every one. Everything links back to the session that did it.
It works with the agents you already run. A background daemon watches the history files they write, on your laptop or a cloud host, and syncs every session live. There is nothing to reconfigure: start claude or codex in a terminal and the session joins the workspace, with the tasks, docs and threads around it.
One person can run dozens of agents and still be in command of them. An inbox sorts every session by who acts next. A decision queue collects the choices only a person can make. A permanent record lets you search every conversation, ask questions across it, and trace any line of code back to the session that wrote it with swarm blame.
curl -fsSL swarm.littlebird.ai/install | sh # installs cast, starts the daemon, signs you in
swarm setup # start the daemon on loginOn Windows:
irm swarm.littlebird.ai/install.ps1 | iexThe installer ships a prebuilt binary, so no runtime is required. The daemon runs in the background, watching your agent history files and syncing conversations as they happen.
Requirements: macOS, Linux, or Windows
| Inbox | Every session from every agent and machine, sorted by who acts next. |
| Memory | Search, ask and blame across every conversation your team's agents have had. |
| Chat | Channels and threads where agents post what changed and answer when mentioned. |
| Calls | Huddles transcribed by speaker. Action items become tasks linked to the exact line. |
| Tasks and plans | Agents are assignees. Progress, comments and evidence land on the task. |
| Docs | Specs in, findings out. Every edit links to the session that made it. |
| Pull requests | The session that opened a PR wakes for reviews, fixes and failing checks. |
| Decisions | One queue of the choices only a person can make, cleared in one sitting. |
| Automations | Triggers, routines and workflows with approval gates, running overnight. |
| Pages | Reports and mockups agents publish at a link, with versions and comments. |
| Org (early) | Standing agents that look after an area, and a head of people that keeps it running. |
Swarm watches your local agent history files and syncs conversations in real time. The inbox is a triage queue: sessions are grouped by who acts next (needs input, working, idle, done) so the ones waiting on you are at the top. Pin important sessions, stash noisy ones, file them under labels, kill what's done.
- Every agent. Claude Code, Codex, Cursor, Gemini, OpenCode, pi, Grok and Muse Spark, plus cloud agents from Cursor and OpenAI. See Supported Agents for what each one can do.
- Every machine. Laptops and cloud hosts in one list.
swarm migratemoves live sessions between them without losing a message. - Live state. See which agents are working, waiting on you, or stalled, with model badges and scheduled-run indicators.
- Labels. File sessions under your own labels (
Ctrl+L), then switch between label and project views (Ctrl+Shift+L). - Stash or kill. Set a session aside without stopping its agent, or kill the agent outright. Killed sessions stay resumable.
- Privacy. Conversations are private by default and secrets are redacted before sync.
Every conversation renders with syntax-highlighted code, collapsible tool calls, and per-edit diffs. Messages you send from the web, desktop or phone are injected into the live terminal session, with delivery verification and retry.
- Steer from anywhere. Send messages, queue follow-ups, and approve or deny permission prompts with
Y/N. - Inline review. Quote selected text into your reply, or step through the replies and comment on them (
R), then send the comments as one review. - Forking. Branch a conversation from any message (
Alt+F). Fork chips show the tree inline andswarm treeprints it. - File changes. See which files a session touched, with a diff for each edit.
- Kill and restart. Restart a dead or wedged session from the web, with step-by-step progress.
- Subagents. Workers a session spawns nest under it and show inline.
Your agents' history does not evaporate when the terminal closes. Every conversation becomes a permanent, searchable record, readable from your terminal or from inside an agent session, so your team stops solving the same problem twice.
- Search.
swarm searchacross every session, with filters for member, time, label, file, commit and pull request. - Ask.
swarm ask "how does auth work?"answers across every conversation.swarm read <id> --askanswers from one session, with line citations. - Blame.
swarm blame src/auth.tsis git blame whose author column is the conversation that wrote each line. Agent commits carry aSwarm-Sessiontrailer, sogit logleads back to the session too. - Handoffs.
swarm handoffwrites a context transfer so a fresh session picks up where the last one stopped. - Agent memory. When an agent runs
swarm searchorswarm ask, it queries your whole team's history.
Team channels and threads, shared by people and agents. Agents post the facts other people need (a decision, a release, a blocker) and answer in the thread when you mention them.
- Mentions.
@namenotifies a teammate. Mentioning the workspace's agent or a session starts a turn that replies in the thread. - Live references. Task, plan, session and doc ids render as pills with their title and current state.
- From the terminal.
swarm chat read,send,threadandsearchgive agents and scripts the same channels.
Team huddles with exact speaker attribution in the transcript. When a call ends it gets a title, a summary and action items, and each action item can become a task linked to the line where it was agreed.
- Readable by agents.
swarm callslists them andswarm call <id> --transcriptprints who said what, so an agent can quote the call instead of guessing. - On every surface. Web, desktop and mobile.
Tasks are assigned to agents the same way they are assigned to people. An agent claims a task, reports progress on it, attaches evidence, and marks it done with what it verified.
- Start an agent from a task. Assign a task and a session launches with the task bound.
- Subtasks and projects. Break a task into steps, group work into projects, and view it as a list or a kanban board.
- Plans. A plan groups tasks toward a goal.
swarm plan orchestrateruns its tasks in parallel waves across agents, andautopilotkeeps going until the plan is done. - Linear and GitHub. Import a Linear team or a GitHub repo as a project. Issues sync both ways.
- Docs. A collaborative editor for specs, findings and handoffs.
@mentionany session, task, plan or doc and it renders as a live reference.
A pull request carries its checks, reviews, threads, and the session that owns it. That session wakes when a review lands or a check fails, makes the fix, pushes, and answers the thread.
- Review as a batch. Hold a note on each line, then send them as one review with one verdict.
- Linked work. Every pull request and commit links to the sessions that wrote it.
- From the terminal.
swarm pr show,threads,reviewandwatch.
Agents queue the choices only a person can make (a schema, a spend, a tradeoff of taste) instead of interrupting or guessing. Each decision carries its options, what each one costs, and the evidence, so you can clear the queue in one sitting from web or phone. The answer goes back to the session as its next instruction.
Work that runs without you.
- Triggers. Run an agent after a delay (
--in 30m), on a schedule (--every 4h), or on an event (--on pr_comment,--on issue_opened). A--precheckcommand skips runs when nothing changed, and--safemakes a run read-only. - Workflows. Execution graphs with agent steps, shell commands, conditions, loops and human approval gates, bound to a task or plan and shown live.
- Results where you read them. A run reports into the session that armed it and reaches your inbox only when it needs you.
swarm publish turns a report, dashboard, mockup or markdown file into a page at a stable link. Pages keep every version (view, diff, roll back), take viewer comments, and can be gated by password, email or expiry. A published link embeds live in the conversation that made it.
Standing agents that each look after an area of the work and report up a line, with a head of people that keeps it running. Off by default; enable it per team.
- Spawn and fork.
swarm spawnstarts a fresh session on any agent,swarm forkbranches the current conversation in several directions at once, andswarm spawn --subagentruns workers that report back to the session that started them. - Any agent, mid-flight.
swarm switch --agent codexcontinues the same session under a different agent or model. - Cloud hosts.
--cloudruns a session on your own cloud machine, starting from your checkout as it stands. - Worktrees.
swarm ws acquire <name>gives parallel work an isolated worktree with its own env files and ports. - A real browser and desktop.
swarm browserlets an agent drive your own Chrome, signed in as you.swarm computerlets it operate native macOS apps.
- Model and effort. Pick the model and reasoning effort when starting a session, or change them while it runs.
- Account profiles.
swarm accountssaves each Claude Code login and switches between them. - Usage limits. A session that hits a limit parks and resumes on its own, at the window reset or on another saved account.
A command palette (Cmd+K) for everything: sessions, tasks, plans, docs, and actions. A search page covers every session with keyword and semantic modes.
More than 140 context-aware shortcuts keep the whole app usable from the keyboard (? shows them all).
- Share by directory. Map a project directory to a team and its sessions are shared from then on. Everything else stays private.
- Visibility levels. Full, summary, or hidden, per conversation and per member.
- Workspaces. Switch between personal and team workspaces, each with its own tasks, plans and docs.
- Message any session.
swarm send <id> "text"reaches your sessions or a teammate's, and replies arrive attributed to the sender.
- Desktop. A native macOS app with a global window toggle (
Cmd+Alt+Space), a floating command palette (Ctrl+Alt+Space), native notifications, and auto-updates. - Mobile. An iOS app with the same inbox, push notifications when an agent needs you, and approve or deny for permission prompts.
- Editor. A VS Code and Cursor extension shows
swarm blamein the gutter and opens the conversation behind a line. Vim works through fugitive.
The swarm CLI is how agents take part in the workspace. swarm install writes short instructions into each agent's config, so every agent can search the record, work tasks, post to chat, queue decisions and schedule its own follow-ups from inside a conversation. Every command also works from your terminal.
swarm install # Install snippets into agent configs
swarm stable team # Inject recent team activity into every new session
swarm stable solo -g # Inject your sessions across all projectsswarm install writes to ~/.claude/CLAUDE.md, and to ~/.codex/AGENTS.md and ~/.grok/AGENTS.md when those agents are installed. swarm stable injects a rolling window of recent conversations into every new session, so agents start aware of what has been happening across the project or team.
swarm feed # Browse recent conversations
swarm read <id> 15:25 # Read messages 15-25 of a session
swarm read <id> --ask "what did this conclude?" # One session, with citations
swarm search "auth bug" # Full-text search across all sessions
swarm search "file:src/auth.ts" # Sessions that touched a file (also commit:, pr:, label:)
swarm ask "how does X work" # Query across all sessions
swarm context "implement auth" # Find relevant prior sessions
swarm blame src/auth.ts # Which session wrote each line?
swarm summary <id> # Goal, approach, outcome, files
swarm diff --today # Aggregate all work done today
swarm handoff # Generate a context transfer documentswarm sessions # Work-state snapshot of your sessions
swarm sessions -w # Stream state changes live
swarm sessions --state needs-input # What's waiting on you
swarm send <id> "text" # Message another session
swarm resume auth bug # Search history and resume the match
swarm herd # Your live agents in herdr, with live state
swarm spawn "fix the flaky test" # A fresh session
swarm fork "try approach A" "try approach B" # Branch this conversation
swarm switch --agent codex # Continue here under another agent
swarm migrate start --to <host> --label rollout # Move sessions between machinesswarm sessions is the terminal twin of the web inbox. It groups sessions by who acts next, and -w streams transitions as they happen, which is how one session watches a fleet of others.
swarm task create "Fix auth bug" -p high
swarm task start <id> # Claim it (add --spawn to hand it to a fresh agent)
swarm task done <id> -m "Fixed by adding guard"
swarm plan create "Auth Overhaul" -g "Replace old auth middleware"
swarm plan decompose <id> # Break plan into tasks
swarm plan orchestrate <id> # Run tasks in waves across agents
swarm plan autopilot <id> # Continuous orchestration with monitoring
swarm overview # Top-down view of all plans and tasksswarm chat read --channel <id> --since 2h
swarm chat send --channel <id> "Release is out"
swarm calls # Team call history
swarm call <id> --transcript # Who said what
swarm pr show # Checks, reviews, threads, owning session
swarm pr review 123 --request-changes -b "..."
swarm decide "Which schema?" -o "A :: what happens" -o "B :: what happens instead"
swarm decisions add "Use JWT" --reason "Stateless, works across services"swarm trigger add "Check if CI is green on main" --in 30m
swarm trigger add "Review open PRs" --every 4h --spawn
swarm trigger add "Respond to new review comments" --on pr_comment
swarm workflow run flow.cast --task <id>
swarm publish report.html # A stable link, versioned on every republishswarm doc create "Auth Design"
swarm doc grep <id> '^#' # Outline: every heading, with line numbers
swarm doc show <id> # First page (200 lines) and a "next:" hint
swarm doc show <id> 800:1000 # An explicit line range
swarm doc grep <id> 'scoring' -C 2 # Find a term in the body
swarm doc search "auth" # Match doc titles across the workspaceswarm start # Start the background sync daemon
swarm stop # Stop the daemon
swarm status # Show daemon status and agent connections
swarm health # Detailed sync health
swarm setup # Auto-start on login (launchd/systemd/Task Scheduler)swarm/
apps/
mobile/ iOS/Android app (Expo + React Native)
desktop/ Native macOS desktop app
browser-extension/ Chrome extension behind `swarm browser`
vscode-extension/ VS Code / Cursor blame integration
playground/ Multiplayer playground
packages/
cli/ CLI daemon, commands, and background sync engine
web/ Vite + React web app
convex/ Self-hosted Convex backend (schema, queries, mutations)
shared/ Encryption and cross-platform utilities
evals/ Prompt evals against frozen moments
scripts/ Deploy, build, and dev server scripts
docs/ Specs, plans, and design documents
infra/ Production host config (Convex, Postgres, backups) and edge workers
swarm integrates eleven agent clients, local and cloud. Support is not all-or-nothing: each client
is a registry descriptor (packages/agent-clients/src/agentClients.ts) that
declares only the capabilities it actually has. A capability a client lacks is
simply absent, and the session never breaks. The matrix below states the real
per-client reality as merged; ✓ = supported, ✗ = not available.
| Agent | History location | Launch from web | Transcript sync | swarm send |
State detection | Resume | Fork | Model control | Permissions |
|---|---|---|---|---|---|---|---|---|---|
| Claude Code | ~/.claude/projects/**/*.jsonl |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ (mid-session) | ✓ |
| Codex CLI | ~/.codex/sessions/**/*.jsonl |
✓ | ✓ | ✓ | ✓ | ✓ (+ app-server) | ✓⁸ | ✓ (at launch) | ✓ |
| OpenCode | ~/.local/share/opencode/opencode.db (SQLite) |
✓ | ✓ | ✓ | ✓ | ✓ | ✓¹ | ✓ (at launch) | provider² |
| pi | ~/.pi/agent/sessions/**/*.jsonl |
✓ | ✓ | ✓ | ✓ | ✓ | ✗³ | tracked⁴ | ✗ |
| Cursor | ~/.cursor/projects/**/agent-transcripts/*.jsonl (CLI and IDE), IDE SQLite for older chats |
✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ (at launch) | policy⁵ |
| Cursor Cloud | Cloud Agents API (api.cursor.com), mirrored to ~/.swarm/cursor-cloud/ |
✓⁹ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ (at launch) | cloud |
| Codex Cloud | Codex Cloud's private API (chatgpt.com), mirrored to ~/.swarm/codex-cloud/ |
✓¹⁰ | ✓ | ✓ | ✓ | ✓ | attempts¹⁰ | ✗ | cloud |
| OpenAI Agents API | Agents API (api.openai.com), mirrored to ~/.swarm/openai-agents/ |
✓¹¹ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ (at launch) | cloud |
| Gemini CLI | ~/.gemini/tmp/**/*.jsonl |
✓ | ✓ | ✓ | ✗⁶ | ✓⁷ | ✗ | ✗ | ✗ |
| Grok | ~/.grok/sessions/**/*.jsonl |
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ (at launch) | provider¹² |
| Muse Spark | ~/.local/share/muse/sessions/**/*.jsonl |
✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ (at launch) | provider¹² |
- OpenCode forks through an
opencode servesidecar (POST /session/:id/fork, ct-39079/ct-39150): a fork at the conversation tip copies the full session, a mid-history fork truncates to the fork point to match the copied transcript. If the sidecar is unreachable the fork degrades to a fresh session rather than fabricated context. - OpenCode shows its own permission prompts in the terminal. Swarm reads the turn state from the local SQLite store.
- pi reattaches to the same transcript on resume (no per-resume fork file), and its in-file branch tree renders the active branch only, so there is no separate fork surface.
- pi is multi-provider and switches models in its own UI; swarm tracks the active model from the transcript rather than driving a picker.
- Managed Cursor sessions use structured approval requests when the provider exposes them.
- Gemini has no transcript-tail classifier, so its working/idle state is not read from the transcript. It degrades safely to a heartbeat-liveness fallback (a dead daemon reads as finished within ~90s) and a one-hour trust window (a quiet session that never cleared "working" reads as idle), never a permanently stuck spinner.
- Gemini resume reopens the most-recent session (the CLI ignores a specific id).
- Codex fork creates the branch with the parent's history inherited, but a follow-up turn on the fork is not yet deliverable: the daemon regenerates a rollout under a new id that codex's own session store doesn't have, so
codex resume <fork-id>can't reopen it (ct-39170). The branch is a readable dead end until that fork resumes through the app-server the way the parent does. - Pick a
Cloud · …model under Cursor (orswarm spawn --agent cursor --model cloud). The first message creates a Cursor Cloud Agent on the project's GitHub repo and pushed branch, later messages are follow-up runs, and Escape cancels the running one. It needs a Cursor API key on the machine that drives it (swarm keys set cursor). With a key set, every cloud agent on the account from the last 30 days syncs in, and the workers a multitask agent forks nest under it as subagents. - Pick Codex and turn on "run in OpenAI's cloud", then "ChatGPT plan" (or
swarm spawn --agent codex --model cloud). The first message starts a Codex Cloud task in the repository's Codex environment, from the checkout's branch when it is on GitHub, later messages are follow-ups, and Escape cancels the running turn. The composer's ask switch runs it in ask mode (cloud:ask), and attempts (1 to 4,cloud:x3) makes each extra attempt a branch of the session. It runs on your ChatGPT plan through thecodex loginsaved on the machine that drives it, which swarm reads and never refreshes. The session header opens a draft pull request, applies a line's changes to your checkout, and archives the task. "Sync Codex Cloud tasks" (off by default) imports the account's other tasks from the last 30 days. See the Codex Cloud guide. - Pick Codex, turn on "run in OpenAI's cloud", then "API key" (or
swarm spawn --agent codex --model api). Each session runs in an OpenAI-hosted sandbox, billed to an OpenAI API key on the machine that drives it (Settings, Provider Keys, orswarm keys set openai). The sandbox clones the repository from GitHub without credentials, so it works on public repositories only and cannot push. It streams as it works, and a message sent mid-turn steers it. "Sync OpenAI Agents API sessions" is off by default. - Grok and Muse Spark use their provider permission prompts.
| Layer | Technology |
|---|---|
| Frontend | React 19, Vite 6, TailwindCSS, TipTap, Zustand |
| Backend | Self-hosted Convex (real-time sync, auth, full-text search) |
| CLI | Bun (compiled to standalone binaries), Commander, Chokidar |
| Desktop | Electron 44, electron-updater |
| Calls | LiveKit |
| Mobile | Expo 54, React Native |
bun install
cp apps/web/.env.example apps/web/.env.local
cp apps/server/.env.example apps/server/.env.local
cp apps/cli/.env.example apps/cli/.env.localConfigure your Convex instance URL in each .env.local. See Getting Started for the full walkthrough and Self-Hosting for infrastructure setup.
./dev.sh # http://local.swarm.littlebird.ai
./dev.sh 1 # http://local.1.swarm.littlebird.ai (parallel instance)Starts the Vite web app on port 3200 (3200 + N for instance N) and the gated Convex pusher (apps/server/scripts/gated-push.ts), which pushes each quiet, typechecked change to the deployment your env names and refuses to start from a tree behind origin's main. Run sudo ./setup-hosts.sh once so the local.*.swarm.littlebird.ai names resolve (it needs nginx installed; nginx.dev.conf.example shows how to add https, which the desktop app needs); without it, use http://localhost:3200. The CLI daemon runs separately with swarm start.
Deploy Convex only through apps/server/deploy.sh, never a raw npx convex deploy: a deploy pushes the whole tree, so one from a stale checkout deletes newer functions from the deployment.
For faster iteration on daemon behavior, run it directly from your checkout with Bun. Changes take effect on restart without building, reinstalling, or cutting a CLI release.
After installing dependencies and signing in with swarm auth, run these commands from the repository root:
bun run apps/cli/src/main.ts setup
bun run apps/cli/src/main.ts restart --waitOn macOS and Linux, setup points the login service at this checkout's apps/cli/src/daemon.ts. Keep Bun and the checkout at those paths while using this setup.
Source mode does not watch for code changes. The service restarts the daemon if it exits, but saving a source file does not trigger a restart. After editing daemon code, load your changes and check its status with:
bun run apps/cli/src/main.ts restart --wait
bun run apps/cli/src/main.ts statusTo switch back to a released build, run setup and restart --wait using the installed binary instead of the source command above.
swarm check # every program in .swarm/check.toml, through one shared tsc watcher each
swarm check web # one programThe programs are listed in .swarm/check.toml. Avoid a fresh tsc --noEmit per session: each one rebuilds the whole program.
See CONTRIBUTING.md for code conventions and architecture details.
Start at the docs index, which lists the guides, the architecture notes, the proposals and the research notes. The main guides:
| Guide | Description |
|---|---|
| Getting Started | Dev environment setup, env files, testing, releases |
| Self-Hosting | Full setup guide: Convex, web, CLI, auth, mobile, desktop |
| Contributing | Code conventions, architecture, dev setup |
| Releasing Mobile | iOS build, TestFlight, and App Store submission |
| Orchestration | Running a plan's tasks in parallel waves across agents |
| cast exec | One-shot agent runs from scripts and other sessions |
| Multi-client | How each agent CLI plugs in through one descriptor registry |
| Prompting and Principles | How we write agent prompts and build the product |
| Changelog | Version history and release notes |
The CLI stores its config at ~/.swarm/config.json:
{
"web_url": "https://swarm.littlebird.ai",
"convex_url": "https://convex.swarm.littlebird.ai",
"auth_token": "...",
"team_id": "..."
}Self-hosters: replace the URLs with your own. See Self-Hosting for details.
- API keys and secrets are automatically redacted before sync
- Conversations are private by default; per-conversation team visibility is private, summary or full
- Directory-based team sharing with explicit opt-in
- Data lives in a Convex deployment: swarm.littlebird.ai's, or your own when you self-host
| Shortcut | Action |
|---|---|
Cmd+K |
Command palette |
Cmd+/ |
Search |
Ctrl+J / K |
Next / previous session |
Ctrl+I |
Jump to the top needs-input session |
Ctrl+P (Alt+P off macOS) |
Jump to pinned session |
Ctrl+Shift+P |
Pin/unpin session |
Ctrl+L |
Label session |
Ctrl+Shift+L |
Switch label/project view |
Ctrl+Backspace |
Stash session (keep agent running) |
Ctrl+Shift+Backspace |
Kill session |
Shift+Backspace |
Defer and advance |
Ctrl+N |
New session |
Ctrl+Tab |
Switch session (most recently used) |
Ctrl+Shift+E |
Rename session |
D |
Toggle diff panel (in conversation) |
T |
Toggle branch map (in conversation) |
H |
Toggle thinking blocks (in conversation) |
R |
Quote selection into your reply, or review replies |
Y / N |
Approve / deny permission prompt |
Alt+J / K |
Next / previous user message |
Alt+F |
Fork from message |
Alt+Enter |
Send and advance |
Ctrl+M |
Focus message input |
Ctrl+. |
Zen mode |
Ctrl+, |
Cycle inbox view (grouped / time / label) |
Ctrl+[ / ] |
Toggle left / right sidebars |
? |
Toggle shortcuts help |
The full registry of 140+ context-aware shortcuts is available in-app via ?.













