Connecting thoughts
Articles written by SINAPTIA about AI.
Evaluating LLM prompts in Rails
Finding the right model and prompt for your AI feature is harder than it looks. Spreadsheets help, until they don’t. So we did something about it.
AI agents in Ruby: Why is it so easy?
We found two keys to answer this question while building a full-featured coding agent in just 250 lines of Ruby code.
RubyLLM::Instrumentation: The foundation for RubyLLM monitoring
While working on RubyLLM::Monitoring, we needed a way to instrument all RubyLLM operations. But we wanted to do it without changing RubyLLM. Read along to know how we did it.
Monitoring LLM usage in Rails with RubyLLM::Monitoring
When you’re using multiple LLM providers, tracking costs manually becomes impossible fast. We needed visibility into our AI spending and LLM performance. Here’s the monitoring engine we built for Rails.
MCP on Rails
Learn how to integrate Model Context Protocol (MCP) with Rails to create AI-powered conversational interfaces that transform traditional web applications into intelligent, chat-based tools.
AI4Devs August meetup
A recap of the AI4Devs meetup on August 28, 2025: RAG applications, code assistant rulesets, AI-powered image classification & testing strategies.
Improving a similarity search with AI
We replaced a broken similarity search with AI that understands context and intent over specs. Results went from chaos to relevant overnight.
Upscaling images with AI
Learn how we improved image quality for thousands of boat listings using artificial intelligence, with the objective of improving the user experience and conversion rates.
Scaling image classification with AI
Learn how we used multi-modal Large Language Models to automatically categorize more than 1 million boat images, reducing months of manual work to a couple of days.
The untold challenges of OpenAI's batch processing API
The most important part of making OpenAI’s batch processing API work in the real world is building a reliable polling system. This post explains why that’s necessary, and what else you’ll need to handle: token limits, partial failures, and retries.
Building intelligent applications with Rails
Build AI-powered web applications with Ruby on Rails: strategic AI integration, OpenAI API implementation, and proven development patterns for intelligent software solutions.