#60 · Primary category: LLM Application Frameworks
ruby_llm
One delightful Ruby framework for every major AI provider. Build AI agents, chatbots, RAG apps, and multimodal workflows in beautiful, expressive code.
Project last updated:08/28/26
GitHub Stars
4.3K
Forks
491
Contributors
117
License
MIT
Why we included this project
Every major AI provider ships its own Ruby client with different APIs and response formats, so supporting more than one is normally a mess of adapter code. RubyLLM replaces that with a single set of methods that work the same across OpenAI, Anthropic, Google, xAI, AWS, and local Ollama models, letting you swap providers without rewriting your application. On top of plain chat it handles tool calling, agents, structured JSON output, embeddings, image generation, and audio transcription and speech, all in short readable calls that fit naturally into a Rails codebase. That covers a quick chatbot prototype as well as heavier jobs like pulling text out of PDFs and images or a RAG pipeline that needs several model capabilities at once. It is a gem you run yourself rather than a hosted service, so you bring your own API keys and run it wherever your Ruby app already lives; Chat with Work, a fully private work AI, uses it in production.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform