Internship · Maison de l’Intelligence Artificielle (MIA), UMP Oujda
Intelligent Database
A multi-tenant database for the medical domain, driven by an AI assistant — it proposes, a human approves.
What I did
-
Flexible data model: each medical service defines its own records without a predefined schema; the schema grows with use and stays versioned and validated.
-
AI assistant (Mastra agent + Gemini with tool calling): infers the schema from a plain-language description, enters and searches records, and proposes a new field instead of inventing information.
-
Human in the loop: every change the assistant proposes is simulated on the server, then accepted or rejected by the user.
-
Secure multi-tenant architecture: one database per service, OIDC authentication (Keycloak) through a BFF gateway with roles, containerised with Docker Compose.