huggingface/pybot

PyBot: a chatbot written in pure Python by a swarm of agents. No weights, no training, just rules.

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

LLMs drive today’s chatbots and agents, but chatbots long predate them. Sixty years ago, ELIZA held conversations by matching patterns in what the user typed and answering with predefined templates. It could seem insightful, but its repertoire was narrow, and expanding it meant writing more rules by hand. How far could a rule-based chatbot go if a swarm of agents did that work instead? We challenged a swarm of over 1,000 agents to build a chatbot entirely in Python: no weights, no training, just if-else branches, regex patterns and lookup tables. The agents wrote and evaluated over 5,000 versions, and the chatbot’s win rate on SmolTalkBench, where an LLM judge compares each reply with a reference answer, climbed from 0% to 26%. That puts it on par with SmolLM-360M-Instruct, which just a few years ago was state of the art for models under 1B parameters. The result is PyBot: around…

huggingface/pybot on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-11-17T12:39:05.106Z

Inside the original README — Document outline
  1. PyBot: can Python be a chatbot?
  2. Try it out
  3. What is in this repository
  4. License

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: Apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

PyBot: a chatbot written in pure Python by a swarm of agents. No weights, no training, just rules.

Repository facts

Owner
huggingface
Primary language
Python
Stars
455
Forks
39
Open issues + pull requests
0
License
Apache-2.0
Archived
No
Default branch
main
Created
2026-11-12T11:35:13.000Z
Last push
2026-11-16T11:07:29.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-11-17T12:26:05.201Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent