Agent Design Sourcebook — AI skill for Claude Code
35 pinned source snapshots for building AI agents: coding runtimes, SDKs, MCP, UI and skills.
How to install Agent Design Sourcebook
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Geruyang/agent-design-sourcebook and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Design Sourcebook does
35 pinned source snapshots for building AI agents: coding runtimes, SDKs, MCP, UI and skills. Bilingual reading routes and original upstream links.
Alternatives in AI
- Upstream Watch — Review pydantic-ai and pydantic-ai-harness releases published since the last watch entry, and record a verdict 361 ★
- PaiCLI Python — Python terminal AI agent CLI with ReAct tools, MCP, Runtime API, memory, snapshots, web search, and image inpu 107 ★
- Config Drift Checker — CI for your coding-agent setup (CLAUDE.md, skills, hooks): pinned baselines, a canary on every Claude Code rel 33 ★
README
想做自己的 Agent?从真实项目的实现开始。
35 个固定版本的源码/公开资料快照,附原始官网、出处、版本与阅读路线。
中文 · English · 全部 35 个来源 · 源码阅读路线 · 配套技能库
Agent 的难点往往出现在第一次工具调用之后:状态放在哪里?失败后怎么恢复?工具权限由谁控制?前端如何显示执行过程?这个仓库把相关实现放在同一张地图上,方便你比较、学习,并为自己的项目作出设计选择。
这里有什么
| 你正在解决的问题 | 可以先看的项目 |
|---|---|
| 编码 Agent 的运行循环、工具执行与审批 | Codex、TRAE Agent、OpenCode、Gemini CLI、Cline |
| 如何把 Agent 嵌入应用 | OpenAI Agents Python、Agents JS、Claude Agent SDK、OpenHands SDK |
| 自托管服务、状态与执行环境如何组织 | Agent Foundation、Goose、Pi |
| 聊天产品、桌面端与前端事件怎么组织 | LibreChat、Cherry Studio、AG-UI、ChatKit samples |
| 如何接工具、定义技能、管理上下文 | MCP SDK、MCP servers、Agent Skills、Context Engineering |
完整项目、官网、版本及条款见 **[SOURCES.md](SOURCES.md)**。这里直接包含源码文件,下载 ZIP 也能阅读,不需要逐一打开 35 个网页。
为什么做这个合集
- 从问题找实现:按运行时、SDK、工具协议、UI 和技能组织,而不是只列项目名。
- 固定版本,方便比较:每个快照有上游提交号,研究结果可以回到同一个版本核对。
- 源码就在仓库里:35 个主项目,保留已有的 Cline benchmark 子模块内容与原始声明。
- 中英文导航:可以分享给不同语言的团队成员,从同一套材料开始讨论。
- 技能和源码互相配合:配套 Agent Skills Library 中的 `a
Related Skills
Gimp MCP
Fork of maorcc/gimp-mcp: an MCP server that lets AI agents drive GIMP 3.x with live visual feedback (56 tools,
Toon Bend
Byte-for-byte port of the toon CLI (toon_rust: JSON <-> TOON, the token-efficient format for LLM context) to B
Translate Academic Paper
Translate academic papers & monographs (PDF) into a single self-contained bilingual HTML — Chinese/original/si
Capability Router
Zero-context-cost capability router for AI agents. Resolves slash commands, applies pinned rules, and learns r
AI Gateway
Custom AI reverse-proxy gateway: routes Anthropic/OpenAI agents (Hermes, Claude Code) through residential prox
English Reading Analysis
把英语试卷丢给 AI,输出可打印的中文解析。Agent Skill (SKILL.md): English passages & exam papers → Chinese translation, bilingual
Related Agents
Pipeline Engineer
WS4 specialist for ingestion pipeline integrity in genai_incidents. Use for WS4-T1 through WS4-T8 - pinned ing
Lean Coder
Token-efficient coding agent for any project. Use for edits, refactors and bug fixes (multi-file or unfamiliar
Mirror Keeper
Keeps the bilingual documentation shippable — writes and levels the Spanish mirrors under docs/es/, fixes inte