Skip to content

21st-dev/1code

Repository files navigation

1Code

1Code.dev

Best UI for Claude Code with local and remote agent execution.

By 21st.dev team

Note: Currently tested on macOS and Linux. Windows support is experimental and may have issues.

Features

Run Claude agents the right way

Run agents locally, in worktrees, in background — without touching main branch.

Worktree Demo

  • Git Worktree Isolation - Each chat session runs in its own isolated worktree
  • Background Execution - Run agents in background while you continue working
  • Local-first - All code stays on your machine, no cloud sync required
  • Branch Safety - Never accidentally commit to main branch

UI that finally respects your code

Cursor-like UI for Claude Code with diff previews, built-in git client, and the ability to see changes before they land.

Cursor UI Demo

  • Diff Previews - See exactly what changes Claude is making in real-time
  • Built-in Git Client - Stage, commit, and manage branches without leaving the app
  • Change Tracking - Visual diffs and PR management
  • Real-time Tool Execution - See bash commands, file edits, and web searches as they happen

Plan mode that actually helps you think

Claude asks clarifying questions, builds structured plans, and shows clean markdown preview — all before execution.

Plan Mode Demo

  • Clarifying Questions - Claude asks what it needs to know before starting
  • Structured Plans - See step-by-step breakdown of what will happen
  • Clean Markdown Preview - Review plans in readable format
  • Review Before Execution - Approve or modify the plan before Claude acts

More Features

  • Plan & Agent Modes - Read-only analysis or full code execution permissions
  • Project Management - Link local folders with automatic Git remote detection
  • Integrated Terminal - Full terminal access within the app

Installation

Option 1: Build from source (free)

# Prerequisites: Bun, Python, Xcode Command Line Tools (macOS)
bun install
bun run claude:download  # Download Claude binary (required!)
bun run build
bun run package:mac  # or package:win, package:linux

Important: The claude:download step downloads the Claude CLI binary which is required for the agent chat to work. If you skip this step, the app will build but agent functionality won't work.

Option 2: Subscribe to 1code.dev (recommended)

Get pre-built releases + background agents support by subscribing at 1code.dev.

Your subscription helps us maintain and improve 1Code.

Development

bun install
bun run claude:download  # First time only
bun run dev

Feedback & Community

Join our Discord for support and discussions.

License

Apache License 2.0 - see LICENSE for details.

About

Better UI app for running code agents in parallel (ClaudeCode, OpenCode, Codex)

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages