01 / 07 — Selected work
Active developmentAI Python Mentor
A full-stack AI-powered platform for learning Python and backend development.
Updated 26 Nov 2026PythonMITv0.1.0
PurposeA learning environment where an AI tutor, structured paths and coding practice live next to a real backend.
What I builtAuthentication and sessions, PostgreSQL migrations, learning paths, an AI tutor with RAG, Python practice, background jobs, AI usage accounting, email and Telegram integrations, CI, and a separated architecture for executing Python safely.
Engineering
- Authentication and session management
- PostgreSQL migrations
- Structured learning paths
- AI tutor and RAG
- Python coding practice
- Background jobs
- AI usage accounting
- Email / Telegram integrations
- CI
- Secure separated Python execution
Technology
PythonFastAPIPostgreSQLSQLAlchemyAlembicNext.jsDockerRAGLLM
Architecture
- Next.js UI and FastAPI API are separate layers: the browser talks to the API, never to the database.
- PostgreSQL with Alembic migrations stores learning paths, progress and AI usage data.
- The AI tutor runs retrieval over course material in pgvector, so answers are grounded in the platform's own content.
Decisions
- PostgreSQL with migrations instead of an ad-hoc schema: the course model changes often and every change ships as a versioned migration.
- Retrieval through pgvector instead of stuffing the prompt: the tutor pulls only the chunks relevant to the current lesson.
- User Python runs in a separate, isolated execution path; the API process never executes submitted code.