Skip to content
codeworkshPublic

About

AI agent toolkit for coding agents, unified LLM APIs, agentic workflows, tool harness and more.

Topics

Resources

Stars

26 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

CODEWORK

CODEWORK logo

npm Ask DeepWiki

An open-source coding agent for your terminal: run sessions in your repo or an isolated sandbox, on any model, extended with plugins.

Under active development; APIs may change.

Quick start

pnpm add -g @codeworksh/cli
export ANTHROPIC_API_KEY=...   # or OPENAI_API_KEY, XAI_API_KEY, ...
codework run "Inspect and fix the failing tests"

Launch the interactive Terminal User Interface (TUI):

pnpm dlx @codeworksh/tui

Continue a session, pick a model, or move into a sandbox:

codework run --session <id> "Now add a regression test"
codework run --provider openai --model gpt-5.5 --thinking high "Plan the migration"
codework run --sandbox-driver daytona "Inspect repository"

Features

  • Interactive TUI — Full terminal chat interface built with Ink and React, featuring real-time reasoning streams, tool execution badges, metrics, and markdown rendering.
  • Any model — OpenAI, Anthropic, Google, xAI, OpenRouter, and more via one catalog (codework models).
  • Subscription sign-in — codework auth login --openai-codex or --github-copilot.
  • Persistent sessions — resume any session by ID; state lives in a local database.
  • Sandboxes — run locally or in daytona, vercel, memory, or sqldb sandboxes.
  • Server mode — codework serve owns sessions and sandboxes; clients attach with --server.
  • Plugins — codework plugin add <pkg> adds tools, prompts, and sandbox drivers, per project or globally (-g).

See the CLI docs and TUI docs for details.

Packages

Package Description
@codeworksh/cli The codework coding agent CLI.
@codeworksh/tui Interactive Terminal User Interface (TUI) built with Ink and React.
@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.

Development

Requires Node.js 24.14.1+ and pnpm.

git clone https://github.com/codeworksh/codework.git
cd codework
pnpm install
pnpm cli -- --help            # run the CLI from source
pnpm exec vp check
pnpm exec vp run typecheck

Read AGENTS.md for repository conventions, and open an issue for bugs or ideas.

Acknowledgements

The curiosity to build this project was inspired by Mario Zechner’s work on Pi-Mono.

License

MIT

About

AI agent toolkit for coding agents, unified LLM APIs, agentic workflows, tool harness and more.

Topics

Resources

Stars

26 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages