INV—W/LANG · CASE · 2026 ONE INTERFACE · THREE PROVIDERS · FIG. 01
Invental/ Works/ Language-Learning App
EdTech Applied AI — Internal product · applied-AI R&D

Learn the real dialect.

A language app that teaches a regional Spanish dialect the way people actually speak it — built from real conversations, translated into two languages, and engineered so the same features run on a paid frontier model or a free local one.

Internal product (Invental)
Product R&D · full-stack + applied AI
Translation pipeline · AI abstraction · Corpus · Real-time captions
Web · desktop capture · local + cloud AI
EdTech / applied AI
A dialect-first language-learning app built from real conversations
[ M · 01 ]
3
AI providers behind one interface — OpenAI · Claude · local Ollama
[ M · 02 ]
$0
Local-model cost that matched gpt-4o on idiomatic translation
[ M · 03 ]
1.15M
Real chat messages processed under a privacy-first pipeline
[ M · 04 ]
3.75h
Continuous stream transcribed with mid-run crash recovery

§ 01Context

Textbook Spanish is the wrong Spanish for a lot of people. This app teaches a specific regional dialect — its pronouns, its slang — from real material: pasted conversations, chat exports, and the language of everyday bureaucracy. Each source is translated into two languages with grammar notes and a per-turn vocabulary list that feeds a spaced-repetition dictionary. It was built for one learner first, with the community in mind.

§ 02Challenge

Four constraints pulled against each other. The translations had to be dialect-faithful, not generic. The source material is private chat data that must be anonymized before it goes anywhere. Running everything on paid frontier models gets expensive fast. And a live-captions feature had to survive hours-long audio streams without falling over.

The same features run on a paid frontier model or a free local one — and on idiomatic translation, the free one held its own.— Cost-vs-quality benchmark

§ 03The AI layer

The core design decision was to never marry the product to a single model vendor. One narrow interface (complete / completeVision) sits in front of everything, with adapters for OpenAI, Anthropic Claude and local Ollama / whisper, switched by config. Two tiers — a fast, cheap model for bulk work and a smarter one for hard cases — keep cost down. The translation call itself returns a validated JSON contract (detected language, translations, gloss, notes, extracted vocabulary), turning an LLM into a reliable typed API.

That abstraction paid off in a way we could measure. On roughly 2,000-segment broadcasts, the free local model matched or beat a paid frontier model on idiomatic translation — $0 versus about $0.54 per broadcast — so the paid key is now reserved only for the app's live path.

Piece · 01 Provider-agnostic AI

One interface, three providers, two tiers — the same feature runs on a paid model or a free local one.

Strategy patternOpenAIClaudeOllama
Piece · 02 Typed LLM output

Every translation returns a schema-validated contract with gloss, notes and extracted vocabulary — an LLM as a typed API.

zodStructured output
Piece · 03 Privacy-first corpus

Deterministic pseudonyms, PII redaction and content-hash idempotency — anonymize, then aggregate, enforced at the database.

PseudonymizationPII redactionPostgres RLS
Piece · 04 Real-time captions

Persist raw audio first, derive chunk numbers from disk, survive provider overloads — restart-proof by design.

whisper.cppVADResume-safe

§ 04Privacy & real-time

Because the corpus is real people's messages, privacy is a hard rule, not a feature. Names become deterministic salted-hash pseudonyms (stable but non-reversible), a redaction pass strips PII while preserving the linguistic content, ingest is idempotent by content hash, and only anonymized, aggregated data ever reaches the world-readable tables — enforced by Postgres row-level security.

The live-captions tool applies the same discipline to reliability: it persists raw audio before transcribing, derives the next chunk number from disk so a restart never overwrites, supports resume, and beat a known transcription repetition-loop failure mode. It transcribed a 3.75-hour stream into thousands of trilingual, section-labeled segments — recovering from a provider overload mid-run.

§ 05Result

  1. An AI layer that isn't locked in. Every feature runs on OpenAI, Claude or a free local model — with a real cost finding to back the choice.
  2. A corpus you can use safely. 1.15M real messages, anonymized and aggregated by design.
  3. Real-time that survives the long tail. A crash-resilient transcription tool proven on a 3.75-hour stream.
  4. A growth instrument built in. A monitor that tracks whether answer engines actually cite the product.

— Internal product · pre-launch; metrics above are engineering, not end-user. Building applied AI? Start a conversation.

— More work View all case studies ↗
Real-time Odds Platform
Real-time Odds Platform
2026Sports-tech
Real-time odds, scores & AI predictions
RWA Tokenization dApp
RWA Tokenization dApp
2026Web3
Fractional, KYC-gated RWA tokenization
Network-analytics App
Network-analytics App
2026Desktop / AI
A native macOS network-analytics app

Building with LLMs? Let's do it right.

We build applied-AI products that don't lock you to one model — provider-agnostic layers, privacy-first data pipelines, and the real-time bits that are harder than they look. Thirty minutes is usually enough to see if we're a fit.

Book an intro call