GitHub - 0xenzyme/code-orb: CLI-first coding agent with a future desktop path. · GitHub
Skip to content

0xenzyme/code-orb

Repository files navigation

Code Orb

Code Orb is a CLI-first coding agent project with a future path to desktop.

The repository is now in an early runnable stage.

Today it provides:

  • a one-shot CLI path with orb run "<task>"
  • an interactive foreground CLI with orb chat
  • local session artifacts under .orb/sessions/
  • git-aware session reporting for pre-existing vs current-run changes
  • benchmark-backed validation for key milestone paths

The current product shape is still intentionally narrow. The shell and runtime are real, but the CLI is still experimental and not yet a production-ready coding tool.

Release status:

  • 0.4.0 Session And Git Awareness: released
  • 0.5.0 Interactive CLI: released on 2026-04-08
  • 0.6.0 Extensibility: released on 2026-04-08
  • 0.7.0 Query Loop And Tool Runtime: released on 2026-04-08
  • 0.8.0 Usable CLI: released on 2026-04-09
  • 0.9.0 CLI UX And TUI: in progress as of 2026-04-09

Read First

Quick Start

Install dependencies:

pnpm install

Configure a real provider:

cp .env.example .env.local

or:

bash scripts/setup-local-env.sh

Then edit .env.local and set:

  • OPENAI_API_KEY
  • OPENAI_MODEL
  • optionally OPENAI_BASE_URL for an OpenAI-compatible endpoint

Provider notes:

  • Code Orb automatically loads .env and .env.local from the active working directory
  • shell environment variables still override .env file values
  • if no provider variables are set, Code Orb falls back to the mock model client

Running

Interactive CLI:

pnpm run cli:run -- chat

One-shot task execution:

pnpm run cli:run -- run "<task>"

Run against another repository:

pnpm run cli:run -- --cwd /path/to/repo chat
pnpm run cli:run -- --cwd /path/to/repo run "<task>"

Session inspection:

pnpm run cli:run -- sessions list
pnpm run cli:run -- sessions show <session-id>

Interactive commands:

  • /help
  • /history
  • /status
  • /exit
  • /quit
  • exit
  • quit

Benchmarks

Primary benchmark path:

pnpm run benchmark:failing-test-fix

Interactive CLI milestone benchmark:

pnpm run benchmark:interactive-multi-turn

Repository instruction visibility benchmark:

pnpm run benchmark:project-instructions

Current Scope

Code Orb is currently best suited for:

  • fixture or small local-repository tasks
  • explicit edit-and-verify requests
  • interactive multi-turn iteration in one foreground session
  • session-aware follow-up work and repository-state inspection

It is not yet a broadly capable general coding agent. The current runtime is still narrow in task interpretation and tool selection, but repository-root AGENTS.md guidance is now loaded and surfaced during execution while the broader instruction model remains intentionally limited.

Repository Layout

apps/         App entry points such as the CLI and, later, desktop shells.
packages/     Shared runtime packages used by multiple apps.
docs/         Product, architecture, ADR, roadmap, engineering, and reference docs.
prompts/      Prompt assets managed as first-class project artifacts.
tests/        Unit, integration, end-to-end, and fixture repositories.
benchmarks/   Benchmark tasks and evaluation repositories for milestone validation.
scripts/      Automation scripts that support development and release work.

Key Docs

Working Style

  • AGENTS.md is the canonical guide for coding agents working in this repository.
  • CLAUDE.md is intentionally thin and points back to AGENTS.md.
  • Architecture changes should update the relevant docs in the same patch.
  • ADRs are used for decisions that would be expensive to reverse later.

About

CLI-first coding agent with a future desktop path.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages