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!

Comments (3)

darrenspencer95 · 6h ago
Do people still use Ruby on Rails? Why build this for Rails instead of some other framework?
kody_06 · 6h ago
Absolutely! Rails continues to power incredibly productive teams and large-scale apps (GitHub, Shopify, Airbnb, Stripe, etc.). Rails uniquely enables small teams—or even solo developers—to build powerful, integrated apps quickly, which is exactly the environment I want for an AI agent.

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. :)

kody_06 · 7h ago
Active now if anyone has questions! :)