AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
LLM Infra/
claude-code-source-all-in-one
claude-code-source-all-in-one logo

claude-code-source-all-in-one

Active·★ 80·Updated 2026-05-28
★ Trending★ API Integration★ Dev Tooling

Always up-to-date open-source mirror of Claude Code (currently v2.1.123). Run from source with Claude subscription/API, ChatGPT subscription (GPT-5.5 / GPT-5.4), OpenAI-compatible providers, or local Ollama. 18 deep-dive architecture articles included. For educational and reference purposes only.

This repository extracts the source code of Anthropic's Claude Code CLI for educational study. It includes 18 deep-dive articles analyzing the architecture, covering core agent loop, tool orchestration, context compression, and more. The source can be run locally for learning purposes.

#ai-agent#ai-coding#anthropic#architecture-analysis#chatgpt#claude#claude-code#cli
$ Install
$ node scripts/setup.mjs
↗ Visit site★ GitHub
01

Features

01Extracted production-grade AI agent source code
02Loop-over-graph architecture with while(true) agent loop
03Recursive sub-agent orchestration with inherited features
04Four-layer context compression for long sessions
05Immutable messages to optimize prompt caching costs
02

Compatibility

macOS
Native support
Verified via docs
Linux
Native support
Verified via docs
Windows
Supported with limitations
Verified via docs
03

Quick start

1
$ node scripts/setup.mjs
04

Use cases

↳Studying production-level AI agent architecture and design decisions
↳Learning advanced engineering patterns for tool orchestration and context management
↳Experimenting with Claude Code internals in a controlled environment
05

Alternatives

MetaGPT logo
MetaGPT★ 68.4k
🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
vs →
cua logo
cua★ 17.3k
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
vs →
context-mode logo
context-mode★ 16.0k
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
vs →
Auto-claude-code-research-in-sleep logo
Auto-claude-code-research-in-sleep★ 11.0k
ARIS ⚔️ (Auto-Research-In-Sleep) — Claude Code skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation via Codex MCP
vs →
agents-best-practices logo
agents-best-practices★ 1.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
vs →
holaOS logo
holaOS★ 5.4k
The agent environment for long-horizon work, continuity, and self-evolution.
vs →
openagent logo
openagent★ 5.1k
⚡️AI Cloud OS: Open-source enterprise-level AI knowledge base and MCP (model-context-protocol)/A2A (agent-to-agent) management platform with admin UI, user management and Single-Sign-On⚡️, supports ChatGPT, Claude, Llama, Ollama, HuggingFace, etc., chat bot demo: https://ai.casibase.com, admin UI demo: https://ai-admin.casibase.com
vs →
fast-agent logo
fast-agent★ 3.8k
Code, Build and Evaluate agents - excellent Model and Skills/MCP/ACP Support
vs →
See all alternatives →

Related searches

claude-code-source-all-in-one AlternativesBest LLM Infra Tools 2026Open Source LLM Infraclaude-code-source-all-in-one Tutorialclaude-code-source-all-in-one Vs Competitorsai-agentai-codinganthropic

Comments

Log in to leave a comment
  • P
    Peyton HarrisMay 19, 2026

    The all-in-one packaging makes it easy to run from source without complex setup

  • R
    Reese LewisApr 6, 2026

    Always up-to-date open-source mirror of Claude Code is useful for code inspection

  • R
    Rowan HarrisMar 4, 2026

    Good for understanding Claude Code internals and building extensions

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 80
Last commit2d ago
StatusActive
License—
CategoryLLM Infra
Trend (30d)
+3.2↑ 0.7%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.