# he-yufeng/CoreCoder

Minimal AI coding agent (~1,000 lines of Python) inspired by Claude Code. Works with any LLM. Think NanoGPT for coding agents. Formerly NanoCoder.

Repository: https://github.com/he-yufeng/CoreCoder
Canonical: https://ross.abutalabs.com/products/corecoder
Homepage: https://pypi.org/project/corecoder/
Language: Python
License: MIT
License Family: permissive
Topics: ai-agent, claude-code, cli, coding-agent, deepseek, developer-tools, llm, openai, python, corecoder
Last push: 2026-08-25T08:56:32+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 90, longevity 11
- inputs: {"age_days": 154, "days_push": 8, "days_rel": 67, "gap_med": 28, "n_releases_24m": 4}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1678, forks 395 (observed 2026-08-28T04:05:21.010388+00:00)

## What it is
CoreCoder is a minimal AI coding agent written in roughly 1,000 lines of Python, inspired by Claude Code and designed to work with any LLM. It is intentionally readable end to end so developers can understand how coding agents work and fork it to build their own.

## Use cases
- understand how an AI coding agent works internally
- learn the core agent loop and tool-calling pattern
- fork a minimal coding agent to build your own
- run an LLM-powered coding assistant in the terminal
- study a readable alternative to Claude Code or aider
- teach coding agent architecture with a small codebase

## When to choose
- you want to read and learn from a tiny, complete coding agent implementation
- you need a hackable base to fork into your own agent
- you want a minimal CLI coding agent that works with any LLM provider

## When to avoid
- you need a production-grade coding assistant with extensive features
- you want polished terminal pair-programming like aider
- you expect the robustness and safety of a mature commercial tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: agent-framework, llm-inference, cli, developer-tools
- domain: developer-tools, large-language-models, education
- platform: python, cli, cross-platform
- tags: coding-agent, claude-code-inspired, minimal, learning-resource, readable-source, nanogpt-for-agents, ai-agents, command-line

## Member repositories
- he-yufeng/CoreCoder (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:21.010388+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:41:33.624227+00:00, confidence not recorded.
  - readme: https://github.com/he-yufeng/CoreCoder (fetched 2026-08-28T04:05:21.010388+00:00, sha a0a031949e8a)
  - homepage: https://pypi.org/project/corecoder/ (fetched 2026-08-29T11:14:53.131461+00:00, sha 4b4e8fead74a)
  - registry_pypi: https://pypi.org/pypi/corecoder/json (fetched 2026-08-29T11:14:53.133965+00:00, sha 34bf9208736a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
