学习 Agent 的教程、实现和记录(包含代码)
add more advanced features tutorials later, including:
- Multi-Agents
- Todo Lists and Planning
- MCP, Skills and more
- Reflection and A2A, A2UI , etc.
- Advanced Memory Management
- Tool orchestration (routing, retries, fallbacks)
- Tool caching and idempotency
- Safety and guardrails
- Evaluation and testing (golden prompts, regression)
- Observability (logging, tracing, cost/latency)
- Context management (trim, summarize, chunk)
- [ ]RAG / Knowledge base (retrieval, citations)
- [ ]Prompting patterns (router, planner-executor)
- Streaming and UI
- Deployment and cost control (rate limit, model routing) ...
This project just for learning purpose.
安装,并运行
uv sync
# 修改.env.example为.env,填写 DeepSeek API Key
uv run main.py
| 文档 | 内容 |
|---|---|
| 01-miniagent | Agent 核心概念:LLM、Toolkit、Memory、Agent 的关系与实现 |
| 02-file&bash | FileTool:文件读写、命令执行、安全机制 |
| 03-todolist | TodoList:任务规划与进度追踪 |
| 04-subagent | SubAgentTool:子代理与多代理协作 |
| 05-skills | SkillTool:技能模块化与领域知识注入 |
References + Learning Resources: DOCS: HelloAgents learn-claude-code Claude Agent SDK agno
VIDEOS: 马克的技术工作坊