Claude Skill
czl9707/build-your-own-openclaw
通过这份分步Python教程,从零开始学习构建你自己的AI代理。涵盖LLM集成、工具使用和代理编排。
概览
仓库信息
安装这个 Skill
git clone https://github.com/czl9707/build-your-own-openclaw.gitRegistry 信息
项目简介
一份从零开始构建自己AI代理的分步教程,涵盖LLM集成、工具使用和代理编排,使用Python实现。
A step-by-step guide to build your own AI agent.
要点
- 构建AI代理的分步指南
- LLM集成与工具使用模式
- Python中的代理编排
- 实用的代码示例与讲解
- 面向学习者和开发者设计
使用场景
- 学习AI代理开发
- 构建自定义自动化工具
- 原型设计LLM驱动的助手
- 教育项目与教程
- 探索代理编排模式
README 摘要
# Build Your Own OpenClaw A step-by-step tutorial to build your own AI agent, from a simple chat loop to a lightweight version of [OpenClaw](https://github.com/openclaw/openclaw). <img src="Cover.png" style="width: 100%;"> ## Overview **18 progressive steps** that teach you how to build an minimal version of OpenClaw. Each step includes: - A `README.md` going through key components and design decision. - A Runnable codebase. **Example Project:** [pickle-bot](https://github.com/czl9707/pickle-bot) - our reference implementation ## Tutorial Structure ### Phase 1: Capable Single Agent (Steps 0-6) Build a fully-functional agent that can chat, use tools, learn skills, remember conversations, and access the internet. - [**00-chat-loop**](./00-chat-loop/) - Just a Chat Loop - [**01-tools**](./01-tools/) - Give your agent a tool. - [**02-skills**](./02-skills/) - Extend your agent with `SKILL.md` - [**03-persistence**](./03-persistence/) - Save your conversations. - [**04-slash-commands**](./04-slash-commands/) - Direct user control over sessions. - [**05-compaction**](./05-compaction/) - Pack you history and carry on... - [**06-web-tools**](./06-web-tools/) - Your Agent want to see the bigger world. ### Phase 2: Event-Driven Architecture (Steps 7-10) Refactor to event-driven architecture for scalability and multi-platform support. - [**07-event-driven**](./07-event-driven/) - Expose you agent beyond CLI. - [**08-config-hot-reload**](./08-config-hot-reload/) - Edit without restart. - [**09-channels**](./09-channels/) - Talk to your agent from on your phone. - [**10-websocket**](./10-websocket/) - Want to interact with you agent programatically? ### Phase 3: Autonomous & Multi-Agent (Steps 11-15) Add scheduled tasks, agent collaboration, and intelligent routing. - [