Project

raif

0.07
There's a lot of open issues
A long-lived project that still receives updates
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, and AWS Bedrock.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Raif Logo

Gem Version Build Status License: MIT Documentation

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

Images/Files/PDF's

Embedding Models

Embedding Models

Web Admin

Web Admin

Customization

Customization

Testing

Testing

Demo App

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.