| Language / API | Python 3.12 · FastAPI · Uvicorn | Local study endpoints and application services |
| Chat | Telegram long polling | Private bot, per-chat commands and delivery; no inbound webhook required |
| Study graph | LangGraph 1.2.15 | Resolve → extract → teach with bounded state |
| Generation | Hugging Face Inference Providers | GLM-5.3 via Fireworks for paper study; separate Cerebras legacy route |
| Paper intake | arXiv API + PDFium | Versioned metadata, bounded PDF acquisition and isolated page-text extraction |
| Validation | Pydantic · JSON Schema | Strict request, response, lesson and claim-check contracts |
| Study persistence | SQLite | Per-user state, jobs, attempts, access controls and accounting |
| Reading maps | Pillow / libraqm · Windows GDI fallback | Deterministic section-order maps when Arabic shaping and fonts are available |
| Optional research | Deep Agents · local stdio MCP | Separate, pinned environment and bounded read-only paper tools |
| Older platform | OpenSearch · PostgreSQL · Docling · Airflow · Ollama | Broader ingestion/indexing and indexed-collection answers, not required for native paper study |
| Quality checks | pytest · Ruff · mypy · GitHub Actions | Mocked unit/API tests and static checks on Ubuntu |