The AI framework for Rails with less code & more fun

The AI framework for Rails with less code & more fun

The AI framework for Rails with less code & more fun

Build AI features that can perform actions, render views, & interact with any part of your Rails app—all in under 10 lines of code.

Active Agent is an open-source framework with Rails-native infrastructure & standardized conventions, helping you deploy AI features quickly & easily. No AI experience needed.

Build AI features that can perform actions, render views, & interact with any part of your Rails app—all in under 10 lines of code.

Active Agent is an open-source framework with Rails-native infrastructure & standardized conventions, helping you deploy AI features quickly & easily. No AI experience needed.

Build AI features that can perform actions, render views, & interact with any part of your Rails app—in under 10 lines of code.


Active Agent is an open-source framework with Rails-native infrastructure & standardized conventions, helping you deploy AI features quickly & easily. No AI experience needed.

Sign up for news & updates

Sign up for news & updates

Everything developers need to deploy AI features with Rails

Everything developers need to deploy AI features with Rails

Everything developers need to deploy AI features with Rails

Everything developers need to deploy AI features with Rails

Get started fast

Get started fast

Get started fast

Get started fast

Ship AI features in minutes with minimal setup, even without prior experience.

Ship AI features in minutes with minimal setup, even without prior experience.

Ship AI features in minutes with minimal setup, even without prior experience.

Ship AI features in minutes with minimal setup, even without prior experience.

Keep it simple

Keep it simple

Keep it simple

Keep it simple

Get more AI functionality with less code, using familiar Rails conventions.

Get more AI functionality with less code, using familiar Rails conventions.

Get more AI functionality with less code, using familiar Rails conventions.

Get more AI functionality with less code, using familiar Rails conventions.

Scale effortlessly

Scale effortlessly

Scale effortlessly

Scale effortlessly

Leverage existing Rails infrastructure like background jobs.

Leverage existing Rails infrastructure like background jobs.

Leverage existing Rails infrastructure like background jobs.

Leverage existing Rails infrastructure like background jobs.

Active Agent handles the complexity so you can focus on building

Active Agent handles the complexity so you can focus on building

Active Agent simplifies AI development by packaging complex AI interactions into a comprehensive open-source framework built specifically for Rails.


With Active Agent, you can:

  • Define agents that take prompts and perform actions.

  • Interact with AI services to generate text, images, speech-to-text, and text-to-speech.

  • Render generative UI with action prompts and view templates.

  • Scale with asynchronous jobs and streaming.


Active Agent also provides built-in patterns and conventions for building concise AI features in Rails. Whether you're launching a new product or enhancing a legacy monolith, Active Agent streamlines the process, making AI development fast, easy, and tons of fun.

Active Agent simplifies AI development by packaging complex AI interactions into a comprehensive open-source framework built specifically for Rails.

With Active Agent, you can:

  • Define agents that take prompts and perform actions.

  • Interact with AI services to generate text, images, speech-to-text, and text-to-speech.

  • Render generative UI with action prompts and view templates.

  • Scale with asynchronous jobs and streaming.

Active Agent also provides built-in patterns and conventions for building concise AI features in Rails. Whether you're launching a new product or enhancing a legacy monolith, Active Agent streamlines the process, making AI development fast, easy, and tons of fun.

How Active Agent works

How Active Agent works

How Active Agent works

How Active Agent works

Just like Action Mailer for emails, Active Agent uses familiar conventions to manage AI agents, prompts, & actions with minimal setup—making AI in Rails as simple as sending & receiving email. Active Agent includes these modules & features:

Action Prompt

Action Prompt defines actions that can be performed by agents and can render prompts and generative UI, making it easy to craft agent interactions using familiar Rails development patterns.

Generation Provider

The Generation Provider is a common interface to interact with AI services like OpenAI and Anthropic to generate text, images, embeddings, or speech.

Queued Generation

Queued Generation manages asynchronous tasks by handling prompt generation and response cycles with Generation Jobs, ensuring smooth, scalable AI interactions.

Callbacks

Provides hooks to execute custom code at specific points in the agent's workflow.

Streaming

Enables dynamic UI updates based on user & agent interactions.

Solid Agent

Provides Active Record models to store your agent interactions & context. (COMING SOON)

Sign up for our newsletter

Sign up for our newsletter

A new era of Rails development

A new era of Rails development

New era of Rails development

Without Active Agent, building AI with Rails is tedious and complex. Developers need to integrate with an AI provider, set up background jobs, create service objects and active models, and manually handle tool calls, callbacks, and streaming... all before writing a single line of code related to their product!

Not to mention, a lack of clear conventions is a recipe for spaghetti code. Fortunately, there's a better way.

With Active Agent, you can build an AI agent with actions and streaming responses in less than 10 lines of code, all using familiar Rails conventions.

