1Code: The Open-Source Orchestration Layer for AI Coding Agents
When you start running Claude Code in production, you eventually hit a wall: terminal hell.
Three or four agents working simultaneously? Each in its own terminal. Diffs scattered across multiple windows. Git branches merging dangerously. Laptop closes, work stops. No visibility into which agent is doing what.
1Code is the solution. Built by 21st.dev (YC W26), it's a free, open-source orchestration client that manages Claude Code and OpenAI Codex through a single GUI, with Git worktree isolation to prevent conflicts, cloud-based background execution, and GitHub/Linear/Slack automation triggers.
The Problem: Why Agents Need Orchestration
The creator of 1Code, Serafim Korablev, experienced this firsthand:
"After using Claude Code for 4 months, when Opus 4.5 dropped, I could delegate more work to the agent. Running 3-4 agents in parallel, the CLI became painful."
Specifically, the pain points are:
- No Visibility: Which agent is modifying which file? What's the current status?
- Merge Conflicts: Multiple agents modifying the same codebase risks collisions
- Local Execution Only: Close your laptop, and all agents stop
- Manual Terminal Management: Switching between terminals, tracking diffs manually
Each of these problems compounds when you're trying to scale agent-assisted development across a team or complex project.
What is 1Code?
1Code is not an AI model. It's an agent orchestration client—a GUI wrapper and management layer for existing CLI agents like Claude Code and OpenAI Codex.
Analogy: If Claude Code is a chef, 1Code is the kitchen manager coordinating multiple chefs, ensuring they don't step on each other's toes, and making sure the kitchen runs 24/7.
Architecture
┌─────────────────────────────────────────┐
│ 1Code Desktop App (Electron) │
│ │
│ ┌─────────────┐ ┌─────────────────┐ │
│ │ Claude Code │ │ OpenAI Codex │ │
│ │ Instance │ │ Instance │ │
│ └─────────────┘ └─────────────────┘ │
│ │
│ ┌─────────────────────────────────┐ │
│ │ Orchestration Layer │ │
│ │ ├─ Worktree Manager │ │
│ │ ├─ Cloud Sandbox Executor │ │
│ │ ├─ Automation Triggers │ │
│ │ └─ Git & PR Management │ │
│ └─────────────────────────────────┘ │
└─────────────────────────────────────────┘
↓
Your GitHub/Linear/Slack
Core Features Explained
1. Multi-Agent GUI (No More Terminal Hell)
1Code presents Claude Code and Codex side-by-side in one interface. Switch between agents, view diffs in real-time, and execute tool calls directly from the app. Each agent has its own chat history and context window.
Benefit: You can manage 3+ agents without opening multiple terminals.
2. Git Worktree Isolation (The Killer Feature)
This is the technical heart of 1Code. Each chat session runs in a separate Git worktree:
# Before (Terminal Hell):
$ claude code task1 &
$ claude code task2 &
$ claude code task3 &
# → All three compete for the same branch, conflicts incoming
# After (1Code with Worktrees):
main branch (always safe)
├── worktree-agent-1 (Agent 1 works here)
├── worktree-agent-2 (Agent 2 works here)
└── worktree-agent-3 (Agent 3 works here)
# → Zero conflicts, completely isolated
Why this matters: You can run 5 agents simultaneously on the same codebase without worrying about merge conflicts or accidental overwriting.
3. Background Agent Execution
Unlike Claude Code CLI (which stops when your terminal closes), 1Code agents run in cloud sandboxes 24/7. You can monitor progress via web app or mobile PWA.
Typical workflow:
5:00 PM: "Agent, refactor the auth module. I'm heading out."
(Close laptop, shut down)
11:00 PM: Agent is still working in the cloud
(Refactoring, writing tests, pushing commits)
9:00 AM: "Morning! Refactoring complete. Ready for review."
(You review in 10 minutes, merge)
4. Automation Triggers
Agents respond to external events without manual intervention:
- GitHub PR: Comment
@1code review this→ Auto code review - Linear: Create ticket → Auto-assigned to agent
- Slack: Post
/1code write docs→ Agent starts working - CI Pipeline: Test fails → Agent auto-generates fix PR
5. Additional Capabilities
| Feature | Use Case |
| Kanban Board | Visual task management and agent workload |
| Built-in Git | Stage, diff, create PRs, push—all in-app |
| Chat Forking | Branch conversations mid-task into subtasks |
| MCP Support | Manage MCP servers and use plugins |
| REST API | Programmatically control agents and PRs |
| Voice Input | Dictate prompts hands-free |
| Plan Mode | Structured planning with markdown preview |
Why 1Code, Not Other Tools?
vs. Claude Code CLI
| Aspect | Claude Code CLI | 1Code |
| Interface | Terminal only | Cursor-like GUI |
| Multi-agent | No | Yes |
| Isolation | Optional | Built-in worktrees |
| Background run | No | Cloud sandboxed |
| Cost | $20-200/mo (API only) | Free or $20/mo (Pro) |
Verdict: 1Code is Claude Code + a professional orchestration layer.
vs. Cursor
| Aspect | Cursor | 1Code |
| Form | Full IDE | Client layer |
| AI | Built-in | Wraps existing agents |
| Multi-agent | Limited | Full support |
| Isolation | None | Git worktrees |
| Background | No | Cloud |
Verdict: Cursor replaces your IDE; 1Code enhances existing agents.
vs. Codex CLI
| Aspect | Codex CLI | 1Code |
| GUI | No | Yes |
| Multiple models | GPT only | Claude + GPT |
| Isolation | Sandboxed | Worktrees |
| Automation | No | GitHub/Linear/Slack |
Verdict: 1Code is the comprehensive multi-agent orchestrator.
Installation & Setup
Option 1: Build Locally (Free)
# Clone repository
git clone https://github.com/21st-dev/1code.git
cd 1code
# Install dependencies
bun install
# Download agent binaries
bun run claude:download
bun run codex:download
# Build and package
bun run build
bun run package:mac # macOS
# or package:win, package:linux
# Result: Fully functional desktop app, zero cost
Option 2: Download Prebuilt App
Visit 1code.dev, create account, subscribe to Pro ($20/month), download and run.
Both paths lead to the same feature set. Open source version has no limitations except cloud background execution.
Pricing Model
| Plan | Cost | Includes |
| Open Source | $0 | Desktop app, full source, community support |
| Pro | $20/month | Cloud background agents, web/mobile PWA, live preview, priority support |
Analysis: Claude Code Max costs $100-200/month. 1Code's orchestration client at $20/month adds significant value with minimal cost.
Recommendation: Start with free open-source version. Upgrade only if you need 24/7 agent execution or mobile access.
Technical Stack
Built with modern, proven technologies:
Framework & UI:
├── Electron 39.4.0 (cross-platform desktop)
├── React 19 (component framework)
├── Tailwind CSS (styling)
└── TypeScript (type safety)
State Management:
├── Jotai (UI state)
├── Zustand (tab/session state)
└── React Query (server state)
Backend & Communication:
├── tRPC (type-safe RPC)
├── Drizzle ORM (database abstraction)
└── SQLite (local persistence)
Terminal & System:
├── node-pty (pseudo-terminal emulation)
└── Bun (package manager & bundler)
License: Apache-2.0 (permissive open source)
The tech choices emphasize speed (Bun, Vite), type safety (TypeScript, tRPC), and production-readiness (Drizzle ORM, React Query).
21st.dev: The Team Behind 1Code
Company: 21st.dev (YC W26, Series Seed) Size: 3-person team Location: San Francisco CEO: Serafim Korablev (ex-Via, $1.5B GTV; switched to AI full-time in 2023)
Track Record:
- 9 products shipped in 10 months
- 1M+ cumulative users
- $200K revenue (early stage)
- Customers: Vercel, monday.com, Linux Foundation
Product Ecosystem:
- UI Component Marketplace: 1.4M developers, 200K monthly active (shadcn-based)
- Magic MCP Server: Auto-generate UI components in AI IDEs
- 1Code: Agent orchestration ← (focus of this article)
- 21st Agents SDK: Embed agents in SaaS products
The company's velocity and focus on developer tooling suggests 1Code will continue improving and remain actively maintained.
Real-World Usage Scenario
Here's what a typical day looks like with 1Code managing multiple agents:
Morning (9:00 AM):
├── Agent A: "Refactor payment module end-to-end"
├── Agent B: "Add request logging to all API endpoints"
└── Agent C: "Write E2E tests for checkout flow"
(All three agents run in parallel, zero conflicts)
Midday (12:00 PM):
├── Check kanban board: A=60%, B=40%, C=70% done
├── Agent A finished, PR created → auto-review by Agent B
└── Meanwhile, Agent D starts new task
Afternoon (4:00 PM):
├── Agent A PR: reviewed & merged ✓
├── Agent B PR: reviewed & merged ✓
├── Agent C: still writing tests (paused for manual verification)
└── Agent D: PR pending human review
Evening (5:30 PM):
├── Human reviews Agent C's tests (2 mins)
│ └── Agent C: "Found issue in edge case, fixing..."
├── Human reviews Agent D's changes (5 mins)
│ └── Agent D: "Addressed feedback, re-pushing..."
└── Go home; agents continue in cloud sandbox
Next Morning (9:00 AM):
├── Agent C & D completed overnight
├── All four PRs merged
└── Plan next batch of work (repeat)
Getting Started
- Evaluate: Visit 1code.dev or GitHub
- Install: Clone & build (free) or download (Pro, $20/mo)
- Configure: Link your Claude API key + GitHub repo
- Start: Create first agent session and assign a task
- Scale: Add more agents as complexity grows
Conclusion
1Code represents a significant leap forward in AI agent orchestration. It solves real problems:
- Terminal hell → Single unified GUI
- Merge conflicts → Git worktree isolation
- Laptop dependency → Cloud background execution
- Manual management → GitHub/Linear/Slack automation
For teams and individuals already using Claude Code extensively, 1Code is a natural and affordable next step. The open-source licensing removes friction to adoption.
If you're managing 3+ agent tasks or need 24/7 execution capability, give it 30 minutes. You might save yourself hours of context-switching and manual orchestration.
Start here:
References
- 1Code GitHub — Source code, releases, documentation
- 1Code Official Website — Download and pricing
- 21st.dev Homepage — Company info and other products
- Y Combinator Profile — Investment and company details
- Product Hunt Launch — #1 Day Rank (493 upvotes)
- Hacker News Discussion — Community feedback and Q&A
Are you using 1Code or similar agent orchestration tools? Share your experience and workflow in the comments below.
Comments
Join the discussionNo comments yet. Be the first to comment.
