An open-source AI coding assistant for your terminal, inspired by Claude Code. Interact with your codebase directly from the command line.
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 100/100 with only 75 stars
// how to help
// readme
CodeShell
CodeShell is one orchestration engine wearing three faces:
- a terminal CLI (
code-shell) for interactive and headless agent runs, - an Electron desktop app with chat, file/browser/terminal/diff panels, model & credential management, an extensions marketplace, automation, and a phone remote, and
- a programmatic SDK (
import { Engine } from "@cjhyy/code-shell") for embedding the engine in your own product.
The core is deliberately domain-agnostic. The turn loop, context management, permissions, MCP integration, hooks, tasks, cron, sub-agents, sessions, and memory all stay generic. Coding tools, git/worktree behavior, LSP, review, quota, and coding prompts live in the physically separate @cjhyy/code-shell-capability-coding package and are composed by the CLI/Desktop hosts. (See packages/core/CONTRIBUTING.md: βcore only carries mechanism, not policy.β)