coding

Chatbot Framework Rebuilt in Rust: 10MB Binary

A chatbot framework originally written in another language has been completely rewritten in Rust, resulting in a remarkably compact 10MB binary that

Someone got tired of “lightweight” chatbot frameworks that still need 350MB+ of Python dependencies, so they rebuilt the concept in Rust and ended up with something actually tiny.

femtobot is a single ~10MB binary that runs agent-style workflows on old Raspberry Pis and cheap VPS instances. It handles Telegram polling, local SQLite memory with vector storage, and tool execution (shell commands, file operations, web requests) through rig-core.

The whole thing was written pretty quickly, so the code favors simplicity over perfect Rust patterns, but it boots fast and sips resources compared to typical Python setups.

Quick start:

Good option for anyone running bots on constrained hardware or just wanting something that doesn’t eat half a gig of disk space before doing anything useful.