Skip to content

Rails AgentsThe framework for building agents in Rails

Like Eve for Ruby apps. An agent is a directory — instructions.md, tools, schedules. Production already included.

An agent is a directory

This is a Rails Agents agent.

One folder. A few files. At a glance you see who it is, what it can do, what it knows, and when it runs — same idea as Eve, native to Rails.

Create an agent in minutes

Focus on what it does — not how it runs.

Three commands. Your instructions.md is the agent. Cloud handles durable runs, schedules, and the dashboard.

$ rails-agents new weather
$ rails-agents test weather
$ rails-agents deploy weather
→ Deployed — dashboard opens with status & run logs

app/agents/weather/instructions.md

# Identity

You are a weather brief agent.
Fetch today's forecast for the user's
cities and post a short summary.

Prefer Tool Bridge tools over guessing.
Keep answers short and practical.

schedules/morning.yml

cron: "0 7 * * *"
timezone: UTC
message: |
  Fetch today's weather for configured
  cities and post the morning brief.

Batteries included

Everything a production agent needs.

Durable sessions, schedules, Tool Bridge, human-in-the-loop — delivered as gem + Cloud for Rails teams.

Durable execution

Checkpointed runs on Rails Agents Cloud. Agents park between turns, survive deploys, and resume on delivery.

Hosted schedules

schedules/morning.yml becomes cloud cron after deploy — no Render workers for your daily weather brief.

Tool Bridge

Signed callbacks into your Rails models, jobs, and services. Secrets never leave your app process.

Human-in-the-loop

Approval-sensitive tools can park a session until a human confirms — then resume from the same durable run.

Dashboard & logs

Status, environment, last run, and log lines at agents.meerkatagents.com after rails-agents deploy.

Honest billing

Free to sign up and define agents. Prepaid Credits before hosted runs. No pretend “free LLM” tokens.

Architecture

Runtime + surface — one picture.

Durable execution and Tool Bridge on the left. Where the agent shows up — API, cron, CLI, dashboard — on the right.

Runtime

Durable execution, state persistence, event streaming

Durable workflow

Checkpointed steps, park between messages, resume on delivery.

Rails Agents Cloud

Model runtime

Model calls, streaming, prepaid Credits metering.

AI Gateway

Tool Bridge

Signed callbacks into your Rails app. Secrets stay in Rails.

HMAC /rails_agents

Hosted schedules

Cron from schedules/morning.yml — no Render workers.

Cron

Tools & subagents

Rails tools, child agents, optional skills.

Surface

Where your agent gets surfaced

Where it runs

  • API · Agent.run
  • Hosted cron
  • CLI · rails-agents deploy
  • Dashboard · runs & logs
  • Tool Bridge · Rails
  • DB / weather APIs
  • Sandbox keys
  • Production keys
  • Slack / web (roadmap)
  • Eval suites (roadmap)

Hosted at agents.meerkatagents.com

Works natively with Rails

Same app. Same deploy. Your tools stay home.

Install the gem, mount the Tool Bridge, keep API keys and DB access in Rails. The cloud agent calls back with HMAC — no second stack.

Gemfile

gem "rails-agent-stack"

Then

bin/rails g rails_agents:install
# open /agents on your domain
rails-agents new weather
rails-agents deploy weather

Not another chat gem

RubyLLM is a toolkit. This is an agent product path.

Use RubyLLM when…

You want a multimodal LLM SDK, embeddings, and chat persistence you host yourself.

Use Rails Agents when…

You need Eve-style durable agents in Rails — directory in, deploy out, schedules and Tool Bridge included.

Build your first durable agent today.

Docs, gem, and Cloud — one path from instructions.md to production.

Released under the MIT License by Tiny Bubble Company.