← all repositories
21st-dev/1code

One Client to Wrangle Claude, Codex, and Your Git Anxiety

1Code gives Claude Code and Codex a shared desktop home where every agent session lives in an isolated git worktree and background sandboxes keep running while your laptop sleeps.

5.6k stars TypeScript Coding AssistantsAgents
1code
Not currently ranked — collecting fresh signals.
star history

What it does

1Code is an open-source desktop app that fronts coding agents like Claude Code and Codex in a single interface. It gives you a Cursor-like editor with diff previews, a built-in git client, and an integrated terminal, and it lets you bring your own API keys to switch models or providers. Agents can run locally on your machine or inside cloud sandboxes that keep working—and can open PRs—while you are away.

The interesting bit

The standout idea is git worktree isolation: every chat session spins up in its own worktree, so the agent experiments on a disposable branch instead of your main line. That same branching logic extends to background agents and automations triggered by GitHub, Linear, or Slack mentions, effectively treating agent tasks as ephemeral feature branches.

Key highlights

  • Multi-agent support: Claude Code and Codex in one app, with a model selector for switching providers.
  • Git worktree isolation: each chat runs in its own branch, preventing accidental commits to main.
  • Background agents: cloud sandboxes with live browser previews that run when your local machine is off.
  • Built-in git client: visual staging, diffs, rollback from any message bubble, and direct PR creation.
  • MCP server management and a plugin marketplace, configurable from the UI without editing config files.

Caveats

  • Background agents and automations require a paid subscription, so the fully unattended experience is not free.
  • It is a client, not a standalone agent: Claude Code and Codex binaries are separate dependencies, so the app orchestrates rather than replaces them.
  • Several features, including the programmatic API and cloud sandboxes, are tied to the hosted 1code.dev service.

Verdict

Worth a look if you are already using Claude Code or Codex and want a safer, visual way to manage multiple agent sessions. Skip it if you want a fully free, end-to-end self-hosted background agent solution, since the cloud bells and whistles are tied to a subscription.

Frequently asked

What is 21st-dev/1code?
1Code gives Claude Code and Codex a shared desktop home where every agent session lives in an isolated git worktree and background sandboxes keep running while your laptop sleeps.
Is 1code open source?
Yes — 21st-dev/1code is open source, released under the Apache-2.0 license.
What language is 1code written in?
21st-dev/1code is primarily written in TypeScript.
How popular is 1code?
21st-dev/1code has 5.6k stars on GitHub.
Where can I find 1code?
21st-dev/1code is on GitHub at https://github.com/21st-dev/1code.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.