Tools
Ruby classes connect agents to application capabilities through declared inputs and ordinary method calls.
LittleGhost is a Ruby library for defining and coordinating AI agents. Call one from your application, or compose graphs and swarms when the work needs a team.
$ ruby customer_support_agent.rb
Hi! Tell me what happened, and I'll help you find the next step.
$ bundle exec ruby app.rb
Meet at the library next Thursday. Start with Why's Poignant Guide to Ruby, and invite neighbors through one shared signup page.
Ruby classes connect agents to application capabilities through declared inputs and ordinary method calls.
Use Ruby-directed workflows and graphs, model-directed subagents and swarms, or compose both.
Use the native backend for deny-by-default Seatbelt on macOS or Bubblewrap on Linux, then declare the files, processes, environment, and network access each child needs.
Use OpenRouter, OpenAI-compatible APIs, Anthropic, Gemini, Vertex AI, or Bedrock behind the same interface.
Stream text, tool activity, usage, and completion through one event shape—or return schema-backed structured results.
Preserve conversations, set deadlines, cancel work, instrument execution, and inspect detailed run results.