PyBot: No weights. No training.
@lvwerra14K followers
689,863 views
30 Comments
Comments from the original post on X (Twitter)

@ArjunGuha
Oh fantastic. I had similar inspiration last weekend: This is a rule-based natural lanuage to code program that gets 16.6% on MBPP train set. This is a few hours of idly prompting gpt-6.1-sol. The only dependency is Spacy.
11 likes

@lvwerra
oh cool, maybe we should make a version next targeted at programming!
1 like

@ArjunGuha
Now that I see yours, I'm not sure why I bothered with a training set. The agent can self-distill its own "training data" for the rule-based system. The general observation is that we can get these agents to write code that no human wanted to write (e.g., verify all software).
1 like

@lvwerra
Yes, I think there are programs now feasible that just weren't interesting a few years ago.
3 likes

@georgi_ai_
💀
9 likes

@lvwerra
multi-turn is a known limitation and i think typos also throw it off. here's a quick example where it works quite well. also dont expect agi, we only claim it's as good as a 360M model!

@isuryatk
Is this a April fools joke ?
4 likes

@thesimaximalist
1,000 neural agents raising a rule-based chatbot is a very funny family tree 😂
2 likes

@wselby970
@slimer48484 Holy shit we’ve come full circle.
2 likes

@kalapowered
first bug report's going to say "line 412,907 was rude to my nan"
2 likes

@lvwerra
feel free to open a pull request!

@somi_ai
600k lines of rules is basically weights you can grep
1 like

@CatAstro_Piyush
super cool!
1 like

@lvwerra
thank you Piyush! you can try it here:
4 likes

@CatAstro_Piyush
Love the interface. Also, that you can see which module made it reply.
1 like

@MagisterLudiX
@victormustar Nice. Why Python?

@4korite
Interesting! I can see things like this being useful in documentation, wikis and such

@n0ur_salama
600k lines nobody will ever read is wild lol. how do u even review code from 1000 agents, do u just trust the evals at that point?

@nexusxrobotics
the 600k lines of Python is doing the work of a learned policy here, not just "simple rules." the agents encoded patterns a model would otherwise need to learn.

@WolkyenCo
I tried It and Its pretty amazing alrdy and i even have alrdy customized It!








