awesome-ai-anatomy

作者 NeuZhou已验证

Source code teardowns of 15 AI coding agents. What is actually inside Claude Code, Dify, OpenHands, Cline, MemPalace, oh-my-codex, Goose, Codex CLI, and 7 more. Architecture diagrams, design patterns. Every claim fact-checked.

234
Stars
21
Forks
D2
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/NeuZhou/awesome-ai-anatomy

快速入门

使用 awesome-ai-anatomy 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

NEW: AgentSentinel -- We went from studying agent anatomy to protecting it. A zero-trust local proxy that monitors, secures, and records every decision your AI agent makes. Built from the security findings of our 16+ agent teardowns. npx agent-sentinel start

Awesome AI Anatomy

English | 简体中文

Stars Forks Twitter Substack Teardowns Updated Weekly Last Updated License

Source code teardowns of AI coding agents. Architecture diagrams, design patterns, and the stuff nobody documents.

Claude Code hides 18 virtual pet species inside production code that runs on your machine. MemPalace got 30K stars in 4 days - with 7,600 lines of Python. oh-my-codex runs 30 AI agents in parallel using git worktrees for isolation. None of this is in the docs. We found it by reading every file.

New teardown every Tuesday · Get it in your inbox (free) · Follow on X

Awesome AI Anatomy

15 AI agent projects dissected - architecture diagrams, design patterns, and the engineering decisions nobody documents.


Table of Contents


Greatest Hits

The 5 findings people can't stop sharing:

#FindingProjectWhy It Matters
1Claude Code ships 18 virtual pet species - a full tamagotchi system hidden in a coding agentClaude CodeWhat else is hiding in tools you run with sudo?
2Pi Mono's "stealth mode" mirrors Claude Code tool names for provider compatibilityPi MonoOpen-source projects gaming API providers is a trend
3MiroFish's "collective intelligence" = LLM social simulation - agents role-playing humans on a simulated social networkMiroFish50K stars driven by a compelling vision of agent-based prediction
4Lightpanda's bitcast dispatch makes Zig act like a language with vtables - a systems trick we'd never seen beforeLightpandaZig comptime metaprogramming pushed to its limits
5DeerFlow's orphan tool call bug - 93 lines of code fix a crash that affects every LangGraph-based agentDeerFlowIf you use LangGraph, you probably have this bug too

These are real findings from reading source code, not vibes from README files.

Ever wondered how Claude Code manages its context window? Or why Codex CLI chose Rust and built a 17K-line sandbox? These teardowns answer questions like that by reading the actual source code.


Project Index

15 AI agent source code analyses - from orchestration frameworks to coding assistants.

On mobile? Scroll right to see all columns, or tap a project name to read the full teardown.

#ProjectStarsLanguageLinesKey FindingsStatus
001Dify136KPython + TS1.24Mgraphon engine, 7+ containers, 30+ vector DBsPublished
002Claude Code109KTypeScript510K4-layer context, hidden pet system (18 species)Published
003Browser Use87KPython53KRaw CDP over Playwright, DOM pipeline beats screenshots 5x, skills system, custom Chromium forkNEW
004OpenHands71KPython + TS400K10 condensers, 3-layer security, 487-line stuck detectorPublished
005Cline60KTypeScript560K3,756-line God Object, 40+ providers, YOLO mode, hooks systemPublished
006DeerFlow58KPython + TS180K14-layer middleware, hash loop kill@5, no RBACPublished
007MiroFish50KPython + Vue39KLLM social simulation engine for collective intelligencePublished
008Goose37KRust + TS198KMCP-first bus, 5-inspector pipeline, 30+ LLMsPublished
009Pi Mono32KTypeScript147KGame-engine arch, stealth mode as Claude CodePublished
010MemPalace30KPython9KMilla Jovovich's 4-layer memory palace, AAAK dialect debunkedPublished
011OpenAI Codex CLI27KRust549KQueue-pair arch, Guardian AI approval, 3-OS sandboxPublished
012Lightpanda27KZig + Rust91KFrom-scratch browser for AI agents, 9x ChromePublished
013Hermes Agent26KPython260KSelf-improving skills, FTS5 search, frozen memPublished
014oh-my-claudecode24KTypeScript194K19-agent team via file IPC, Haiku→Opus routingPublished
015oh-my-codex19.5KTypeScript124K30 agents, git worktrees, plugin hook SDK, autoresearch loopsPublished
016Guardrails AI6.6KPython18KValidator Hub, reask self-correction loopPublished

Projects sorted by GitHub stars (descending).


Cross-Project Comparison

Interactive Comparison Tool - filter, search, and compare projects side by side.

We maintain a detailed COMPARISON.md with side-by-side analysis across all 16 projects:

  • Quick Reference (creator, stars, language, type, license)
  • Architecture patterns (agent loop, extensibility, deployment)
  • Multi-agent & orchestration approaches
  • Memory & persistence strategies

We also have a CROSS-CUTTING.md - a deep horizontal analysis covering:

  • Architecture pattern taxonomy across all projects
  • Context management strategies compared
  • Tool system design patterns
  • Security posture evaluation
  • Anti-pattern catalog with evidence
  • "Build from scratch" recommendations
  • Safety & security postures
  • "If I Were Building an Agent Today" synthesis

Read the full comparison →


What Makes This Different

Other "awesome" listsThis repo
Curate links and descriptionsDissect repos
"What they use"Why they chose it
Overview metricsArchitecture diagrams + trade-off analysis
High-level overviewsDetailed engineering analysis with code references
Praise everythingReveal engineering decisions and trade-offs

Each Teardown Includes

  • Architecture diagrams - Mermaid + hand-drawn style PNGs showing component relationships
  • Detailed analysis - security posture, architecture trade-offs, code quality observations
  • Core innovation analysis - what the project does that nobody else does
  • Code-level references - file paths + line numbers for every claim
  • Cross-project comparison table - how it stacks up against alternatives
  • "Stuff Worth Stealing" - patterns other projects should adopt
  • Verification log - every factual claim fact-checked against source code
  • Easter eggs and hidden details - the stuff you'd only find reading every file

Knowledge Base

Beyond individual teardowns, we maintain cross-cutting analysis:

  • COMPARISON.md - Side-by-side comparison across all 16 projects
  • CROSS-CUTTING.md - Patterns, anti-patterns, and architectural trends
  • knowledge/ - Structured knowledge base: design patterns, anti-patterns, and project metadata

Coming Next

  • Crush (22K stars) - OpenCode's successor, built by the Charm team (Bubble Tea)
  • Aider (36K stars) - Git-native AI pair programming, Python
  • Continue (28K stars) - Open-source AI IDE extension, TypeScript
  • Cursor - the most controversial AI IDE (closed source, partial analysis)
  • Windsurf - Codeium's AI IDE fork (closed source, partial analysis)

Have a project in mind? → Suggest a teardown


Contributing

Found an error? Have a better analysis? PRs welcome.

  • Fix factual errors
  • Add missing architecture details
  • Suggest projects to teardown → Open an Issue
  • Help translate teardowns

Stay Updated

New teardown every Tuesday.

Subscribe to AI Anatomy Newsletter -- the full analysis, delivered to your inbox. Free.

Follow @Neuzhou_ on X -- teardown highlights + AI agent commentary.

Star to bookmark this repo. Watch > Releases to get GitHub notifications when new teardowns drop.

16 deep-dives published so far. The next batch is already in progress.

Star History Chart


Legal Notice

These teardowns are independent technical commentary for educational purposes under fair use (criticism, commentary, and education). Analysis of proprietary products is based on publicly available information including published npm packages, source maps, and documentation. No source code from analyzed projects is hosted in this repository - only short citations for commentary.

Project names and trademarks belong to their respective owners. Star counts and metrics are snapshots at time of writing. Analysis may contain errors - please verify claims against current source code.

For takedown requests, please open an issue with specific concerns.


16 projects dissected. Updated weekly.

常见问题

What is awesome-ai-anatomy?

awesome-ai-anatomy is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by NeuZhou. Source code teardowns of 15 AI coding agents. What is actually inside Claude Code, Dify, OpenHands, Cline, MemPalace, oh-my-codex, Goose, Codex CLI, and 7 more. Architecture diagrams, design patterns. Every claim fact-checked. It has 234 GitHub stars.

Is awesome-ai-anatomy safe to use?

Yes. awesome-ai-anatomy passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install awesome-ai-anatomy?

Clone the repository with "git clone https://github.com/NeuZhou/awesome-ai-anatomy" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is awesome-ai-anatomy written in?

awesome-ai-anatomy is primarily written in D2. It is open-source under NeuZhou on GitHub, so you can review or fork the full source.

Are there alternatives to awesome-ai-anatomy?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh awesome-ai-anatomy against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情