Skip to main content
v0.1.4 ยท Rails engine

Omni Agent

Just build agents

Generate agentic code the Rails way. Opinionated DSL for agents, tools, prompts, and provider config โ€” scaffolded with a single generator.

research_agent.rb
class ResearchAgent < OmniAgent::Agent
use_model "gpt-4o-mini"

before_generation :set_current_user

def set_current_user
@user = "Test User"
end
end

ResearchAgent.new.run("Hello!")
๐Ÿ›ค๏ธ

Convention Over Configuration

Opinionated, Rails-style generators scaffold agents, tools, and prompts so you can start shipping instead of wiring plumbing.

๐Ÿ”Œ

Provider-Agnostic

Swap providers and models per agent with provider or use_model. OpenAI ships out of the box, with more on the way.

๐Ÿ› ๏ธ

Tools Built In

Define tools with a JSON-schema-style DSL and let the built-in tool-calling loop handle invocation, retries, and stopping conditions.