Without Active Agent, building AI with Rails is tedious and complex. Developers need to integrate with an AI provider, set up background jobs, create service objects and active models, and manually handle tool calls, callbacks, and streaming... all before writing a single line of code related to their product!

Not to mention, a lack of clear conventions is a recipe for spaghetti code. Fortunately, there's a better way.

With Active Agent, you can build an AI agent with actions and streaming responses in less than 10 lines of code, all using familiar Rails conventions.

Without Active Agent, building AI with Rails is tedious and complex. Developers need to integrate with an AI provider, set up background jobs, create service objects and active models, and manually handle tool calls, callbacks, and streaming... all before writing a single line of code related to their product!

Not to mention, a lack of clear conventions is a recipe for spaghetti code. Fortunately, there's a better way.

With Active Agent, you can build an AI agent with actions and streaming responses in less than 10 lines of code, all using familiar Rails conventions.

What makes Active Agent different?

What makes Active Agent different?

Active Agent is the AI agent framework built specifically for the Rails ecosystem, making it the top choice for integrating AI into your Rails project.

Active Agent is the AI agent framework built specifically for the Rails ecosystem, making it the top choice for integrating AI into your Rails project.

Rails-native

Active Agent is built explicitly for Rails, following familiar patterns for concise, effortless integrations with your existing stack. It is the only comprehensive solution that truly embraces Rails conventions.

Lightweight

Active Agent keeps things simple, no multi-step workflows or unnecessary complexity. It integrates directly into your Rails app with clear separation of concerns, making AI features easy to implement and maintain. With less than 10 lines of code, you can ship an AI feature.

Flexible & extensible

Active Agent works seamlessly with tools like Langchain Ruby, pgvector, and the neighbors gem. Its agent-based architecture handles tool calls, renders prompts, and generates vector embeddings for pgvector with ease.

Stay up to date on new releases

Stay up to date on new releases

Why build AI with Rails?

Why build AI with Rails?

Why build AI with Rails?

Rails is known for productivity, simplicity, and developer happiness, driven by its focus on convention over configuration. That's why over a million developers worldwide rely on Ruby and Rails.

While Rails hasn't traditionally been the first choice for AI development, Active Agent is on a mission to change that.

Active Agent brings MVC conventions to AI, making it easy for developers who love Ruby and Rails to feel right at home building AI-powered products. Together, we're bringing Rails into the future of AI.

Rails is known for productivity, simplicity, and developer happiness, driven by its focus on convention over configuration. That's why over a million developers worldwide rely on Ruby and Rails.

While Rails hasn't traditionally been the first choice for AI development, Active Agent is on a mission to change that.

Active Agent brings MVC conventions to AI, making it easy for developers who love Ruby and Rails to feel right at home building AI-powered products. Together, we're bringing Rails into the future of AI.

Rails is known for productivity, simplicity, and developer happiness, driven by its focus on convention over configuration. That's why over a million developers worldwide rely on Ruby and Rails.

While Rails hasn't traditionally been the first choice for AI development, Active Agent is on a mission to change that.

Active Agent brings MVC conventions to AI, making it easy for developers who love Ruby and Rails to feel right at home building AI-powered products. Together, we're bringing Rails into the future of AI.

About Justin Bowen

About Justin Bowen

About Justin Bowen

Justin Bowen is the creator of Active Agent. With 17 years of experience building with Ruby and Rails, he’s on a mission to bring his favorite language and framework into the future of AI development, ensuring they remain a top choice for developers creating AI-driven products.

Over the past decade, Justin has developed AI solutions across a variety of industries and technologies. He’s partnered with Stanford Healthcare on computer vision for operating rooms, built AI tools for monitoring cow health in dairy barns, and helped large Rails monoliths implement new features with LLMs. Frustrated by the lack of AI tools for Rails and the constant need to build custom infrastructure, Justin created Active Agent to make AI development faster and tons of fun.

Born and raised in the San Francisco Bay Area, Justin left school at 16 to work for his dad’s startup and has been involved with startups ever since. In addition to Ruby and Rails, he has extensive experience building in Python, NextJS, and other languages and frameworks. When he’s not programming, Justin enjoys video games, yoga, traveling, and spending time with his wife and two cats.

You can follow Justin on LinkedIn or schedule a free 30-minute consultation to chat about Active Agent or your AI product.

Justin Bowen is the creator of Active Agent. With 17 years of experience building with Ruby and Rails, he’s on a mission to bring his favorite language and framework into the future of AI development, ensuring they remain a top choice for developers creating AI-driven products.

Over the past decade, Justin has developed AI solutions across a variety of industries and technologies. He’s partnered with Stanford Healthcare on computer vision for operating rooms, built AI tools for monitoring cow health in dairy barns, and helped large Rails monoliths implement new features with LLMs. Frustrated by the lack of AI tools for Rails and the constant need to build custom infrastructure, Justin created Active Agent to make AI development faster and tons of fun.

