
RubyLLM is an MIT-licensed AI framework for developers building Ruby and Rails applications with local or hosted models. Its shared API lets an application switch between Ollama, cloud providers such as Anthropic and OpenAI, and OpenAI-compatible endpoints without rewriting its model integration. The framework runs in your application; model processing happens at the local or hosted backend you choose.
Chat includes conversation history, streaming replies and attachments such as images, recordings and PDFs. RubyLLM also supports structured responses defined by schemas, so applications can work with predictable fields rather than free-form text. Agents can call Ruby tools, require human approval for selected actions, and coordinate through workflows with memory and work that resumes across background jobs and deployments.
For document search, it provides embeddings and relevance reranking alongside retrieval-augmented generation. Other capabilities include speech transcription and generation, image and video analysis and generation, document OCR to Markdown, and content moderation. Feature availability depends on the provider: the documented examples use Gemini for files, xAI for video, Mistral for OCR and Cohere for reranking.
Rails integration saves conversations with Active Record, stores files through Active Storage and streams replies with Hotwire. Active Job handles background agent work. The framework also tracks token usage and costs, supports batch requests and prompt caching, and provides retries and fallback handling when requests fail.
Claim this page with an email at rubyllm.com. RubyLLM gets the verified badge, and you can upgrade the listing to be featured on localhosted. Proud to be listed? Put our badge on your site.
Want more people to find RubyLLM?Promote it
Something wrong or outdated on this page?
38.4KUpdated 4 days agoMIT
#Code execution#MCP#Multimodal input
DSPy is a Python framework for developers building AI applications whose tasks need clear inputs, predictable output types, and measurable results. You define what a language model should produce, then compose those tasks into a larger program. It's open source under the MIT license.
26.6KUpdated 1 day agoApache-2.0
Docker#Guardrails#Hugging Face integration#Hybrid search
147.3KUpdated 1 day agoMIT
#Human approval#RAG#Streaming inference
13.2KUpdated 1 day agoApache-2.0
#MCP#Ollama integration#RAG
9.7KUpdated 9 months agoMIT
#Ollama integration#RAG#Semantic search
13KUpdated 21 hours agoApache-2.0
Docker#Agent Skills#Hugging Face integration#Knowledge graphs
Haystack is a Python framework for developers building self-hosted AI agents, document search, and apps that answer questions using their own data. Its modular pipelines let teams control which information reaches a model and inspect how retrieval, memory, tools, and generation contribute to an answer. It's open source under Apache 2.0.
LangChain is an MIT-licensed open-source framework for developers building AI agents and applications powered by LLMs. It provides a shared interface for models, tools and data connections, so developers can change providers or test workflows without rebuilding the whole application.
LangChain4j is an Apache 2.0 open-source Java library for developers building chatbots, assistants and AI agents in JVM applications. It connects application code to local LLM backends such as Ollama as well as cloud providers such as OpenAI and Google Vertex AI. Where model requests go depends on the backend you choose.
LangChainGo is a Go implementation of LangChain for developers building LLM applications in their own software. It connects Go programs to model backends, including Ollama for local LLM use and cloud services such as OpenAI and Gemini. It's a library, so its audience is developers who want to build an application rather than use a ready-made chat interface.
txtai is a Python framework for developers building search applications, chat with their data, and AI agents on their own hardware or servers. Its embeddings database combines sparse and dense vector search with graphs and relational data, so the same system can find related content and supply context to language models. It's open source under Apache 2.0.