Show HN: LlamaBot – Turn any Rails app into an autonomous AI agent in 2 minutes
2 kody_06 3 6/17/2025, 1:41:49 PM github.com ↗
Hi HN! I just open-sourced LlamaBot, a Rails gem that embeds a live, autonomous AI agent into any Rails app in under 2 minutes.
Key features: - Automatic app introspection via Rails Console - Persistent memory for custom commands and insights - Natural language training for tasks, rake commands, and data interactions - Powered by LangGraph with real-time ActionCable/WebSocket integration
Full walkthrough here: https://youtu.be/ZvqCO0AogDY
Shorts-style 3-min demo video here: https://youtube.com/shorts/ZWLl-5qMEGg?feature=share
Would love any thoughts, feedback, and any questions you have. :) Thanks!
Rails’ structure (ActiveRecord, migrations, generators, rich conventions) provides a deeply introspectable, consistent, and predictable environment—perfect for autonomous AI agents to learn, understand, and reliably execute tasks.
Other frameworks often require more custom glue or boilerplate. Rails is "batteries-included," which lets an AI agent leverage existing integrations (like Twilio, Gmail, Stripe, Quickbooks, etc.) out-of-the-box, making it the ideal playground for experimenting with powerful, generalized agents.
I built my first startup on Rails, it's extremely powerful and productive for solo devs, and my tool of choice for building quickly. :)