AI Learning Assistant — multi-tenant, Arabic-first
A multi-tenant AI learning assistant built on the Claude Agent SDK (Python 3.12, FastAPI, PostgreSQL 16) for eduArabia’s EdTech products. Arabic and English; student, teacher and admin roles. Product details are confidential until launch — the engineering is below.
- Claude Agent SDK
- FastAPI
- PostgreSQL · pgvector
- Row-level security
- gVisor
- LangGraph
- Designed the authorization model: per-tenant row-level security, consent-based delegated identity against the host platform, and a course-scoped execution gate that closed a privilege-escalation gap across 103 privileged tool modes.
- Built a network-isolated (gVisor) sandbox that lets the assistant analyse uploaded course content at ~$1.3 per package, with credentials held in a host-side broker.
- Built the evaluation harnesses that gate merges — tool routing, answer grounding, adversarial prompt injection — and cut the CI critical path by 53%.