Skip to content

Rails AgentsAgents for your Rails app

Define an agent as a plain Ruby class. Attach your app code as tools. Call .run. Speed to production — not framework noise.

Rails Agents
ruby
class LeadQualifier < RailsAgents::Agent
  provider :openrouter
  model "meta-llama/llama-3.3-70b-instruct:free"
  description "Qualifies inbound leads and creates a CRM note when promising."
  tools "SearchCrm", "CreateCrmNote"
end

LeadQualifier.run("New signup from acme.com — 50 employees, enterprise pricing")

Released under the MIT License by Tiny Bubble Company.