Terragon: Background Agent Fleet
· 2 min read
Source: GitHub (OSS) Author: Sawyer Hood (@sawyerhood) License: Apache-2.0 Status: Open-sourced Jan 2026 following service shutdown
What It Is
Remote background agent orchestrator. Turns Claude Code (and Codex, Amp, Gemini) into a fleet of cloud-based background agents. Fire-and-forget: assign a task, close your laptop, come back to a finished PR.
Workflow
- Create task via web dashboard,
terryCLI, GitHub comments, mobile app, or Slack - Terragon spawns cloud agent -- fresh isolated container, clones repo, creates branch
- Agent executes autonomously -- writes code, runs tests, iterates. Work checkpointed to GitHub with AI-generated commits
- PR created automatically when agent finishes
- Review & merge through dashboard, CLI, or GitHub
Architecture
| Component | Detail |
|---|---|
| Stack | Turbo monorepo, TypeScript (95.7%) |
| Sandbox | Isolated container per agent, own repo copy |
| Git | Auto branch, checkpointing, AI commits, auto PR |
| Agents | Claude Code, Codex, Amp, Gemini |
| Auth | BYOK |
| Triggers | Scheduled, event-driven (GitHub issues, PRs, Slack) |
Recommended Task Types
| Task Type | Why It Works |
|---|---|
| Exploration tasks | Prototype approaches before committing |
| One-shot cleanup | Feature flag removal, bug fixes, test coverage |
| Boilerplate-heavy | Following established patterns (CRUD endpoints) |
| Context-intensive debugging | Lots of code reading, straightforward fix |
Key Insight
Rather than course-correcting a struggling agent, it is more effective to "abandon the task and try again with different instructions."
Peak usage: ~30 concurrent tasks daily.
Key Differentiator
Async/background-first: agents work while you sleep. Unlike Superconductor's parallel-compare, Terragon emphasizes autonomous execution and PR delivery without keeping a terminal open.