huggingface / pybot
git clone https://github.com/huggingface/pybot.git
A rule-based chatbot in pure Python, with if-else branches, regex and lookup tables, written by a swarm of agents.
Why you might care
Useful if you want to see how far hand-written rules can go in a chatbot without weights or training. It needs only Python 3.8+ with no packages or model downloads, and it runs in a terminal with a -v flag that shows which module produced each reply.
+9
stars, 24h · #4,481
+164
stars, 7 days · #2,940
+1.3k
stars, 30 days · #892
1.3k
★ total · +15% this week
151
forks · 15 open issues
Star history (as recorded here)
LanguagePython
LicenseApache-2.0
Created2026-11-12 (22d ago)
Last push18d ago
Watchers5
OwnerOrganization
Links
README
Loading README…
Blurb generated by claude-haiku-5-5 13d ago. Star deltas marked ~ are extrapolated from partial history.