Skip to content

o3dotdev/o3-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,968 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
O3 Code

The Code Editor for AI Agents

GitHub stars GitHub release License Twitter Discord


Orchestrate swarms of Claude Code, Codex, and more in parallel.
Works with any CLI agent. Built for local worktree-based development.


Download for macOS  •  Documentation  •  Changelog  •  Discord


Code 10x Faster With No Switching Cost

O3 Code orchestrates CLI-based coding agents across isolated git worktrees, with built-in terminal, review, and open-in-editor workflows.

  • Run multiple agents simultaneously without context switching overhead
  • Isolate each task in its own git worktree so agents don't interfere with each other
  • Monitor all your agents from one place and get notified when they need attention
  • Review and edit changes quickly with the built-in diff viewer and editor
  • Open any workspace where you need it with one-click handoff to your editor or terminal

Wait less, ship more.

Features

Feature Description
Parallel Execution Run 10+ coding agents simultaneously on your machine
Worktree Isolation Each task gets its own branch and working directory
Agent Monitoring Track agent status and get notified when changes are ready
Built-in Diff Viewer Inspect and edit agent changes without leaving the app
Workspace Presets Automate env setup, dependency installation, and more
Universal Compatibility Works with any CLI agent that runs in a terminal
Quick Context Switching Jump between tasks as they need your attention
IDE Integration Open any workspace in your favorite editor with one click

Supported Agents

O3 Code works with any CLI-based coding agent, including:

Agent Status
 Amp Code Fully supported
 Claude Code Fully supported
 OpenAI Codex CLI Fully supported
 Cursor Agent Fully supported
 Droid Fully supported
 Gemini CLI Fully supported
 GitHub Copilot Fully supported
 Mastra Code Fully supported
 OpenCode Fully supported
 Pi Fully supported
Any other CLI agent Works without configuration

If it runs in a terminal, it runs on O3 Code

Requirements

Requirement Details
OS macOS (Windows/Linux untested)
Runtime Bun v1.0+
Version Control Git 2.20+
GitHub CLI gh
Caddy caddy (for dev server)

Install

Download O3 Code for macOS

Builds for Windows and Linux are not yet available.

Development

Want to hack on O3 Code or contribute a PR? Spin up a local dev environment in one command:

git clone https://github.com/o3dotdev/o3-code.git
cd o3-code
./.o3/code/setup.local.sh
bun run dev

No Neon account or third-party credentials needed — setup.local.sh brings up a local Postgres + Electric stack via Docker and seeds a dev account. Sign in with the "Sign in as dev" button (or admin@local.test / o3codedev).

Prereqs: bun, docker, jq, caddy (brew install jq caddy && caddy trust).

See DEVELOPMENT.md for the full guide — what the setup script does, manual setup against real services, common commands, troubleshooting, and how to build the desktop app. Contribution process lives in CONTRIBUTING.md.

Keyboard Shortcuts

All shortcuts are customizable via Settings > Keyboard Shortcuts (⌘/). See full documentation.

Workspace Navigation

Shortcut Action
⌘1-9 Switch to workspace 1-9
⌘⌥↑/↓ Previous/next workspace
⌘N New workspace
⌘⇧N Quick create workspace
⌘⇧O Open project

Terminal

Shortcut Action
⌘T New tab
⌘W Close pane/terminal
⌘D Split right
⌘⇧D Split down
⌘K Clear terminal
⌘F Find in terminal
⌘⌥←/→ Previous/next tab
Ctrl+1-9 Open preset 1-9

Layout

Shortcut Action
⌘B Toggle workspaces sidebar
⌘L Toggle changes panel
⌘O Open in external app
⌘⇧C Copy path

Configuration

Configure workspace setup and teardown in .o3/code/config.json. See full documentation.

{
  "setup": ["./.o3/code/setup.sh"],
  "teardown": ["./.o3/code/teardown.sh"]
}
Option Type Description
setup string[] Commands to run when creating a workspace
teardown string[] Commands to run when deleting a workspace

Example setup script

#!/bin/bash
# .o3/code/setup.sh

# Copy environment variables
cp ../.env .env

# Install dependencies
bun install

# Run any other setup tasks
echo "Workspace ready!"

Scripts have access to environment variables:

  • O3_CODE_WORKSPACE_NAME — Name of the workspace
  • O3_CODE_ROOT_PATH — Path to the main repository

Mastra Dependencies

This repo uses the published upstream mastracode and @mastra/* packages directly. Avoid adding custom tarball overrides unless there is a repo-specific blocker.

Tech Stack

Electron React TailwindCSS Bun Turborepo Vite Biome Drizzle ORM Neon tRPC

Private by Default

  • Source Available — Full source is available on GitHub under Elastic License 2.0 (ELv2).
  • Explicit Connections — You choose which agents, providers, and integrations to connect.

Contributing

We welcome contributions! If you have a suggestion that would make O3 Code better:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

You can also open issues for bugs or feature requests.

See CONTRIBUTING.md for detailed instructions and code of conduct.

Community

Join the O3 Code community to get help, share feedback, and connect with other users:

Team

Avi Twitter Kiet Twitter Satya Twitter

License

Distributed under the Elastic License 2.0 (ELv2). See LICENSE.md for more information.

About

O3 Code brings the Codex desktop experience to a local browser with bridge-powered access to your Mac, workspace, tools, and running agent sessions.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors