Introducing Spectre: AI-Enable Your Ruby on Rails Application
Spectre is the latest addition to our open-source library: a Ruby gem that makes it easy to AI-enable your Ruby on Rails application.
Matthew Black
We're excited to announce the latest addition to our open-source library: Spectre. This new Ruby gem makes it easy for developers to AI-enable their Ruby on Rails application. This release marks a significant step forward in our continued commitment to the open-source community and our mission to simplify AI integration for developers.
Why Spectre?
When we began incorporating Large Language Model (LLM) functionality into Mav, we found the existing foundations for Ruby and Ruby on Rails to be messy and fragmented — very un-Rails like. We created Spectre to address this gap, providing a clean and efficient way to bring AI capabilities to your Rails projects.
What Spectre Focuses On
Currently, Spectre focuses on four key areas, making it ideal for applications featuring RAG (Retrieval-Augmented Generation), chatbots, and dynamic prompting:
- Creating embeddings
- Performing vector-based searches
- Generating chat completions
- Managing dynamic prompts
Our Commitment to Open Source
At Mav, we owe much of our success to the amazing open-source community. Visionaries like Yukihiro Matsumoto, the creator of Ruby, and David Heinemeier Hansson, the creator of Ruby on Rails, have inspired us tremendously. Contributing back to this community is one of our core values, and Spectre is a testament to that commitment.
What's Next
We're not stopping here. Support for additional foundation models is coming soon, further expanding Spectre's capabilities and versatility.
Spectre represents our dedication to making AI integration as seamless as possible for Ruby on Rails developers. We can't wait to see what you'll build with it 🛠️
With much love to the Ruby community,
The Mav Team
Keep reading
All posts
How Tos
How to Build Insurance Agency Sales Reports in Claude and ChatGPT
Copyable prompts for daily lead and transfer reports, lead source to quote tracking, weekly dashboards, and call transcript reviews in Claude or ChatGPT.
Mav Team
Agency Intelligence
Independent Insurance Agency Statistics 2026: Agencies, Premium, Pay, and M&A
How many independent insurance agencies there are, how much P&C premium they write, what producers earn, and how M&A is reshaping the channel in 2026.
Mav Team
Growth Strategies · Podcast · Quoted and Loaded
How I Use AI to Help Insurance Agents Figure Out Who to Market To
How to use AI with free census and DMV data to find the zip codes that look like your best insurance customers, and why that research isn't consent to contact.
Greg Spano