跳到正文
GitHub · 灵魂体仓库·· 20 天前精选AI 评分65

alicexl/mini-agent:用 6 个 demo 拆解 Agent 工程底层机制

alicexl/mini-agent

来源与原文

GitHub · 灵魂体仓库

发布时间:(北京时间)

阅读原始来源 · github.com ↗
完整链接与内容说明

https://github.com/alicexl/mini-agent

本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。

AI 导读

alicexl 在 GitHub 开源 mini-agent 项目,用 6 个递进的最简 demo 拆解 Claude Code、Cursor、Devin 这类自动干活工具的底层机制,核心公式为 Agent 效果 = LLM 能力 × Agent 工程。demo1 为 ReAct 循环 base,demo2-6 分别正交叠加记忆、工具扩展、规划、多 Agent 与约束五条轴;每个 demo 附讲稿、约 400-720 行可直接运行的 agent.py 和 README,默认通过智谱 BigModel 的 Anthropic 兼容网关调用 glm-5.2 模型,换官方 API 只需改 BASE_URL 和 MODEL。

推荐理由

用 6 个递进可运行的 demo 拆解 ReAct、记忆、工具、规划、多 Agent 与约束各轴,适合想从零看懂 Agent 工程底层机制的读者。

来源:GitHub · 灵魂体仓库 · github.com