Minimal AI coding agent (~950 LoC Python) inspired by Claude Code. Works with any LLM. Think NanoGPT for coding agent. Formerly NanoCoder.
# CoreCoder > Formerly **NanoCoder** — renamed to avoid confusion with [Nano-Collective/nanocoder](https://github.com/Nano-Collective/nanocoder). All links from the old repo redirect here automatically. [](https://pypi.org/project/corecoder/) [](https://python.org) [](LICENSE) [](https://github.com/he-yufeng/CoreCoder/actions) [中文](README_CN.md) | [English](README.md) | [Claude Code Architecture Deep Dive (7 articles)](article/) **512,000 lines of TypeScript → ~950 lines of Python.** I spent two days reverse-engineering the leaked Claude Code source — all half a million lines. Then I stripped it down to the load-bearing walls and rebuilt them in Python. The result: **every key architectural pattern from Claude Code, in a codebase you can read in one sitting.** CoreCoder is not another AI coding tool. It's a **blueprint** — the [nanoGPT](https://github.com/karpathy/nanoGPT) of coding agents. Read it, fork it, build your own. --- ``` $ corecoder -m kimi-k2.5 You > read main.py and fix the broken import > read_file(file_path='main.py') > edit_file(file_path='main.py', ...) --- a/main.py +++ b/main.py @@ -1 +1 @@ -from utils import halper +from utils import helper Fixed: halper → helper. ``` ## What You Get Claude Code's 512K lines distilled into ~1,400 lines across 7 patterns that actually matter: | Pattern | Claude Code | CoreCoder | |---|---|---| | Search-and-replace editing (unique match + diff) | FileEditTool | `tools/edit.py` — 70 lines | | Parallel tool execution | StreamingToolExecutor (530 lines) | `agent.py` — ThreadPool | | 3-layer context compression | HISTORY_SNIP → Microcompact → CONTEXT_COLLAPSE | `context.py` — 145 lines | | Sub-agent with isolated context | AgentTool (1,397 lines) | `too
HAL 分层混合模型工作流 — 强模型(Claude)负责理解/拆解/验收,低成本模型(DeepSeek)负责检索/提取/清洗。Hermes Agent skill。
An LLM agent fine-tuned on DeepSeek for spaced repetition, dynamically integrating knowledge points based on the Ebbinghaus forgetting curve.
基于 STM32F103 构建的端到端 AI 智能手表生态。自研“零重定位”原生机器码动态加载引擎与页面栈式 UI 框架;集成生产级 OTA 回滚保护机制与高带宽(921600 baud)串口协议栈。通过 Node.js 中继实现 DeepSeek AI 语义控制及 ASRPRO 语音全双工交互,是一个集成了分布式计算、现代存储管理与 AI Agent 的嵌入式全栈工程。
A Meta-Agent-Driven Self-Evolving Multi-Agent System for UAV Detection and Tracking
One command to run Hermes AI Agent with a browser UI. Zero prerequisites. 一行命令,AI 就位。
网页应用Agent,接入DeepSeek、Mimo等模型