Announcing Spectre 2.0: Claude & Gemini Support
Build smarter, faster, and more flexible AI apps in Rails with Spectre 2.0
Liz Love
Spectre 2.0: Claude & Gemini Support for Rails AI Developers
When we first launched Spectre, our goal was simple: make it easy for Rails developers to add AI to their apps without getting bogged down in APIs. With Spectre 2.0, we’re taking a big step forward.
What’s New in Spectre 2.0
Claude & Gemini Support
Spectre now works with Anthropic’s Claude and Google’s Gemini, alongside OpenAI and Ollama. You can mix-and-match models for the best fit, fallback, or comparisons.
Smarter Prompt Infrastructure
Managing prompts can get messy as apps grow. Spectre introduces nested directories, modular templates, and combined system/user prompts, making complex setups easier to maintain.
Consistent Chat & Completions
Different LLMs handle messages and output differently. Spectre standardizes these interactions so you get reliable behavior across providers.
Performance & Reliability
We’ve improved error handling, patched edge cases, and polished docs. It's the behind-the-scenes work that makes Spectre production-ready.
Why Model Choice Matters
Different LLMs shine in different areas. With multi-model support, you’re never locked into one “voice.” Choose the right model for each use case: concise, empathetic, or imaginative.
The Bottom Line
Spectre 2.0 empowers Rails developers to build smarter, more reliable AI apps faster. With Claude and Gemini support, improved prompts, and better consistency, Spectre is becoming a true AI platform layer for Rails.
👉 Explore the repo and start building today.
The future of Rails + AI is here — flexible, reliable, and exciting!
Keep reading
All posts
Automated Two-Way Texting for Insurance Agencies: The Complete Guide
Automated two-way texting for insurance agencies: how Mav texts every P&C lead in seconds, qualifies who's ready, and warm-transfers them to a licensed producer.
Hillary Black
How to Automate Insurance Lead Qualification: A 4-Step System
How to automate insurance lead qualification in 4 steps: text every lead in seconds, qualify by conversation, route to your CRM, and warm-transfer ready buyers.
Mav Team
How to Re-Engage Cold Leads With Automated Texting
Learn how to re-engage cold leads with automated texting: what to send, how to run the follow-up cadence, and how to stay inside consent rules.
Hillary Black