#148148th of 171 in Learning and cookbooks
claw0
Ten-section Python tutorial for building an agent gateway from scratch
Watch puts claw0 on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.claw0 is on your watch list. Its new releases and problems show there.
- Stars
- 3.5k
- License
- no license
- Last commit
- Jun 2026
- Language
- Python
2,372 on 2 May 20263,457 on 28 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
claw0 is a teaching repository of ten runnable Python files, about 7,000 lines in total, that build an AI agent gateway step by step. It covers the agent loop, tool use, JSONL sessions, Telegram and Feishu channels, routing, memory, cron, delivery queues, retries and concurrency lanes. Code and docs are provided in English, Chinese and Japanese, and the sections are meant to prepare readers for the OpenClaw codebase.
Who it is for: Engineers learning how to build a chat-connected agent gateway in Python
Strengths
- Each section is one runnable Python file adding a single concept
- Covers production topics: write-ahead delivery queue, auth rotation, overflow compaction, named lanes
- Code and docs co-located in English, Chinese and Japanese
- Small dependency set: anthropic, websockets, croniter, python-telegram-bot, httpx
Weaknesses
- Teaching code, not a deployable gateway or installable package
- Examples target the Anthropic API; other providers only via compatible endpoints
- Only Telegram and Feishu channels are implemented
- No release published and no Docker setup
What it needs
- no GPU
- Needs Python 3.11+, Anthropic API key, Telegram bot (s04), Feishu (s04)
- Models: Anthropic Claude (or compatible provider)
Also in Learning and cookbooks
See all 171| Rank | Project | Score |
|---|---|---|
| #146 | second-brain-ai-assistant-courseSix-module course building an agentic RAG assistant over Notion notes | 26 out of 100 |
| #147 | llama-cookbookOfficial Meta notebooks for running, fine-tuning and building apps with Llama models | 25 out of 100 |
| #149 | llm-agents-ecosystem-handbookHandbook of agent-stack guides, templates and a multi-provider LLM adapter | 25 out of 100 |
| #150 | introtodeeplearningJupyter notebook labs for MIT's Introduction to Deep Learning course | 23 out of 100 |
| #151 | machine-learning-specialization-courseraSolved notebooks for Andrew Ng's Coursera Machine Learning Specialization | 23 out of 100 |