hyunhwan-bcm

Rsbot — AI skill for Claude Code

AI community

An exact port of PyBot to Rust, written by AI agents (Claude Code) and verified against PyBot itself on every recorded turn.

How to install Rsbot

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hyunhwan-bcm/rsbot and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rsbot does

An exact port of PyBot to Rust, written by AI agents (Claude Code) and verified against PyBot itself on every recorded turn.

Alternatives in AI

  • Academic Commercialization Agent — Turn any research paper into a commercialization report — 6 AI agents, TRL/MRL scoring, patent landscape, mark 581 ★
  • Ataru — High-performance AI memory retrieval for local agent history — a Rust search core (SDK / API / JSON CLI) plus 351 ★
  • Base — AI builder operating system 172 ★

README

rsbot: PyBot in Rust

![rsbot's web chat answering a four-turn conversation](docs/rsbot_chat.gif)

*The same four-turn conversation, run through PyBot in the terminal and through rsbot's web chat, gives identical replies word for word, including remembering the name in the last turn.*

An exact port of [PyBot](https://github.com/huggingface/pybot) to Rust, written by AI agents (Claude Code) and verified against PyBot itself on every recorded turn. PyBot is a rule-based chatbot (no weights, no training: if-else branches, regexes and lookup tables) that a swarm of agents wrote in about 640k lines of Python; its authors report a 26% win rate on SmolTalkBench. The goal here is **the same reply and the same conversation memory as PyBot on every turn**, as readable Rust, plus a speed and memory comparison.

**Status: complete.** Every PyBot function is ported (no stubs left), and on every recorded turn the Rust bot gives the same reply and the same memory as PyBot.

Results

Correctness: identical to PyBot

Every check compares rsbot with PyBot itself (commit 24cbc0439e07), with the clock pinned to 2026-11-17 and the same random seed. The reference ("oracle") was recorded by running PyBot over four sets of input:

Set What it is Size
single the SmolTalkBench prompts (1,000 gold + 1,198 held-out) 2,198 one-turn chats
conversations multi-turn chats on SmolTalkBench topics (smoltalk everyday-conversations) 2,379 chats, 9,348 turns
synthetic conversations written to reach the knowledge base's 8,081 entries 3,000 chats, 9,000 turns
extra chats from other public sets (smol-magpie-ultra, systemchats-30k, openhermes-100k) 4,500 chats, 10,494 turns

**Turn by turn** (`turn_check`): at every turn, each of the 116 module stages (16 observers, 97 responders, 2 after-hooks, the arbiter) is handed PyBot's exact memory and RNG state for that point, and its reply and memory changes must equal PyBot's.

| Set | Stage checks i