# 21st-dev/1code

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/21st-dev-1code).**

5,549 stars · 599 forks · TypeScript · apache-2.0

## Links

- GitHub: https://github.com/21st-dev/1code
- Homepage: https://1code.dev
- awesome-repositories: https://awesome-repositories.com/repository/21st-dev-1code.md

## Description

1code is an AI-assisted development environment that provides a unified interface for switching between multiple AI coding agents. It toggles between a read-only analysis mode and a full execution mode, asking clarifying questions, building structured plans with previews, and requiring user approval before making code changes. The environment integrates with external services and tools through the Model Context Protocol (MCP), enabling connections to databases, project management systems, and code repositories. Agent sessions can run either locally or in persistent cloud sandboxes that stay alive even when the laptop is closed, with live browser previews available.

What distinguishes 1code is its combination of agent isolation and visual Git workflow management. Each agent session runs in a separate Git worktree so changes never affect the main branch, and a built-in Git client allows staging, diffing, committing, and creating pull requests without leaving the application. The platform also includes an AI-driven UI component builder that generates production-ready components from natural language descriptions, a marketplace for publishing and sharing those components, and a logo search tool for finding company logos in SVG and other vector formats.

The environment supports on-demand agent triggering from issues, messages, or external tools, and provides real-time visual diffs of every file edit, command, and search result. It also offers a public component library for browsing ready-to-use UI patterns, along with design inspiration sourced from top design systems.

## Tags

### Development Tools & Productivity

- [AI Coding Assistants](https://awesome-repositories.com/f/development-tools-productivity/ai-coding-assistants.md) — Core platform that orchestrates multiple AI coding agents with structured planning and approval workflows.
- [MCP Server Integrations](https://awesome-repositories.com/f/development-tools-productivity/ai-assistant-integrations/mcp-server-integrations.md) — Integrates external services and tools through the Model Context Protocol for read, write, and trigger actions. ([source](https://1code.dev/))
- [Git GUI Clients](https://awesome-repositories.com/f/development-tools-productivity/git-gui-clients.md) — Provides a built-in graphical Git client for staging, diffing, committing, and pull requests.
- [Approval-Driven Change Workflows](https://awesome-repositories.com/f/development-tools-productivity/structural-diff-utilities/structural-change-previews/approval-driven-change-workflows.md) — Builds a structured plan with clarifying questions and preview, requiring user approval before execution. ([source](https://cdn.jsdelivr.net/gh/21st-dev/1code@main/README.md))
- [Visual Git Management Tools](https://awesome-repositories.com/f/development-tools-productivity/visual-git-management-tools.md) — Provides a built-in visual Git client with worktree isolation for staging, diffing, committing, and pull requests.
- [Live Diff Views](https://awesome-repositories.com/f/development-tools-productivity/code-quality-analysis/static-analysis-engines/static-analysis-tools/code-analysis-tools/local-change-reviewers/change-review-interfaces/live-diff-views.md) — Shows a live visual diff of every file edit, command, and search result before changes are applied.
- [Git State Managers](https://awesome-repositories.com/f/development-tools-productivity/git-state-managers.md) — Provides a built-in Git client for staging, diffing, committing, and managing branches without leaving the application. ([source](https://cdn.jsdelivr.net/gh/21st-dev/1code@main/README.md))
- [Agent Triggers from External Sources](https://awesome-repositories.com/f/development-tools-productivity/local-function-execution/agent-integrated-functions/on-demand-function-triggers/agent-triggers-from-external-sources.md) — Triggers AI agents on demand through issue comments, messages, and external integrations. ([source](https://1code.dev/))
- [Marketplace Publishing Tools](https://awesome-repositories.com/f/development-tools-productivity/marketplace-publishing-tools.md) — Allows sharing, selling, and monetizing UI components through a public marketplace. ([source](https://1code.dev/llms.txt#21st-dev-https-21st-dev))
- [Inline Diff Previews](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding-config-code-generation/code-generation/llm-driven/diff-based-edit-application/inline-diff-previews.md) — Shows real-time visual diffs of every file edit, command, and search result before changes are applied. ([source](https://cdn.jsdelivr.net/gh/21st-dev/1code@main/README.md))
- [Pull Request Creation Interfaces](https://awesome-repositories.com/f/development-tools-productivity/pull-request-creation-interfaces.md) — Enables creating pull requests with metadata directly from the application interface. ([source](https://1code.dev/))

### Artificial Intelligence & ML

- [Worktree Isolation](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agentic-workflows/worktree-isolation.md) — Runs each agent session in a separate Git worktree so code changes never affect the main branch.
- [AI Coding Agent Platforms](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-coding-agent-platforms.md) — Provides a unified interface to switch between multiple AI coding agents with approval workflow and visual diffs.
- [Agent Switching Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-coding-agent-platforms/agent-switching-interfaces.md) — Ships a unified interface for switching between multiple AI coding agents to select the optimal model per task. ([source](https://1code.dev/))
- [Cloud-Hosted Agent Sandboxes](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-coding-agent-platforms/cloud-hosted-agent-sandboxes.md) — Runs each agent session in isolated cloud sandboxes or git worktrees to prevent branch contamination.
- [Local and Cloud Agent Execution Environments](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-coding-agent-platforms/local-and-cloud-agent-execution-environments.md) — Runs coding agents in parallel sessions on the local machine or in persistent cloud sandboxes with live previews. ([source](https://cdn.jsdelivr.net/gh/21st-dev/1code@main/README.md))
- [MCP Protocol Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-integrations/mcp-protocol-integrations.md) — Connects external services and tools through the Model Context Protocol for read, write, and trigger actions.
- [Integration Hubs](https://awesome-repositories.com/f/artificial-intelligence-ml/integration-hubs.md) — Ships a standard protocol hub for connecting to databases, project management, and code repositories.
- [Model Routing Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/model-routing-layers.md) — Provides a model routing layer that abstracts vendor-specific AI interfaces to dispatch tasks to various coding agents.

### Security & Cryptography

- [Cloud-Persistent Agent Sessions](https://awesome-repositories.com/f/security-cryptography/identity-access-management/session-management/stateful-session-persistence/messaging-session-persistence/container-session-persistence/cloud-persistent-agent-sessions.md) — Keeps agent sessions alive in isolated cloud sandboxes that persist even when the laptop is closed.

### Software Engineering & Architecture

- [Mode Toggles](https://awesome-repositories.com/f/software-engineering-architecture/naming-conventions/reserved-names/access-restrictions/read-only-access-modes/agent-read-only-modes/read-only-analysis-modes/mode-toggles.md) — Ships a user toggle that switches between read-only analysis and full execution modes for safe code review. ([source](https://cdn.jsdelivr.net/gh/21st-dev/1code@main/README.md))
- [Worktree Isolations](https://awesome-repositories.com/f/software-engineering-architecture/parallel-subagent-orchestrators/worktree-isolations.md) — Runs each agent session in an isolated Git worktree to prevent branch conflicts and allow background execution. ([source](https://cdn.jsdelivr.net/gh/21st-dev/1code@main/README.md))
- [Standardized Protocol-Based Integrations](https://awesome-repositories.com/f/software-engineering-architecture/standardized-protocol-based-integrations.md) — Integrates with databases, project management, and code repositories via the Model Context Protocol.

### User Interface & Experience

- [Component Generators and Marketplaces](https://awesome-repositories.com/f/user-interface-experience/component-generators-and-marketplaces.md) — Identifies as a platform that generates UI components from natural language and provides a marketplace for sharing them.
- [UI Component Libraries](https://awesome-repositories.com/f/user-interface-experience/custom-widget-frameworks/extensible-widget-toolkits/ui-component-libraries.md) — Provides a public catalog of ready-to-use UI components including heroes, pricing tables, and modals. ([source](https://1code.dev/llms.txt#21st-dev-https-21st-dev))
- [Branch Previews](https://awesome-repositories.com/f/user-interface-experience/live-preview-renderers/branch-previews.md) — Provides a live browser preview of any development branch for interactive testing during agent sessions. ([source](https://1code.dev/))
- [Natural Language Component Generators](https://awesome-repositories.com/f/user-interface-experience/ui-architecture/design-utilities/ui-component-guidelines/natural-language-component-generators.md) — Generates production-ready UI components from natural language descriptions using AI agents.
