Frameworks · agent framework
RubyLLM: review, pricing, security and alternatives
RubyLLM is an open-source agent framework published by crmne, in the frameworks family. Provides a Ruby interface for integrating language models, tools, embeddings and multimodal features into applications. Its repository has 4,483 stars and its last commit is from October 24, 2026.
| Adoption (stars) | 20/40 | |
|---|---|---|
| Activity (commits, releases) | 27/30 | |
| Framework (licence, control, models) | 25/30 |
What RubyLLM does
RubyLLM belongs to the frameworks family: libraries for building your own agents in code: loop, tools, memory, orchestration. On our grid it ranks #16 of the 28 projects of this family listed in the directory.
A framework is not used as is: it is a library developers build into their own code to describe the agent's tools, decision loop and memory. It requires programming skills, but leaves control over every detail.
You use it from: developer SDK. Usable models: Claude (Anthropic), Gemini (Google), GPT (OpenAI), and local models (Ollama, llama.cpp, vLLM…). It can run on your own machine or server.
Who is RubyLLM for?
It is for developers building their own agent or adding agentic AI to a product. Typical tasks people give it:
- build a business agent wired to your APIs
- orchestrate tool and model calls
- add memory and error recovery to an agent
It is a good candidate if your data must stay on your machines and you want the option of a local model, with no API fees.
Access and human control
A framework has no access of its own: the tools you plug in define what the agent can do. Start with read-only tools.
We could not establish whether it asks for human approval before sensitive actions: test it first on an unimportant account or folder.
RubyLLM pricing
The code is free, under the MIT licence.
Getting started with RubyLLM
- Install it by following the repository README (project written in Ruby).
- Pick the model: an API key from a provider, or a local model if your machine has enough graphics memory (the VRAM calculator tells you).
- Start with the minimal example from the docs, then add one tool at a time and check what the agent does with it.
- Give it a short, checkable task, review the result and its action log, then raise the difficulty step by step.
Security: risk level
A framework does not protect you by default: approval, minimal rights and sandboxing are up to you.
Three habits: least privilege (minimal rights, dedicated keys), human approval for irreversible actions, a sandbox for code execution. The AI agent security check reviews your setup in a few minutes.
Project activity and releases
Created on January 30, 2025, the crmne/ruby_llm repository has 4,483 stars, 523 forks and 14 open issues, with 2,079 commits in total. It received changes this month.
Over the last 52 weeks: 1,374 commits, an average of 26.4 per week.
46 releases in total; 17 in the last twelve months. Latest release: v2.1.1, on October 11, 2026.
RubyLLM vs other frameworks
GitHub stars of the best-rated open-source projects in the frameworks family. Stars measure attention, not quality: a heavily promoted project collects them fast, a specialised tool will have few.
RubyLLM and other frameworks at a glance
The 7 best-ranked agents in the same family, 7 of them open source. The score out of 100 only applies to open-source projects; for proprietary services we show the published entry price. A dash marks information the documentation does not state.
| Agent | Model | Score | Stars or entry price | Self-hostable | Human approval |
|---|---|---|---|---|---|
| RubyLLM | open source | 72 | 4.5K ★ | yes | – |
| LangChain | open source | 93 | 148.4K ★ | yes | – |
| LangGraph | open source | 87 | 43.8K ★ | yes | – |
| Haystack | open source | 84 | 26.8K ★ | yes | – |
| DSPy | open source | 83 | 38.8K ★ | yes | – |
| Agent Development Kit | open source | 83 | 22K ★ | yes | – |
| Pydantic AI | open source | 83 | 20.8K ★ | yes | – |
| Semantic Kernel | open source | 82 | 28.7K ★ | yes | – |
How we rated it
Score: 72/100, computed only from public, verifiable data, with no subjective testing or partnership:
- Adoption 20/40: 4,483 stars on a log scale (40 points from about 200,000).
- Activity 27/30: last commit less than a month ago, 5 releases in six months, 1,374 commits in a year.
- Framework 25/30: licence, default human approval, self-hosting, model choice and documentation site.
The score does not say whether the agent will succeed at your tasks: it measures how solid the project is. The full grid is on the method page.
Verdict
RubyLLM is a serious option; check the limitations below before granting it access.
Strengths
- Very active development
- Frequent releases (17 in a year)
- Can run on your side: data under control
- Free choice of model
- Permissive licence (MIT)
Limitations
- Requires programming skills
Avoid if…
- You want a ready-made agent, without code
Alternatives
- LangChain148.4K ★
- LangGraph43.8K ★
- Haystack26.8K ★
- DSPy38.8K ★
- Agent Development Kit22K ★
- Pydantic AI20.8K ★
Learn more
Frequently asked questions
Is RubyLLM free?
The software is free (MIT licence). You still pay for the model calls, unless you use a local model.
Is RubyLLM safe?
Our risk level: low. Give it minimum rights and approve irreversible actions.
Which models does RubyLLM use?
According to its documentation: Claude (Anthropic), Gemini (Google), GPT (OpenAI), and local models (Ollama, llama.cpp, vLLM…).
Can RubyLLM be installed on your own server?
Yes, from the crmne/ruby_llm repository. Data then stays with you, but security and updates are your job.
What are the alternatives to RubyLLM?
In the same family: LangChain, LangGraph, Haystack, and DSPy.
RubyLLM or LangChain: what is the difference?
Both belong to the frameworks family. RubyLLM has 4.5K stars against 148.4K for LangChain. The right choice mostly depends on the access you are willing to give it.
Related articles
- Open source or proprietary AI agent: how to decideOctober 25, 2026
- AI agent vs. chatbot: what's the difference?October 24, 2026
- Autonomous AI agents: how much should you let them do?October 12, 2026
- AI agent memory: how agents remember (and forget)October 11, 2026
Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score