Logo
Raif (Ruby AI Framework) is a Rails engine that helps you add AI-powered features to your Rails apps, such as tasks, conversations, and agents. It supports for multiple LLM providers including OpenAI, Anthropic Claude, AWS Bedrock, and OpenRouter.
Raif is built by Cultivate Labs and is used to power ARC, an AI-powered research & analysis platform.
Table of Contents
Setup
View the setup guide.
Chatting with the LLM
View the chatting with the LLM docs.
Key Raif Concepts
Images/Files/PDF’s
Embedding Models
Web Admin
Customization
Testing
Demo App
Contributing
We welcome contributions to Raif! Please see our Contributing Guide for details.
License
The gem is available as open source under the terms of the MIT License.