Skip to content

CCHarbour

A Claude Code-style agentic coding assistant โ€” in your terminal, in a single ~2 MB binary that runs on Windows, macOS and Linux, written in Harbour.

Get started Download Try in browser

latest release windows linux macos licence

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚      Welcome back, Anto!              โ”‚ Tips for getting started           โ”‚
โ”‚            โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—              โ”‚ Type a request to begin            โ”‚
โ”‚           โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•             โ”‚ Run /help to list commands         โ”‚
โ”‚           โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘                  โ”‚ /caveman for terse replies         โ”‚
โ”‚           โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—             โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚
โ”‚            โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•              โ”‚ What's new                         โ”‚
โ”‚           CCHarbour  v0.8.18             โ”‚ background subagents + /tasks       โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ > how is the codebase organised?                                            โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
  [superpowers] [tdd]

Why CCHarbour

๐Ÿฆพ Real agentic loop

Multi-iteration tool calls, streaming SSE, mid-turn interrupts, subagent dispatch. Stops only on a final answer or the iteration cap.

๐Ÿ“ฆ One file, ~2 MB

A single console executable. No Python, no Node, no Docker. Drop it on a server, on a USB stick, in a CI runner.

๐ŸชŸ Truly cross-platform

Windows (MSVC or mingw-w64), Linux (gcc), macOS (clang). The same Harbour source on every platform; a Win32 + POSIX console layer underneath.

๐Ÿง  Skills & Plan mode

Drop a Markdown checklist under .ccharbour/skills/ and the agent picks it up. /plan locks file writes until you approve the approach.

๐Ÿ›ก Permission gate

Every tool is allow, ask or deny. shell and edit prompt by default; you can flip any tool per project in settings.json.

๐ŸŽฏ Subagents with a user gate

propose_agents lets you review and approve batches of subagents before any of them runs. Each subagent has its own isolated context.

๐Ÿชถ Lean mode

/lean trims the system prompt by ~500โ€“800 tokens per turn for marathon sessions or pricier models.

โœ‚๏ธ Paste-aware input

Multi-line paste collapses to a tidy [pasted N lines text] placeholder. The full content is restored transparently on submit.

๐Ÿงต Background subagents

dispatch_agent_background spawns a subagent on a worker thread and returns a task-id (bg1, bg2, ...) immediately. Inspect with /tasks, /tasks view <id>, kill with /tasks kill <id>.

๐ŸŽฏ /goal โ€” keep working until done

/goal <text> pins an objective and arms an auto-continue loop: the agent emits a GOAL COMPLETE sentinel when done, otherwise the REPL auto-feeds Continue toward the goal. between turns (cap 25).

๐Ÿ’พ Full-state /save & /load

/save [name] snapshots messages plus goal, modes, skills, timer and the pending suggestion to JSON. /load round-trips the whole session, not just the chat.

๐Ÿช Shell hooks

/hook add turn_complete <cmd> fires a user-defined shell command after every turn (success, error, interrupted). Fire-and-forget, six CCHARBOUR_* env vars (status / model / tokens / duration_ms / cwd / event), opt-in append-only log. Beep, toast, Slack webhook โ€” pick your own side effect.

30-second tour

# download cc-linux or cc-macos from the latest release
chmod +x cc-linux
export DEEPSEEK_API_KEY=sk-...
./cc-linux
REM download cc.exe from the latest release
set DEEPSEEK_API_KEY=sk-...
cc.exe

Once running, type a request. The agent reads, edits, runs commands and replies inline. See Getting started for the full walkthrough.

Common use cases

  • Refactoring โ€” explore a foreign codebase, plan the change with /plan, watch the agent execute and diff every edit.
  • Code review โ€” activate the code-review skill, paste a diff, get a structured report with blocking and non-blocking findings.
  • Bug hunting โ€” the debugging skill enforces reproduce โ†’ isolate โ†’ hypothesise โ†’ verify before any patch lands.
  • Project bootstrap โ€” /init writes a CC.md so future runs already know your conventions.
  • CI lint runner โ€” pipe a prompt into cc in non-interactive mode; permissions stay strict, output goes to logs.

Try it without installing

The web playground runs a JavaScript port of CCHarbour entirely in the browser โ€” file, web, github, memory and todo tools โ€” using your own DeepSeek API key. Great for kicking the tyres before downloading anything.


CCHarbour is released under the MIT licence. Read the disclaimer before granting shell permission on a machine you care about.