Born and raised in the San Francisco Bay Area, Justin left school at 16 to work for his dad’s startup and has been involved with startups ever since. In addition to Ruby and Rails, he has extensive experience building in Python, NextJS, and other languages and frameworks. When he’s not programming, Justin enjoys video games, yoga, traveling, and spending time with his wife and two cats.

You can follow Justin on LinkedIn or schedule a free 30-minute consultation to chat about Active Agent or your AI product.

Justin Bowen is the creator of Active Agent. With 17 years of experience building with Ruby and Rails, he’s on a mission to bring his favorite language and framework into the future of AI development, ensuring they remain a top choice for developers creating AI-driven products.

Over the past decade, Justin has developed AI solutions across a variety of industries and technologies. He’s partnered with Stanford Healthcare on computer vision for operating rooms, built AI tools for monitoring cow health in dairy barns, and helped large Rails monoliths implement new features with LLMs. Frustrated by the lack of AI tools for Rails and the constant need to build custom infrastructure, Justin created Active Agent to make AI development faster and tons of fun.

Born and raised in the San Francisco Bay Area, Justin left school at 16 to work for his dad’s startup and has been involved with startups ever since. In addition to Ruby and Rails, he has extensive experience building in Python, NextJS, and other languages and frameworks. When he’s not programming, Justin enjoys video games, yoga, traveling, and spending time with his wife and two cats.

You can follow Justin on LinkedIn or schedule a free 30-minute consultation to chat about Active Agent or your AI product.

Subscribe to the Active Agent newsletter

Who is Active Agent for?

Who is Active Agent for?

Active Agent is designed for Rails developers who need a simple, Rails-native solution to quickly build AI features—even without deep AI expertise. It’s perfect for:

Large Rails monoliths

Struggling with the complexity of adding AI features to a large Rails monolith? Active Agent handles the heavy lifting, providing AI infrastructure and conventions to streamline development and boost your team's productivity.

Rails consultants

Need to deliver fast, tangible results to clients? Active Actent makes it easy, allowing you to demonstrate progress within days and iterate quickly—all while focusing on solving clients' problems, not building AI infrastructure from scratch.

Full-stack Rails devs

Interested in building with AI but lack the resources or experience? Active Agent allows you to build AI products using conventions you already know, helping you deliver more value and grow in your career without a steep learning curve.

Startup founders & solo devs

Launching an AI-powered app? Active Agent simplifies the process so you can focus on your product’s unique differentiators and bringing your ideas to market fast, all while building in a language and framework you love.

Active Agent FAQ

FAQ

What is an AI agent?

What is an AI agent?

What is an AI agent?

What is an AI agent?

Why build an AI agent?

Why build an AI agent?

Why build an AI agent?

Why build an AI agent?

What is generative UI?

What is generative UI?

What is generative UI?

What is generative UI?

Why build AI products with Rails?

Why build AI products with Rails?

Why build AI products with Rails?

Why build AI products with Rails?

Do I need AI development experience to use Active Agent?

Do I need AI development experience to use Active Agent?

Do I need AI development experience to use Active Agent?

Do I need AI development experience to use Active Agent?

How do I start using Active Agent?

How do I start using Active Agent?

How do I start using Active Agent?

How do I start using Active Agent?

What kind of AI features can I build with Active Agent?

What kind of AI features can I build with Active Agent?

What kind of AI features can I build with Active Agent?

What kind of AI features can I build with Active Agent?

Can I use Active Agent to build a RAG pipeline?

Can I use Active Agent to build a RAG pipeline?

Can I use Active Agent to build a RAG pipeline?

Can I use Active Agent to build a RAG pipeline?

What AI service providers can I integrate with?

What AI service providers can I integrate with?

What AI service providers can I integrate with?

What AI service providers can I integrate with?

Does Active Agent support LangChain?

Does Active Agent support LangChain?

Does Active Agent support LangChain?

Does Active Agent support LangChain?

What makes Active Agent different from other tools?

What makes Active Agent different from other tools?

What makes Active Agent different from other tools?

What makes Active Agent different from other tools?

Sign up for Active Agent news 😎

Sign up for Active Agent news 😎

Latest blogs on AI & tech

Latest blogs on AI & tech

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 © 2024 Active Agents / Justin Bowen

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

Quick Links

Active Agents Newsletter

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

Ready to build AI products with Rails?

Copyright © 2024 Active Agents / Justin Bowen

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

Quick Links

Active Agents Newsletter

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

Ready to build AI products with Rails?

Copyright © 2024 Active Agents / Justin Bowen

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

Quick Links

Active Agents Newsletter

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