RubyLLM
One beautiful Ruby API for OpenAI, Anthropic, Gemini, Bedrock
RubyLLM is an open-source Ruby library that provides a unified API for interacting with multiple large language model providers through a single, consistent interface. The library is designed to simplify the process of integrating AI capabilities into Ruby applications by abstracting away differences between model providers and API formats. Developers can use RubyLLM to communicate with a wide range of AI services including OpenAI, Anthropic, Google Gemini, Mistral, Ollama, and other compatible platforms through a single programming interface. The library supports advanced capabilities such as tool calling, structured responses, and schema-based outputs that enable developers to build more reliable AI-driven applications. RubyLLM also integrates smoothly with modern Ruby frameworks and development workflows, making it easier to embed AI functionality into web services, background jobs, and automation scripts.