An open-source coding agent for code & work: run sessions in your repo or an isolated sandbox, on any model, extended with plugins.
curl -fsSL https://codework.sh/install | shOr with Node.js 24+: pnpm add -g @codeworksh/cli.
export OPENAI_API_KEY=...
codework run --provider openai --model gpt-6-luna "Inspect and fix the failing tests"export ANTHROPIC_API_KEY=...
codework run --provider anthropic --model claude-sonnet-5-5 "Inspect and fix the failing tests"List every provider and model with codework models.
- Any model — OpenAI, Anthropic, Google, xAI, OpenRouter, and more via one catalog (
codework models). - Subscription sign-in —
codework auth login --openai-codexor--github-copilot. - Persistent sessions — resume any session by ID; state lives in a local database.
- Sandboxes — run locally or in
daytona,vercel,memory, orsqldbsandboxes. - Server mode —
codework serveowns sessions and sandboxes; clients attach with--server. - Plugins —
codework plugin add <pkg>adds tools, prompt sections, and MCP servers, per project or globally (-g).
See the docs for every command and flag.
| Package | Description |
|---|---|
@codeworksh/cli |
The codework coding agent CLI. |
@codeworksh/harness |
Effect-powered agent runtime with persistent sessions and sandboxes. |
@codeworksh/plugin |
SDK for tools, prompt plugins, and sandbox drivers. |
@codeworksh/aikit |
Unified multi-provider LLM API with streaming, tools, and usage. |
Requires Node.js 24.14.1+ and pnpm.
git clone https://github.com/codeworksh/codework.git
cd codework
pnpm install
vp run dev:cli --help # run the CLI from source
vp run verify # the checks CI runsRead CONTRIBUTING.md before opening a pull request, docs/operations/00_development.md to run the dev servers, and AGENTS.md for repository conventions.
The curiosity to build this project was inspired by Mario Zechner’s work on Pi-Mono.