An AI-powered Linguistics Olympiad solver built with Mastra. This project uses agentic workflows to analyze and solve Rosetta Stone-style linguistics puzzles—the kind found in competitions like the International Linguistics Olympiad (IOL), UK Linguistics Olympiad (UKLO), and North American Computational Linguistics Olympiad (NACLO).
Rosetta Stone problems present sentences in an unfamiliar language alongside their translations. Solvers must deduce the underlying grammatical rules and vocabulary to translate new sentences. This project automates that process using multi-agent AI workflows.
[TBC]
[TBC]
- Node.js ≥ 22.13.0
- An OpenRouter API key
npm installCreate a .env file based on .env.example:
cp .env.example .envAdd your API keys to the .env file.
Start the Mastra development server:
npm run devTo start fresh (clears the database):
npm run dev:newThe examples/ directory contains sample problems from linguistics olympiads:
- Forest Enets (IOL 2024) – Uralic language from Northern Siberia
- Okinawan (IOL 2024) – Japonic language from Japan
- Saisiyat (UKLO 2025) – Austronesian language from Taiwan
- Mastra – AI agent orchestration framework
- TypeScript – Type-safe development
- Zod – Schema validation
- OpenRouter – LLM provider abstraction
This project is for educational and research purposes.