This project is part of the Berlin AI Automation Studio. It is governed by the global rules in berlin-ai-infra.
Setup for new laptops:
- Clone this repo.
- Run
./bootstrap-infra.shto link to the global Master Brain.
Translation middleware for vocabulary gaps between AI agents using different ontologies.
- Semantic Translation: Translates domain-specific terminology between vocabularies
- Learning Mappings: Stores and reuses learned vocabulary mappings
- LLM-Powered: Uses OpenAI GPT-4o-mini for intelligent translation
- Clean Architecture: Domain-driven design with SOLID principles
- Next.js 15 (App Router)
- TypeScript
- Prisma 7 + Neon PostgreSQL
- OpenAI API
- TailwindCSS
- Vitest + Playwright
npm install
npx prisma db push
npm run devPOST /api/translate- Translate a message between vocabulariesGET/POST/DELETE /api/mappings- Manage vocabulary mappings
Copy .env.example to .env and configure:
DATABASE_URL- Neon PostgreSQL connection stringOPENAI_API_KEY- OpenAI API key for translation
npm test # Unit tests
npm run test:e2e # E2E testsMIT