agent-from-scratch
从零手写一个 AI Agent 的教学型 Python 项目:不依赖任何智能体框架实现核心循环,用约 3700 行可通读的代码,把 Agent 拆成乐高积木式的基础部件——模型调用、工具协议、执行上下文、记忆、RAG、Skills、E2B 沙箱与多智能体编排,逐层拼装、每一步都能追到源码。附 20 个可运行示例、21 章系统课程与 30 篇分层文档,配有单元与集成测试、mypy 严格类型检查。学操作系统要写迷你 OS,学数据库要写迷你数据库,学 Agent 就该亲手写一个:先建知识底座,再上生产框架。适合初学者、大学生与用过框架想补原理的工程师。MIT 开源,Python 3.13。
Details
- External ID
- 1370857850
- Source
- GITHUB
- Company
- —
- Product
- agent-from-scratch
- Website domain
- github.com
- Launched
- Sept. 15, 2026
- Cohort
- —
- Upvotes
- 12
- Upvotes percentile
- 0.3866256725595696
- Tags
- —
- Fetched at
- Sept. 19, 2026, 5:02 p.m.
- Updated at
- Sept. 19, 2026, 5:02 p.m.
Enrichment
- Theme
- developer tools for AI agents
- Vertical
- Education
- Function
- Dev tools
- Audience
- Developer
- AI stance
- AI-native
- Project type
- Hobby / open-source project
- Normalized one-liner
- educational tutorial and code for building ai agents from scratch
- Manually corrected
- False
Could you build this?
Yes It is an educational Python codebase implementing agent loops, memory, tool dispatch, and prompt engineering using standard APIs and clean application patterns.
Competitors
Other products that read as similar to this one — 382 launches clear the similarity bar, closest 8 shown.
Attention rank: #225 of 383 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 316 days after the earliest competitor.
- Agent-For-Dummies · github · 2026-09-19 · 11 upvotes · similarity 0.64
- Agent-Zero-To-One · github · 2026-09-20 · 12 upvotes · similarity 0.58
- zh-tech-writing · github · 2026-09-24 · 302 upvotes · similarity 0.53
- agent-skills · github · 2026-09-15 · 16 upvotes · similarity 0.50
- ai-native-jobhunt · github · 2026-09-23 · 13 upvotes · similarity 0.48
- novel-agent-studio · github · 2026-09-09 · 43 upvotes · similarity 0.47
- MaiWork · github · 2026-09-28 · 9 upvotes · similarity 0.46
- ai-desktop-outfit-video · github · 2026-09-20 · 38 upvotes · similarity 0.45
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.