How We Built an AI Car Diagnostic for a Swedish Automotive Company

Case studies
Automotive
How We Built an AI Car Diagnostic for a Swedish Automotive Company

How we built a full AI car diagnostic web app for a Swedish startup, from architecture to launch, with real repair data and billing infrastructure.

[ Client ]

About the Client

Carmy AB is a Swedish automotive tech startup building CarmyAI, a web app that acts as a virtual mechanic for everyday drivers. Users describe a symptom, paste a fault code, or upload a photo and get a clear diagnosis, cost estimate, and step-by-step repair guide. Their goal is to help drivers know what is wrong with their car before they spend a cent at a shop. To bring this vision to market, they needed a technical partner who could own the entire product build from the ground up.

Automotive
Sweden
1 month
AI Agent Development
Full-stack Development

24

Specialized Auto Diagnostic Tools

9

Countries Covered by License Plate Lookup

65%

Average Token Cost Savings via Prompt Caching
[ Challenge ]

From Vision to Commercially Ready Product

Carmy came to us at founding stage with a clear vision but no in-house engineering team. The product concept was strong. The technical reality was not simple.

The core problem was specificity. Generic AI responses were a non-starter. The product had to pull real manufacturer repair data, match it to a user's exact vehicle, and handle multiple input types including symptom descriptions, OBD fault codes, and photos. Vague answers would kill trust instantly.

On top of that, the business needed to launch commercially ready, not as a demo. That meant building in parallel:

  • Subscription tiers
  • Real usage tracking
  • Scalable infrastructure from day one
  • A billing system

They needed one partner to own the full build.

[ Solution ]

Building the Solution

We engineered an AI-powered mechanic assistant using Claude's tool-use capabilities, built on a Next.js full-stack architecture and deployed on Vercel with Supabase as the data layer.

Intelligent Vehicle Identification: We built a multi-country license plate lookup system that connects to manufacturer databases across 9 countries. Users enter their plate number, and the system automatically resolves make, model, year, and internal vehicle identifiers.

AI Agent with 24 Specialized Diagnostic Tools: At the core is a Claude-powered agent equipped with 24 automotive tools, from engine oil specs to diesel aftertreatment diagnostics. Claude autonomously decides which tools to invoke, chaining up to 10 tool calls per turn for complex multi-step diagnoses.

Transparent Streaming Diagnostics: We implemented a real-time Server-Sent Events streaming pipeline that displays exactly how the user's diagnosis was reached, building trust with DIY owners making safety-critical decisions.

Cost-efficient Prompt Caching: We enabled Anthropic's prompt caching on system prompts and conversation history, significantly reducing token costs on follow-up messages.

Token-based Usage Metering: We built a granular token-based billing system that logs usage per tool-calling leg, giving users fair value across Free, Plus, and Pro tiers with Stripe handling subscriptions.

Impact that Matters

[ Results]

CarmyAI launched as a complete, commercially ready product. Every layer of the platform, from AI diagnostics to billing infrastructure, was delivered production-grade from day one.

Diagnostic coverage from first interaction

Thanks to the multi-country license plate lookup and 24 specialized automotive tools, users receive vehicle-specific repair guidance from the very first message with no manual setup and no generic answers.

Trust built into the experience

Real-time streaming of tool calls gives users visibility into how their diagnosis was reached, a meaningful differentiator for safety-conscious DIY owners making repair decisions.

Economics that hold at scale

Prompt caching on system prompts and conversation history significantly reduces per-conversation token costs, keeping unit economics viable as usage grows across Free, Plus, and Pro tiers.

[ Tech Stack ]

Tech Stack

Visuals

[ Case Studies ]

Explore More
Success Stories

We have helped over 200 businesses grow their value and improve how they work through better software.

Accelerate Your Digital Transformation

Let's discuss how we can engineer your success.
Dmitry Klim
Head of Growth
5900 Balcones Drive #21729, Austin, TX 78731
+1 (512) 921-9631
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.