Version: 1.0.0
Last Updated: January 30, 2026
Status: Production Ready
Press Ctrl+K (or ⌘K on Mac) to search all documentation instantly!
SIRA (Système Intelligent de Recommandation Académique) is an AI-powered academic advisory platform that helps students discover personalized university programs and career paths through advanced RAG (Retrieval-Augmented Generation) technology.
SIRA combines cutting-edge AI technology with comprehensive academic data to provide:
- Chat-Integrated Recommendations: AI-powered program suggestions generated within conversational interface
- Real-time AI Advisor: Interactive chat with profile context for instant academic guidance
- Context-Aware Matching: Analyzes your profile AND conversation history for better recommendations
- Smart Matching: Advanced algorithms that consider grades, interests, budget, career goals, and chat insights
- Comprehensive Database: Extensive catalog of university programs from Morocco and international institutions
This documentation is organized by audience and use case:
| Document | Description | Use When |
|---|---|---|
| Getting Started Guide | Quick start for new users | First time using SIRA |
| User Manual | Complete feature reference | Learning all capabilities |
| FAQ | Common questions & answers | Troubleshooting issues |
| Document | Description | Use When |
|---|---|---|
| Architecture Overview | System design & components | Understanding system structure |
| API Reference | Complete API documentation | Integrating with SIRA |
| Developer Guide | Coding standards & practices | Contributing to codebase |
| Database Schema | Data models & relationships | Working with database |
| Technology Stack | Technologies & tools used | Understanding tech choices |
| Document | Description | Use When |
|---|---|---|
| Deployment Guide | Production deployment | Deploying to production |
| Operations Manual | Running & maintaining SIRA | Day-to-day operations |
| Security Guide | Security implementation | Security audit & hardening |
| Incident Runbooks | Emergency procedures | Handling production incidents |
| Document | Description | Use When |
|---|---|---|
| Project Status | Current development status | Tracking progress |
| Testing Strategy | Test coverage & quality | Assessing quality |
- Search Documentation → Press
Ctrl+K(or⌘Kon Mac) from anywhere - Install & Run SIRA Locally → Developer Guide - Setup
- Deploy to Production → Deployment Guide
- Create API Integration → API Reference
- Report a Bug → GitHub Issues
- Get Help → Support Channels
- OpenAPI/Swagger Docs: http://localhost:8000/docs (when running)
- Admin Dashboard: http://localhost:3000/admin (requires admin role)
- Health Checks: http://localhost:8000/health
- Metrics: http://localhost:9090 (Prometheus)
- Monitoring: http://localhost:3001 (Grafana)
┌────────────────────────────────────────────────────────┐
│ Client Layer │
│ ┌──────────────────────────────────────────────────┐ │
│ │ Next.js 16 Frontend (React + TypeScript) │ │
│ │ • Server Components • Client Components │ │
│ │ • Zustand State • Chart.js Visualizations │ │
│ └──────────────────────────────────────────────────┘ │
└──────────────────────┬─────────────────────────────────┘
│ HTTPS/JWT Auth (Clerk)
┌──────────────────────▼─────────────────────────────────┐
│ API Gateway │
│ ┌──────────────────────────────────────────────────┐ │
│ │ Nginx Reverse Proxy │ │
│ │ • SSL/TLS Termination • Rate Limiting │ │
│ │ • Load Balancing • Request Routing │ │
│ └──────────────────────────────────────────────────┘ │
└──────────────────────┬─────────────────────────────────┘
│
┌──────────────────────▼─────────────────────────────────┐
│ Backend API Layer │
│ ┌──────────────────────────────────────────────────┐ │
│ │ FastAPI (Python 3.11+) │ │
│ │ • REST API Endpoints • Authentication │ │
│ │ • SSE Streaming • Business Logic │ │
│ │ • Rate Limiting • Input Validation │ │
│ └──────────────────────────────────────────────────┘ │
└─────────┬──────────────┬──────────────┬───────────────┘
│ │ │
┌─────────▼────┐ ┌─────▼──────┐ ┌───▼──────────────┐
│ PostgreSQL │ │ Pinecone │ │ Mistral AI │
│ Database │ │ Vector DB │ │ LLM Service │
│ • User Data │ │ • Programs│ │ • Embeddings │
│ • Profiles │ │ • Semantic│ │ • Generation │
│ • Feedback │ │ Search │ │ • Streaming │
└──────────────┘ └────────────┘ └──────────────────┘
Frontend:
- Next.js 16 with React 19 & TypeScript
- Tailwind CSS + Shadcn/ui Components
- Zustand State Management
- Chart.js Visualizations
- Clerk Authentication
Backend:
- FastAPI (Python 3.11+)
- SQLModel ORM + PostgreSQL 15+
- LlamaIndex RAG Framework
- Pinecone Vector Database
- Mistral AI LLM
Infrastructure:
- Docker & Docker Compose
- Nginx Reverse Proxy
- Prometheus + Grafana Monitoring
- Redis Caching (optional)
- Multi-Profile Management: Create separate profiles for different academic paths
- AI-Powered Recommendations: Get personalized program suggestions based on your profile
- Real-time Chat Interface: Ask questions and get instant advice from the AI advisor
- Visual Insights: Match scores, timelines, and comparison charts
- Feedback System: Rate recommendations and help improve the system
- Mobile-Responsive: Access from any device
- RESTful API: Well-documented endpoints with OpenAPI/Swagger
- Server-Sent Events: Real-time streaming for recommendations and chat
- Type Safety: Full TypeScript/Python type hints
- Comprehensive Tests: 100+ unit and integration tests
- Docker Support: One-command local development setup
- Hot Reload: Fast development iteration
- Production-Ready: Comprehensive deployment automation
- Monitoring: Prometheus metrics + Grafana dashboards
- Security: SSL/TLS, rate limiting, input validation, JWT authentication
- Logging: Structured logging with ELK stack support
- Health Checks: Multiple endpoint health monitoring
- Incident Runbooks: Pre-written emergency procedures
Release Date: January 30, 2026
Status: Production Ready
Key Metrics:
- Phases Completed: 8/8 (100%)
- Tests Passing: 100/110 (91%)
- Code Coverage: 52%
- Security Audit: Passed
- Performance: Optimized
- Documentation: Complete (6,000+ lines)
- Phase 8 Complete: Testing & deployment preparation
- 100+ tests passing with 91% success rate
- Comprehensive security hardening
- Production deployment automation
- Monitoring and alerting configured
- Complete documentation suite
Phase 8.6 - Production Deployment (Ready to Execute)
- Infrastructure provisioning
- Production environment setup
- Database migration
- SSL/TLS configuration
- Smoke testing
- Go-live monitoring
See Project Status for detailed roadmap.
- Setup: Follow Developer Guide - Setup
- Architecture: Read Architecture Overview
- Standards: Review Developer Guide - Coding Standards
- First PR: Check Contributing Guidelines
# Start development environment
docker-compose up -d
# Run tests
cd backend && pytest
cd frontend && bun test
# Check code quality
cd backend && black . && isort . && flake8
cd frontend && bun run lint
# Create feature branch
git checkout -b feature/your-feature-nameFor Users:
- Email: support@sira.platform
- Live Chat: Available in-app
- FAQ: User Guide FAQ
For Developers:
- Bug Reports: GitHub Issues
- Feature Requests: GitHub Discussions
- Documentation: This repository
- Developer Chat: [Discord/Slack]
We welcome contributions! Please read:
Found a security vulnerability?
- DO NOT open a public issue
- Email: security@sira.platform
- See Security Policy
[Your License Here - e.g., MIT, Apache 2.0]
Built With:
- Next.js - React Framework
- FastAPI - Python Web Framework
- LlamaIndex - RAG Framework
- Mistral AI - Language Models
- Pinecone - Vector Database
- Clerk - Authentication
Special Thanks:
- All contributors and testers
- The open-source community
- Academic institutions providing program data
Last Updated: January 30, 2026
Documentation Version: 1.0.0
Contact: docs@sira.platform
Conversational AI architecture
- Server-Sent Events (SSE) implementation
- Real-time streaming
- Frontend-backend integration
- Error handling and recovery
Development was completed in phases, with comprehensive documentation for each:
Phase 3: Knowledge Base & RAG
- PHASE3_SUMMARY.md - Complete Phase 3 overview
- phase3_knowledge_base.md - RAG infrastructure details
- QUICKREF_PHASE3.md - Quick reference guide
Phase 5: Conversational AI
- phase-5-implementation-summary.md - Chat interface implementation
Phase 7: Feedback & Analytics
- phase7_implementation_summary.md - Complete Phase 7 overview
- phase7_frontend_implementation.md - Frontend implementation
- QUICKREF_PHASE7.md - Quick reference guide
Historical documentation, refactoring notes, bug fixes, and migration guides. Useful for understanding the evolution of the codebase.
Refactoring & Migrations
- API_REFACTORING_COMPLETE.md - OOP architecture refactoring
- API_MIGRATION_GUIDE.md - API migration procedures
- database_schema_refactoring_summary.md - Database refactoring
- data-inconsistency-analysis.md - Data consistency analysis
- zustand-implementation.md - State management implementation
Streaming & SSE
- SSE-Authentication-Security.md - SSE security implementation
- SSE-Migration-fetch-event-source.md - SSE migration guide
- streaming-fixes-implementation.md - Streaming fixes
- STREAMING_QUICKREF.md - Streaming quick reference
Bug Fixes & Features
- BUGFIX_OPTIONAL_PROFILE_STREAMING.md - Profile streaming bug fix
- FEATURE_STREAMING_UI_IMPROVEMENTS.md - UI improvements
Infrastructure
- task-2-3-file-upload-service.md - File upload implementation
- pinecone-troubleshooting.md - Vector DB troubleshooting
- For developers: Start with DEPLOYMENT_GUIDE.md
- For API integration: See API_REFERENCE.md
- For end users: Read USER_GUIDE.md
- Read Phase 3 documentation to understand RAG infrastructure
- Review conversation_system_implementation.md for chat architecture
- Check backend-security-hardening.md for security features
- Check DEPLOYMENT_GUIDE.md troubleshooting section
- Review archived troubleshooting guides in archive/
- Check test suite in testing-implementation.md
Frontend
- Next.js 16 with App Router
- React 19
- TypeScript
- Tailwind CSS
- Radix UI + Shadcn/UI
- Zustand (state management)
- TanStack Form (forms)
Backend
- FastAPI (Python 3.11+)
- SQLAlchemy + PostgreSQL
- Pydantic v2 (validation)
- Alembic (migrations)
AI/RAG
- LlamaIndex (orchestration)
- Mistral AI (LLM)
- Pinecone (vector database)
Infrastructure
- Docker + Docker Compose
- Nginx (reverse proxy)
- Clerk (authentication)
- Use Markdown for all documentation
- Include table of contents for documents over 100 lines
- Add last updated date at the top
- No emojis in production documentation
- Use code blocks with language specification
- Include practical examples where applicable
- Guides:
UPPERCASE_GUIDE.md(e.g.,USER_GUIDE.md) - Technical:
lowercase-with-hyphens.md(e.g.,backend-security-hardening.md) - Implementation:
phaseN_description.mdorPHASEN_SUMMARY.md - Archive: Original names preserved for historical reference
- Determine appropriate directory (guides/, technical/, implementation/)
- Follow naming conventions
- Include standard headers (title, date, table of contents)
- Update this README.md with new document reference
- Cross-link related documentation
- Complete documentation reorganization
- Removed emojis from production docs
- Created logical folder structure
- Added comprehensive guides for users, developers, and operations
- 76 tests with >80% coverage
- Production-ready deployment procedures
Documentation Issues: Open an issue on GitHub
Technical Support: support@sira-academic.com
Project Repository: https://github.com/yourusername/sira
Last Updated: January 29, 2026
Maintained by: SIRA Development Team