Discover and explore top open-source AI tools and projects—updated daily.
Ruby AI eXtensions for LLM integration
Top 94.4% on SourcePulse
Raix provides Ruby developers with discrete, composable AI components for integrating Large Language Models (LLMs) into applications. It extracts core functionality from the Olympia AI platform, enabling developers to add AI capabilities to existing Ruby projects, particularly those using ActiveSupport.
How It Works
Raix offers modular mixins for Ruby classes, starting with ChatCompletion
for managing conversation transcripts and interacting with LLMs. It supports multiple AI providers (OpenAI, OpenRouter) via an adapter pattern, with OpenRouter as the default. Key features include flexible transcript formatting, prompt caching for efficiency, JSON mode for structured output, and robust tool/function dispatching that allows AI to call and execute Ruby functions seamlessly within a conversation.
Quick Start & Requirements
gem install raix
or add gem 'raix'
to your Gemfile
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
2 months ago
1+ week