by liiiiiiiiil
Build an AI Coding Agent from Scratch, Step by Step | 从零一步步搭建 AI 编程 Agent,边实现边理解 Agent 的工作原理
# Add to your Claude Code skills
git clone https://github.com/liiiiiiiiil/agent-from-scratchGuides for using ai agents skills like agent-from-scratch.
Last scanned: 9/13/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-09-13T09:01:47.950Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how agent-from-scratch compares with popular alternatives.
agent-from-scratch is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by liiiiiiiiil. Build an AI Coding Agent from Scratch, Step by Step | 从零一步步搭建 AI 编程 Agent,边实现边理解 Agent 的工作原理. It has 87 GitHub stars.
Yes. agent-from-scratch 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.
Clone the repository with "git clone https://github.com/liiiiiiiiil/agent-from-scratch" and add it to your Claude Code skills directory (see the Installation section above).
agent-from-scratch is primarily written in Python. It is open-source under liiiiiiiiil on GitHub, so you can review or fork the full source.
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 agent-from-scratch against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
See comparison
从最小的 agent loop 开始,按 Git tag 和能力阶段逐步加入工具、安全、上下文和可靠执行能力。
English · 中文
适合想用 Python 标准库理解 LLM agent 如何运行的开发者。每课聚焦一个版本相对上一版新增的核心概念,源码、diff 和设计取舍都可追溯。
当前状态:主线代码已完成 v0.49(第 49 课:可续接子会话)。父 Agent 可在领取成功调查结果后,用原 ID 为具名只读子代理提交下一轮调查,并将空闲子会话随安全点保存、恢复;活动 worker 不跨进程恢复。教程以默认分支的 docs/tutorials/ 为准;运行某课时再切换该课声明的代码 tag。