A curated list of awesome Ruby AI / ML projects, libraries, frameworks, tools, and learning resources.
This list is consolidated from below resources and more:
- RoboRuby β Ruby AI News mentions https://rubyai.beehiiv.com/archive
- alexrudall/awesome-ruby-ai - https://github.com/alexrudall/awesome-ruby-ai
- Additional Ruby AI / ML ecosystem projects
- API Libraries & LLM Clients
- Agent Frameworks & AI DSLs
- RAG, Embeddings & Vector Search
- Machine Learning Libraries
- Rails & Application Integrations
- Bot Platforms
- MCP & Infrastructure
- Developer Tools, Evaluation & Observability
- Learning Resources (Books, Video, Audio)
- Community & News
- Miscellaneous
-
ruby_llm β Unified Ruby API for GPT, Claude, Gemini, and more. https://github.com/crmne/ruby_llm
-
ruby-openai β OpenAI API client for Ruby. https://github.com/alexrudall/ruby-openai
-
anthropic β Anthropic (Claude) API client for Ruby. https://github.com/alexrudall/anthropic
-
cohere-ruby β Cohere API client. https://github.com/andreibondarev/cohere-ruby
-
mistral β Mistral API client for Ruby. https://github.com/wilsonsilva/mistral
-
groq β Groq API client for Ruby. https://github.com/drnic/groq-ruby
-
open_router β OpenRouter API client. https://github.com/OlympiaAI/open_router
-
omniai β Standardized API across OpenAI, Anthropic, Gemini, Mistral, DeepSeek. https://github.com/ksylvest/omniai
-
durable_llm β Provider-agnostic LLM client with fallback strategies. https://github.com/alexrudall/durable_llm
-
llm_client β Generic LLM server API client. https://github.com/mariochavez/llm_client
-
midjourney β Midjourney API (via SlashImagine) for Ruby. https://github.com/alexrudall/midjourney
-
ollama-ruby β Ruby client for Ollama local models. https://github.com/ollama/ollama-ruby
-
rllama β Run llama.cpp locally from Ruby. https://github.com/ankane/rllama
-
RubyLLM Agents β Multi-agent orchestration built on RubyLLM. https://github.com/ruby-ai/agents
-
activeagent β Create agents that take instructions and perform actions. https://github.com/activeagents/activeagent
-
agentic β Declarative plan-and-execute agent framework. https://github.com/joaomdmoura/agentic
-
LangChain.rb β LangChain-inspired AI framework for Ruby. https://github.com/andreibondarev/langchainrb
-
raix β Ruby AI extensions. https://github.com/OlympiaAI/raix
-
sublayer β Model-agnostic Ruby generative AI DSL. https://github.com/sublayerapp/sublayer
-
Boxcars β Composable LLM application framework. https://github.com/BoxcarsAI/boxcars
-
Aoororachain β Opinionated AI application framework for Ruby. https://github.com/mariochavez/aoororachain
-
ruby-openai-swarm β Lightweight multi-agent orchestration. http://github.com/graysonchen/ruby-openai-swarm
-
roast β Structured AI workflows from Shopify. https://github.com/Shopify/roast
-
Raif β Rails engine for AI-powered features and agents. https://github.com/CultivateLabs/raif
-
RubyLLM::Agents - A Rails agent framework for RubyLLM β define AI agents with prompts, schemas, caching, logging, cost tracking, and a built-in dashboard for monitoring LLM usage in production. https://github.com/adham90/ruby_llm-agents
-
rag_embeddings β Simple embeddings and vector utilities. https://github.com/ankane/rag_embeddings
-
ragdoll β Opinionated Ruby RAG framework. https://github.com/ankane/ragdoll
-
neighbor β Vector similarity search for ActiveRecord. https://github.com/ankane/neighbor
-
pgvector β PostgreSQL vector extension (Ruby-friendly). https://github.com/pgvector/pgvector
-
chroma β Chroma DB API wrapper. https://github.com/mariochavez/chroma
-
milvus β Milvus vector database client. https://github.com/andreibondarev/milvus
-
pinecone β Pinecone vector database client. https://github.com/scotterc/pinecone
-
qdrant-ruby β Qdrant API client. https://github.com/andreibondarev/qdrant-ruby
-
weaviate-ruby β Weaviate API client. https://github.com/andreibondarev/weaviate-ruby
-
Rumale β Scikit-Learnβstyle ML library for Ruby. https://github.com/yoshoku/rumale
-
torch.rb β PyTorch-style tensors and autograd. https://github.com/ankane/torch.rb
-
TensorFlow.rb β Ruby bindings for TensorFlow. https://github.com/somaticio/tensorflow.rb
-
numo-narray β Numerical computing arrays. https://github.com/ruby-numo/numo-narray
-
clusterkit β Clustering and dimensionality reduction. https://github.com/ankane/clusterkit
-
rails_ai β Rails generators and helpers for AI features. https://github.com/ruby-ai/rails_ai
-
llama_bot_rails β Rails engine for agentic workflows. https://github.com/manuelmeurer/llama_bot_rails
-
Blazer AI β Natural language to SQL for Blazer. https://github.com/ankane/blazer-ai
-
instant18n β GPT-powered localization. https://github.com/obie/instant18n
-
HostedGPT β Self-hosted ChatGPT alternative (Rails). https://github.com/AllYourBot/hostedgpt
-
LLM Server β Host local LLMs via Rack API. https://github.com/mariochavez/llm_server
-
MagmaChat β Self-hosted ChatGPT platform (Rails). https://github.com/magma-labs/magma-chat
-
Monadic Chat β Highly configurable chatbot framework. https://github.com/yohasebe/monadic-chat
-
fast-mcp β Ruby implementation of Model Context Protocol. https://github.com/yjacquin/fast-mcp
-
mcp (official SDK) β Official Ruby SDK for MCP. https://github.com/modelcontextprotocol/ruby-sdk
-
rails-mcp-server β MCP server for Rails apps. https://github.com/maquina-app/rails-mcp-server
-
tidewave_rails β MCP-powered Rails integration. https://github.com/tidewave-ai/tidewave_rails
-
LLMTape β Record/replay LLM calls in tests. https://github.com/ankane/llm_tape
-
Leva β LLM evaluation framework. https://github.com/kieranklaassen/leva
-
Internator β AI-powered code iteration CLI. https://github.com/aaronmallen/internator
-
Botrytis β AI-powered fuzzy matching for Cucumber. https://github.com/westonganger/botrytis
-
RubyLLM::Monitoring β Monitor LLM usage in Rails apps. https://github.com/sinaptia/ruby_llm-monitoring
-
Patterns of Application Development using AI ($) https://leanpub.com/patterns-of-application-development-using-ai
-
RailsAI β Free book: Ship Rails AI MVPs fast. https://railsai.com
-
AI on Rails (YouTube channel) https://www.youtube.com/@AIonRails-v9s
-
thoughtbot β AI in Focus (playlist) https://www.youtube.com/playlist?list=PL8tzorAO7s0jaDFZYPAtR_AIHgD5J3a7d
- The Magic of RubyLLM with Carmine Paolino (Ruby Rogues) https://topenddevs.com/podcasts/ruby-rogues/episodes/the-magic-of-rubyllm-with-carmine-paolino-ruby-676
-
RoboRubyAI β Ruby AI newsletter. https://rubyai.beehiiv.com
-
Artificial Ruby β NYC Ruby AI community. https://www.artificialruby.ai/
-
Ruby AI (X Community) https://x.com/i/communities/1709211359039078677
-
Ruby AI Builders β Discord community. https://discord.com/servers/ruby-ai-builders-1081742403460923484
-
The Ruby AI Podcast https://www.therubyaipodcast.com
- GemChat.org - AI Chat with Ruby Gem https://gemchat.org
PRs welcome! Please include:
- Short description
- Canonical link
- Appropriate category
MIT