█

AI/TLDR

Buy me a coffee
Buy me a coffee

Command Code

A terminal coding agent built around open models that learns your coding preferences from every accept, reject and edit

Autonomous Coding AgentsCommercial
Language
Distributed as an npm package (Node.js 22+)
License
Proprietary (npm package published as UNLICENSED; source not public)
Coverage
1 story
$npm i -g command-code
IN SHORT

What is Command Code?

Command Code is an AI coding agent that runs in your terminal. You start it with the cmd command inside a project and ask it to build features, fix bugs, write tests or refactor code. It sits in the Autonomous Coding Agents category of the AI Coding tools and is open-source, written in Distributed as an npm package (Node.js 22+) and licensed Proprietary (npm package published as UNLICENSED; source not public).

Overview

Command Code is an AI coding agent that runs in your terminal. You start it with the cmd command inside a project and ask it to build features, fix bugs, write tests or refactor code. Its site positions it around open models: DeepSeek, Qwen, Kimi, GLM and MiniMax ship out of the box alongside models from Anthropic, OpenAI, Google and xAI, and the project says the harness validates and repairs tool calls in flight so that open models behave reliably as agents.

What sets it apart is Taste. Every accept, reject, edit or correction you make in a session becomes a signal for taste-1, which the docs describe as a meta neuro-symbolic model with continuous reinforcement learning. It is not an LLM: it classifies each signal as a real preference or not, and the learnings are written out as readable taste.md files under .commandcode/taste/ in the project (or ~/.commandcode/taste/ globally). Teams can share them with npx taste push and npx taste pull.

VideoThe launch video explaining Taste and the taste-1 model.Command Code ↗

Command Code is not open source. The npm package is published as UNLICENSED, and the GitHub repository holds only the README and issue templates; it serves as the public home for bug reports while the CLI itself ships closed-source through npm. Using it requires a Command Code account (browser login or an API key), with paid plans listed on the project's site.

What it does

  • Interactive terminal sessions: / opens the slash-command menu, ! runs a line as a shell command, and @ mentions a file as context
  • Taste learning: taste-1 turns your accepts, rejects and edits into taste.md preference files you can version, lint, push and pull
  • Model choice per session with -m / --model, a quick switcher (alt+p) and --list-models, covering open and commercial model vendors
  • Permission modes (default, accept edits, plan, yolo) cycled with shift+tab, plus checkpoint rewind with esc twice
  • Headless use with -p / --print and --output-format json, and isolated runs in a managed git worktree with -w
  • Extensible through MCP servers (cmd mcp), agent skills (cmd skills) and mods (cmd mods)

Getting started

Command Code needs Node.js 22 or newer and runs on macOS, Linux, WSL and Windows. These steps follow the project's README and quickstart.

VideoCommand Code's own introduction to the terminal agent.Command Code ↗

Install the CLI

Install the package globally from npm and check the version.

bashbash
npm i -g command-code
cmd --version

Log in

Authenticate in the browser, or create an API key and paste it into the terminal when prompted.

bashbash
cmd login

Start a session in your project

Run cmd in the project directory, trust the folder when asked, then type your first prompt. On native Windows the command is cmdc.

bashbash
cd your-project
cmd

Run it non-interactively

Print mode runs a single request and exits, which suits scripts; --model pins a specific model for the run.

bashbash
cmd -p "write tests for the date utils"
cmd --list-models

Share your taste with the team

Learned preferences live in .commandcode/taste/. Push them to your Command Code account and pull them into another project or machine.

bashbash
npx taste push --all
npx taste pull username/project-name

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Running an agentic coding workflow on open models such as DeepSeek, Qwen, Kimi or GLM from the terminal
  • Teams that want a coding agent to pick up their review preferences and conventions, and share them as versioned taste files
  • Scripting code changes in CI or shell scripts through print mode with JSON output
  • Trying several model vendors from one CLI without switching tools

How Command Code compares

Command Code alongside other open-source autonomous coding agents tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
opencode★ 229kOpenCode is an open source AI coding agent that runs in your terminal, with built-in build and plan agents and an optional desktop app.
Claude Code★ 157kAnthropic's agentic coding tool for the terminal, IDE and GitHub: it understands your codebase, executes routine tasks, explains code and handles git workflows from natural-language commands.
Orca★ 140kOpen-source desktop workspace that runs Claude Code, Codex, OpenCode and other CLI coding agents in parallel, each in its own git worktree, with a mobile companion app.
OpenAI Codex★ 137kOpenAI's cloud and CLI coding agent that writes features, fixes bugs, and proposes code changes across a repo, running tasks in parallel.
Pi★ 124kMinimal terminal coding agent harness with four built-in tools, extended through TypeScript extensions, skills and prompt templates instead of forks.
Gemini CLI★ 109kAn open-source command-line AI agent from Google that connects your terminal to Gemini models for reading code, editing files, running shell commands, and searching the web.
autoresearch★ 101kKarpathy's minimal harness that hands a coding agent a single-GPU LLM training script and lets it run fixed five-minute experiments, keeping or discarding each change on its own.
Command Code★ 4.3kA terminal coding agent built around open models that learns your coding preferences from every accept, reject and edit