llm.rb

A family of open-source AI runtimes, tools, and applications, all built on Ruby and the 0BSD license.

llm.rb Ruby AI runtime

llm.rb

Ruby's most capable AI runtime. One runtime for providers, agents, tools, skills, MCP, A2A, streaming, and persistence. Supports OpenAI, Anthropic, Google Gemini, DeepSeek, xAI, Ollama, and more.

CRuby MCP A2A Rails
robert FreeBSD AI assistant

robert

Artificial Intelligence packaged as a native, 2MB FreeBSD binary. Built on mruby-llm. Ask questions about manual pages, search documentation, and read files with tool confirmation.

FreeBSD Binary CLI
mruby-llm embedded AI runtime

mruby-llm

mruby's most capable AI runtime. A port of llm.rb to mruby that can be embedded into small standalone applications. Supports the same providers, tools, MCP, and A2A protocol.

mruby Embedded MCP A2A
rails-llm Rails AI integration

rails-llm

Rails integration for llm.rb. Generators, an engine with a stream-capable chat interface, and full access to the llm.rb runtime from your Rails application.

Rails Engine Generator Chat
relay.app self-hosted LLM web app

relay.app

A self-hostable, hackable LLM web environment built on llm.rb. Extend with your own tools and skills. Supports MCP servers, streaming, multi-turn conversations, and inline audio playback.

Roda Sequel HTMX MCP

About

The llm.rb family shares a common foundation: zero external dependencies by default, a single runtime for providers and tools, and the permissive 0BSD license.

llm.rb is the core Ruby AI runtime. rails-llm integrates it into Rails with generators and a chat engine. mruby-llm brings the same architecture to embedded mruby environments. robert is a complete FreeBSD AI assistant built on mruby-llm. And relay.app is a full-featured web application that you can self-host and extend.

Together, these projects provide a complete ecosystem for building AI-powered applications in Ruby — from embedded systems and CLI tools to full-stack Rails applications, all backed by the same proven runtime that supports every major LLM provider.

License

All projects are distributed under the BSD Zero Clause License. No restrictions on use, modification, or redistribution.