LexGrip · AI-assisted language learning
Connect the words you review with the sentences you practice.
LexGrip combines vocabulary review and AI-assisted practice in a language-learning product designed around the mistakes a learner makes.
The product problem
Recognizing a word and using it in a sentence are different tasks. LexGrip brings review and sentence practice together, with recurring mistakes helping shape what the learner practices next.
The product experience
The public product describes frequency-based vocabulary decks, FSRS review scheduling, and an AI tutor for sentence exercises. Mistakes are grouped by grammar topic so learners can revisit patterns in their answers.
Who built it
Every part of LexGrip was designed and built by Farah Labs: the review scheduling and mistake-profiling logic, the tutor's question flow, the self-hosted speech pipeline, the data model, the identity layer, and the Kubernetes setup and cluster it runs on. None of it was contracted out.
How it is built
LexGrip keeps a record of the sentences a learner has worked through and what they got wrong, and builds a mistake profile from it: which grammar topics keep catching this particular person out. Tutor questions are then aimed at that profile rather than drawn from a fixed list, so practice follows the learner. Speech is generated in-house rather than bought per character, and model requests are routed rather than hard-wired, so a model can be swapped or compared without rewriting the product.
- SpeechPiperOpen-source neural text-to-speech, run locally so audio costs nothing per learner.
- Model routingOpenRouterSends each tutor question to a model, so one can be swapped or compared freely.
- Language toolingPythonThe speech and language processing around the learning content.
- ApplicationSpring BootReview scheduling, mistake profiles, and the tutor's question logic.
- DatabasePostgreSQLSentences, review history, and what each learner keeps getting wrong.
- IdentityKeycloakAccounts and sign-in, handled outside the application code.
- OrchestrationKubernetesRuns the services and scales the pieces that need it independently.
- HostingProxmox clusterRun on our own hardware rather than rented per-service cloud.
Have a focused use for AI in your product?
Let's define the task, the information it needs, and how to tell whether it is working.
Discuss your project