RubyLLM
Ruby framework for working with LLMs, including chat, tools and agents, through one API.
Updated
✨ Try AgentScout's free AI image generator →Good for: building AI agents
Use cases
About RubyLLM
RubyLLM is listed in our frameworks category and is aimed at builders. Ruby framework for working with LLMs, including chat, tools and agents, through one API. Pricing, as the maker states it: Open source. Maturity: Active. We last checked the official link on 2026-11-30.
What is RubyLLM?
RubyLLM is a Ruby framework for building AI features the Ruby way, with models, tools, agents, sandboxed code, evaluations and Rails conventions under one consistent API.
You can move between hosted and local providers without rewriting your application, or connect an OpenAI-compatible endpoint.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: rubyllm.com.
Who is RubyLLM for?
Ruby and Rails developers adding chat, tools and agents to their apps.
RubyLLM at a glance
- Open source: Yes (MIT License)
- GitHub: crmne/ruby_llm · 4,489 stars (as of Oct 30, 2026)
Key features
- One API for chat, tools and agents
- Rails conventions
- Hosted, local or OpenAI-compatible providers
- Evaluations and sandboxed code
RubyLLM FAQ
What is RubyLLM?
RubyLLM is a Ruby framework for building AI features the Ruby way, with models, tools, agents, sandboxed code, evaluations and Rails conventions under one consistent API.
Who is RubyLLM for?
Ruby and Rails developers adding chat, tools and agents to their apps.
Is RubyLLM free?
RubyLLM's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.
Is RubyLLM open source?
Yes. RubyLLM is released under the MIT License, according to its GitHub repository.
What are alternatives to RubyLLM?
Similar tools include OpenAI Agents SDK (Python), Mastra, Embabel, Neuron AI, Emperor Agent and Open Intelligent UI.
RubyLLM ratings and reviews
Be the first to rate RubyLLM: tap 1 to 5 stars below. A written review is optional.
RubyLLM alternatives
Other frameworks tools in our directory. See all frameworks tools →
OpenAI Agents SDK (Python)
The OpenAI Agents SDK for Python is an MIT-licensed, lightweight framework for multi-agent workflows. Agents are LLMs with instructions, tools, guardrails and handoffs; sandbox agents work inside a container over long time horizons; realtime and voice agents cover speech pipelines; and built-in tracing shows each run. It is provider-agnostic, working with the OpenAI Responses and Chat Completions APIs and 100+ other LLMs, and has a JavaScript/TypeScript sibling (openai-agents-js).
Mastra
TypeScript framework for agents, workflows and RAG.
Embabel
Agent framework for the JVM from the creator of Spring.
Neuron AI
PHP framework for creating and orchestrating AI agents with LLMs, tools, vector stores and memory.
Emperor Agent
Emperor Agent is an open-source agent project that helps builders handle local Emperor-style AI agent with Vue WebUI, multi-provider LLMs, streaming chat, tools.
Open Intelligent UI
CopilotKit's open-source generative UI chat interface that turns questions into interactive explanations, comparisons and working tools. It is built on CopilotKit and AG-UI.