claude-code-from-source
Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps
- 3k estrellas
- 821 forks
- 3 issues abiertos
- Lenguaje: TypeScript
- Licencia: sin licencia estándar
- actualizado
Instalación
git clone https://github.com/alejandrobalderas/claude-code-from-source- Clone the repository.
- Follow the README for installation and usage instructions.
Nota editorial
This repository is a free, online technical book spanning 18 chapters and roughly 400 print-equivalent pages, derived from studying TypeScript source maps that Anthropic inadvertently shipped inside Claude Code's npm package. The author recovered the original TypeScript through the `sourcesContent` field of those source maps, then wrote original pseudocode and prose to document the architecture without reproducing proprietary code. Coverage includes Claude Code's six core abstractions, its five-phase bootstrap pipeline, the agent loop in `query.ts`, a 14-step tool execution pipeline, concurrent tool partitioning, multi-agent swarm coordination, a four-layer context compression strategy, file-based memory with LLM-driven recall, MCP integration across eight transports, and terminal UI rendering via a custom Ink fork. A standout detail is the fork-agent prompt cache trick, where parallel sub-agents share byte-identical prefixes to reduce input token costs by roughly 95 percent. The material targets senior engineers building agentic systems, architects evaluating design trade-offs, and anyone who wants a detailed internal view of how Claude Code works.
Resumen de Tools
Lo que la gente pregunta sobre claude-code-from-source
¿Qué es alejandrobalderas/claude-code-from-source?
alejandrobalderas/claude-code-from-source es tools para el ecosistema de Claude AI. Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps Tiene 3k estrellas en GitHub y su última actualización registrada es del 2026-04-04.
¿Cómo se instala claude-code-from-source?
Puedes instalar claude-code-from-source clonando el repositorio (https://github.com/alejandrobalderas/claude-code-from-source) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar alejandrobalderas/claude-code-from-source?
Nuestro agente de seguridad ha analizado alejandrobalderas/claude-code-from-source y le ha asignado un Trust Score de 44/100 (tier: Caution). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene alejandrobalderas/claude-code-from-source?
alejandrobalderas/claude-code-from-source es mantenido por alejandrobalderas. La última actividad registrada en GitHub es del 2026-04-04, con 3 issues abiertos.
¿Hay alternativas a claude-code-from-source?
Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.