# 1Code — Multi-Agent Desktop for Claude + Codex > 1Code is an open-source coding agent client with worktree isolation, diff previews, model/provider BYOK, and MCP/plugin management (5,522★). ## Install Copy the content below into your project: ## Quick Use ```bash bun install bun run claude:download bun run codex:download bun run dev ``` ## Intro 1Code is an open-source coding agent client with worktree isolation, diff previews, model/provider BYOK, and MCP/plugin management (5,522★). **Best for:** People running Claude Code + Codex together and wanting worktree isolation plus reviewable diffs before merges **Works with:** Bun builds, downloaded agent binaries, and git repos where isolated worktrees reduce risk **Setup time:** 15-30 minutes ## Main - **Worktree isolation**: each session can run in its own git worktree so agent edits do not pollute main. - **Reviewable UX**: highlights live diff previews and a built-in git client so humans can inspect changes. - **Multi-agent support**: positions itself as a single client for multiple agent CLIs/providers. - **MCP + plugins**: calls out MCP/server management and plugin marketplace as first-class features. ### FAQ - **Why are download steps required?**: The README says agent binaries must be downloaded (`claude:download` / `codex:download`). - **Can I avoid the subscription?**: Yes. The README documents building from source as a free option. - **What should I verify first?**: Confirm worktree isolation and diff previews work on a small repo before large migrations. ## Source & Thanks > Source: https://github.com/21st-dev/1code > License: Apache-2.0 > GitHub stars: 5522 · forks: 595 --- ## Quick Use ```bash bun install bun run claude:download bun run codex:download bun run dev ``` ## Intro 1Code 是开源 coding agent 客户端:支持 worktree 隔离、diff 预览、BYOK 模型/提供方切换,以及 MCP/插件管理,适合多 agent 并行(5,522★)。 **Best for:** 同时使用 Claude Code + Codex,想要 worktree 隔离并在合并前可审阅 diff 的开发者 **Works with:** Bun 构建流程、下载的 agent 二进制,以及用 worktree 隔离降低风险的 git 仓库 **Setup time:** 15-30 minutes ## Main - **worktree 隔离**:每个会话在独立 worktree 运行,避免 agent 修改污染主分支。 - **可审阅体验**:强调 diff 预览与内置 git 客户端,让人类能先看再合。 - **多 agent 支持**:把多个 agent CLI/提供方放进一个客户端,便于切换与并行。 - **MCP/插件一等公民**:README 明确提到 MCP server 管理与插件市场能力。 ### FAQ - **为什么要下载二进制?**:README 说明需要先下载 agent binaries(`claude:download`/`codex:download`)才能正常工作。 - **不订阅也能用吗?**:可以。README 给出免费从源码构建路径。 - **第一步验证什么?**:先在小仓库验证 worktree 隔离与 diff 预览,再用于大型改动。 ## Source & Thanks > Source: https://github.com/21st-dev/1code > License: Apache-2.0 > GitHub stars: 5522 · forks: 595 --- Source: https://tokrepo.com/en/workflows/1code-multi-agent-desktop-for-claude-codex Author: Agent Toolkit