I'm excited to share CCHarbour, an open-source terminal AI assistant that brings Claude Code-style agentic coding to the Harbour/xBase ecosystem.
What is it?
CCHarbour is a fully autonomous coding assistant that runs in your terminal. It reads, writes and edits files, searches with glob/grep, runs shell commands, searches the web, interacts with GitHub, and maintains persistent memory — all driven by the DeepSeek API (with more models to come).
Built with Harbour, for Harbour developers
CCHarbour is written entirely in Harbour (plus a small C console layer). It compiles with both BCC (Embarcadero) and MinGW-w64, and the resulting cc.exe is a standalone Windows binary — no DLLs, no runtimes, no Python/Node dependencies.
Self-building & embeddable
• The project builds itself from source (build_cc.bat or GitHub Actions CI/CD)
• The same cc.hbp project can be integrated into any Harbour application- Want an AI assistant inside your Harbour app? Just link the modules and call DS_AgentRun()
• Full streaming SSE client, tool system, markdown rendering — all in pure HarbourKey features
• Multi-turn agent loop with tool execution-
Read, write, edit files with diff output-
Glob & grep search-
Shell command execution-
Web search (DuckDuckGo, no API key) & web fetch-
GitHub read/write operations-
Persistent memory across sessions-
Pause/resume tool execution with Esc-
Conversation save/load (/save, /load)
• Token cost tracking (/cost)
• Web playground at https://fivetechsoft.github.io/CCHarbour/playground/
• Full documentation at https://fivetechsoft.github.io/CCHarbour/
Getting started
git clone https://github.com/FiveTechSoft/CCHarbour.gitcd CCHarbourset DEEPSEEK_API_KEY=sk-...
build_cc.batcc.exe```
No API key needed for web search. No configuration needed to start.
Why this matters for the Harbour community
For the first time, Harbour developers have access to a modern AI coding assistant that understands the Harbour language, its idioms, and its toolchain — because it's written in Harbour itself. CCHarbour can help with code generation, refactoring, debugging, documentation, and exploring unfamiliar codebases.
The project is open source (MIT-style) at:
https://github.com/FiveTechSoft/CCHarbourContributions, issues, and ideas welcome! Let's bring Harbour into the AI era together. ---