Mar 12, 2025

/

release

Active Agent 0.2.6: Better Streaming, Less Config, More Power in Your Rails AI App

Active Agent is the only agent-oriented framework designed specifically for Rails, giving developers the tools to build agents for AI-powered apps with familiar, Rails-friendly conventions.

Whether you’re working with LLM-powered chatbots, AI assistants, or background agents that handle complex workflows, Active Agent provides a structured way to manage prompts, memory, and actions in your Rails app.

With version 0.2.6, I've made significant improvements to streaming responses by fully integrating them with action_prompt, and setup is more straightforward with automatic config loading. I also fixed some bugs and merged our first community PR!

See the 0.2.6 release candidate here. Official release and updated docs coming later this week, but don't hesitate to get started now!


What’s New in 0.2.6:

Fully Integrated Streaming 🌀

I've refactored streaming to work directly with action_prompt and the generation provider’s response class, making streaming responses fully integrated into Active Agent.

This means:

  • Your agent class now has higher-level access to streaming rather than relying on low-level components.

  • Previously, developers had to handle streaming manually without the benefits of action_prompt or structured response handling. Now, it’s all built in.

  • If you're running agents in background jobs, they can now stream responses to users via Turbo with minimal setup and no extra work needed.

Simplified Configuration ⚙️

No more initializer file needed! Active Agent now automatically loads its configuration, reducing setup and keeping your Rails app cleaner.

Bug Fixes 🪲

  • Resolved template rendering issues when passing parameters in controllers vs. the console (as seen in the thoughtbot stream).

  • Thanks to contributor Sean Winner, you no longer need to manually require "active_agent" in your Gemfile. 🤝

Get started now with the 0.2.6 release candidate!


What's Next For Active Agent

  • More updates to docs, making it easier to get started.

  • Example app coming very soon.

  • New generation providers (Anthropic, Gemini, and OLlama).


How to Contribute

Issues and PRs are very welcome!

If you run into any problems using Active Agent, the best way to help is to open an Issue on GitHub. Be sure to include the Rails and Ruby versions you’re using and your Active Agent version. Clearly describe the problem, share relevant errors or logs, and, if possible, steps to reproduce the issue.

This Issue from Colleen is a great example:

If you’re looking to contribute code, starting with issues or small PRs is the best place to start. Small PRs are easier to review and merge quickly, while large PRs may take longer or not get merged.

For those interested in playing a bigger role in maintaining and expanding Active Agent, feel free to reach out on Active Agent Discord or schedule a call with me to discuss how you can get more involved.

Let's Connect

Here’s how you can connect with me or get involved with Active Agent…

🛠️ Try it out (and open issues or submit a PR)

💬 Join the Active Agent Discord

Hire me to work on your AI project (10% off contracts signed Feb-March 2025)

📩 Email me at justin@activeagents.ai or schedule a call

🐙 Find me on Bluesky, X, LinkedIn, Github

Read More

Check out more content about new releases and AI concepts, written by Active Agent creator Justin Bowen.

Check out more content about new releases and AI concepts, written by Active Agent creator Justin Bowen.

Mar 15, 2025

More than an AI gem, Active Agent brings AI development in line with MVC conventions with AI agents as controllers.

Mar 15, 2025

More than an AI gem, Active Agent brings AI development in line with MVC conventions with AI agents as controllers.

Mar 15, 2025

More than an AI gem, Active Agent brings AI development in line with MVC conventions with AI agents as controllers.

Mar 15, 2025

More than an AI gem, Active Agent brings AI development in line with MVC conventions with AI agents as controllers.

Mar 12, 2025

Build AI agent apps in Rails with Active Agent. New release includes improvements to streaming, less config, and bug fixes.

Mar 12, 2025

Build AI agent apps in Rails with Active Agent. New release includes improvements to streaming, less config, and bug fixes.

Mar 12, 2025

Build AI agent apps in Rails with Active Agent. New release includes improvements to streaming, less config, and bug fixes.

Mar 12, 2025

Build AI agent apps in Rails with Active Agent. New release includes improvements to streaming, less config, and bug fixes.

Mar 7, 2025

Watch as we refactor a Rails RAG system on thoughtbot’s livestream, replacing custom AI logic with Active Agent for a cleaner, Rails-native approach.

Mar 7, 2025

Watch as we refactor a Rails RAG system on thoughtbot’s livestream, replacing custom AI logic with Active Agent for a cleaner, Rails-native approach.

Mar 7, 2025

Watch as we refactor a Rails RAG system on thoughtbot’s livestream, replacing custom AI logic with Active Agent for a cleaner, Rails-native approach.

Mar 7, 2025

Watch as we refactor a Rails RAG system on thoughtbot’s livestream, replacing custom AI logic with Active Agent for a cleaner, Rails-native approach.

Feb 20, 2025

NEW: Active Agent 0.2, a production-ready release candidate so you can start building AI features or refactoring your Rails apps today.

Feb 20, 2025

NEW: Active Agent 0.2, a production-ready release candidate so you can start building AI features or refactoring your Rails apps today.

Feb 20, 2025

NEW: Active Agent 0.2, a production-ready release candidate so you can start building AI features or refactoring your Rails apps today.

Feb 20, 2025

NEW: Active Agent 0.2, a production-ready release candidate so you can start building AI features or refactoring your Rails apps today.

Sep 10, 2024

In most cases, integrating AI isn’t as simple as just plugging in ChatGPT’s API—and without proper implementation, it can lead to critical business mistakes.

Sep 10, 2024

In most cases, integrating AI isn’t as simple as just plugging in ChatGPT’s API—and without proper implementation, it can lead to critical business mistakes.

Sep 10, 2024

In most cases, integrating AI isn’t as simple as just plugging in ChatGPT’s API—and without proper implementation, it can lead to critical business mistakes.

Sep 10, 2024

In most cases, integrating AI isn’t as simple as just plugging in ChatGPT’s API—and without proper implementation, it can lead to critical business mistakes.

Ready to build AI products with Rails?

Copyright © 2025 Active Agent / Justin Bowen

Website & marketing by Sea Foam Media, the premiere agency for AI products & dev tools.

Active Agents Newsletter

Subscribe to receive occasional updates, news, and content from Active Agents.

Ready to build AI products with Rails?

Copyright © 2025 Active Agent / Justin Bowen

Website & marketing by Sea Foam Media, the premiere agency for AI products & dev tools.

Active Agents Newsletter

Subscribe to receive occasional updates, news, and content from Active Agents.

Ready to build AI products with Rails?

Copyright © 2025 Active Agent / Justin Bowen

Website & marketing by Sea Foam Media, the premiere agency for AI products & dev tools.

Active Agents Newsletter

Subscribe to receive occasional updates, news, and content from Active Agents.