{"id":37753418,"url":"https://github.com/21st-dev/1code","last_synced_at":"2026-03-02T05:00:59.446Z","repository":{"id":332485138,"uuid":"1133924528","full_name":"21st-dev/1code","owner":"21st-dev","description":"Orchestration layer for coding agents (Claude Code, Codex)","archived":false,"fork":false,"pushed_at":"2026-02-18T20:19:46.000Z","size":16674,"stargazers_count":4972,"open_issues_count":36,"forks_count":511,"subscribers_count":27,"default_branch":"main","last_synced_at":"2026-02-19T01:17:23.817Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://1code.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/21st-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-14T02:12:40.000Z","updated_at":"2026-02-18T23:28:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"7bb2f25f-85fd-4eeb-88a9-2861719e1fe5","html_url":"https://github.com/21st-dev/1code","commit_stats":null,"previous_names":["21st-dev/ancode","21st-dev/1code"],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/21st-dev/1code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/21st-dev%2F1code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/21st-dev%2F1code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/21st-dev%2F1code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/21st-dev%2F1code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/21st-dev","download_url":"https://codeload.github.com/21st-dev/1code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/21st-dev%2F1code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29993011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-16T14:26:05.433Z","updated_at":"2026-03-02T05:00:59.435Z","avatar_url":"https://github.com/21st-dev.png","language":"TypeScript","funding_links":[],"categories":["Parallel Agent Runners","TypeScript","Multi-Agent \u0026 Orchestration","GUI \u0026 IDE","🖥️ Clients \u0026 GUIs"],"sub_categories":["Other IDEs"],"readme":"# 1Code\n\n[1Code.dev](https://1code.dev)\n\nOpen-source coding agent client. Run Claude Code, Codex, and more - locally or in the cloud.\n\nBy [21st.dev](https://21st.dev) team\n\n## Highlights\n\n- **Multi-Agent Support** - Claude Code and Codex in one app, switch instantly\n- **Visual UI** - Cursor-like desktop app with diff previews and real-time tool execution\n- **Custom Models \u0026 Providers (BYOK)** - Bring your own API keys\n- **Git Worktree Isolation** - Each chat runs in its own isolated worktree\n- **Background Agents** - Cloud sandboxes that run when your laptop sleeps\n- **Live Browser Previews** - Preview dev branches in a real browser\n- **Kanban Board** - Visualize agent sessions\n- **Built-in Git Client** - Visual staging, diffs, PR creation, push to GitHub\n- **File Viewer** - File preview with Cmd+P search and image viewer\n- **Integrated Terminal** - Sidebar or bottom panel with Cmd+J toggle\n- **Model Selector** - Switch between models and providers\n- **MCP \u0026 Plugins** - Server management, plugin marketplace, rich tool display\n- **Automations** - Trigger agents from GitHub, Linear, Slack, or manually from git events\n- **Chat Forking** - Fork a sub-chat from any assistant message\n- **Message Queue** - Queue prompts while an agent is working\n- **API** - Run agents programmatically with a single API call\n- **Voice Input** - Hold-to-talk dictation\n- **Plan Mode** - Structured plans with markdown preview\n- **Extended Thinking** - Enabled by default with visual UX\n- **Skills \u0026 Slash Commands** - Custom skills and slash commands\n- **Custom Sub-agents** - Visual task display in sidebar\n- **Memory** - CLAUDE.md and AGENTS.md support\n- **PWA** - Start and monitor background agents from your phone\n- **Cross Platform** - macOS desktop, web app, Windows and Linux\n\n## Features\n\n### Run coding agents the right way\n\nRun agents locally, in worktrees, in background - without touching main branch.\n\n![Worktree Demo](assets/worktree.gif)\n\n- **Git Worktree Isolation** - Each chat session runs in its own isolated worktree\n- **Background Execution** - Run agents in background while you continue working\n- **Local-first** - All code stays on your machine, no cloud sync required\n- **Branch Safety** - Never accidentally commit to main branch\n- **Shared Terminals** - Share terminal sessions across local-mode workspaces\n\n---\n\n### UI that finally respects your code\n\nCursor-like UI with diff previews, built-in git client, and the ability to see changes before they land.\n\n![Cursor UI Demo](assets/cursor-ui.gif)\n\n- **Diff Previews** - See exactly what changes the agent is making in real-time\n- **Built-in Git Client** - Stage, commit, push to GitHub, and manage branches without leaving the app\n- **Git Activity Badges** - See git operations directly on agent messages\n- **Rollback** - Roll back changes from any user message bubble\n- **Real-time Tool Execution** - See bash commands, file edits, and web searches as they happen\n- **File Viewer** - File preview with Cmd+P search, syntax highlighting, and image viewer\n- **Chat Forking** - Fork a sub-chat from any assistant message to explore alternatives\n- **Chat Export** - Export conversations for sharing or archival\n- **File Mentions** - Reference files directly in chat with @ mentions\n- **Message Queue** - Queue up prompts while an agent is working\n\n---\n\n### Plan mode that actually helps you think\n\nThe agent asks clarifying questions, builds structured plans, and shows clean markdown preview - all before execution.\n\n![Plan Mode Demo](assets/plan-mode.gif)\n\n- **Clarifying Questions** - The agent asks what it needs to know before starting\n- **Structured Plans** - See step-by-step breakdown of what will happen\n- **Clean Markdown Preview** - Review plans in readable format\n- **Review Before Execution** - Approve or modify the plan before the agent acts\n- **Extended Thinking** - Enabled by default with visual thinking gradient\n- **Sub-agents** - Visual task list for sub-agents in the details sidebar\n\n---\n\n### Background agents that never sleep\n\nClose your laptop. Your agents keep running in isolated cloud sandboxes with live browser previews.\n\n- **Runs When You Sleep** - Background agents continue working even when your laptop is closed\n- **Cloud Sandboxes** - Every background session runs in an isolated cloud environment\n- **Live Browser Previews** - See your dev branch running in a real browser\n\n---\n\n### Connect anything with MCP\n\nFull MCP server lifecycle management with a built-in plugin marketplace. No config files needed.\n\n- **MCP Server Management** - Toggle, configure, and delete MCP servers from the UI\n- **Plugin Marketplace** - Browse and install plugins with one click\n- **Rich Tool Display** - See MCP tool calls with formatted inputs and outputs\n- **@ Mentions** - Reference MCP servers directly in chat input\n\n---\n\n### Automations that work while you sleep\n\nTrigger agents from GitHub, Linear, Slack, or manually from git events. Auto-review PRs, fix CI failures, and complete tasks - all configurable.\n\n- **@1code Triggers** - Tag @1code in GitHub, Linear, or Slack to start agents\n- **Git Event Triggers** - Run automations on push, PR, or any git event\n- **Conditions \u0026 Filters** - Control when automations fire\n- **Execution Timeline** - Visual history of past runs\n- **Silent Mode** - Toggle respond-to-trigger for background automations\n\nAutomations require a [Pro or Max subscription](https://1code.dev/pro). Learn more at [1code.dev/agents/async](https://1code.dev/agents/async).\n\n\n## API\n\nRun coding agents programmatically. Point at a repo, give it a task - the agent runs in a sandbox and delivers a PR.\n\n```bash\ncurl -X POST https://1code.dev/api/v1/tasks \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -d '{\n    \"repository\": \"https://github.com/your-org/your-repo\",\n    \"prompt\": \"Fix the failing CI tests\"\n  }'\n```\n\n- **Remote Sandboxes** - Isolated cloud environment, repo cloned, dependencies installed\n- **Git \u0026 PR Integration** - Agent commits, pushes branches, opens PRs automatically\n- **Async Execution** - Fire and forget, poll for status or get notified\n- **Follow-up Messages** - Send additional instructions to a running task\n\nLearn more at [1code.dev/agents/api](https://1code.dev/agents/api)\n\n## Installation\n\n### Option 1: Build from source (free)\n\n```bash\n# Prerequisites: Bun, Python 3.11, setuptools, Xcode Command Line Tools (macOS)\nbun install\nbun run claude:download  # Download Claude binary (required!)\nbun run codex:download   # Download Codex binary (required!)\nbun run build\nbun run package:mac  # or package:win, package:linux\n```\n\n\u003e **Important:** The `claude:download` and `codex:download` steps download required agent binaries. If you skip them, the app may build but agent functionality will not work correctly.\n\u003e\n\u003e **Python note:** Python 3.11 is recommended for native module rebuilds. On Python 3.12+, make sure `setuptools` is installed (`pip install setuptools`).\n\n### Option 2: Subscribe to 1code.dev (recommended)\n\nGet pre-built releases + background agents support by subscribing at [1code.dev](https://1code.dev).\n\nYour subscription helps us maintain and improve 1Code.\n\n## Development\n\n```bash\nbun install\nbun run claude:download  # First time only\nbun run codex:download   # First time only\nbun run dev\n```\n\n## Feedback \u0026 Community\n\nJoin our [Discord](https://discord.gg/8ektTZGnj4) for support and discussions.\n\n## License\n\nApache License 2.0 - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F21st-dev%2F1code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F21st-dev%2F1code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F21st-dev%2F1code/lists"}