IntelliStack ships with a built-in Export Agent (gitagent/) that lets any developer port the entire platform β or just one layer β to their preferred language and framework.
| Target Language | Frameworks Supported |
|---|---|
| Python | Django REST Framework |
| TypeScript / Node.js | NestJS, Express.js, Hono, Elysia |
| Java | Spring Boot |
| PHP | Laravel |
| Ruby | Ruby on Rails |
| Go | Go Fiber, Gin, Echo |
| C# | ASP.NET Core Minimal APIs |
How it works β just ask in plain language:
"Convert IntelliStack to NestJS with Prisma"
"Port only the auth layer to Laravel"
"Give me the Go Fiber version of the RAG chatbot"
"Convert the database models to TypeORM"
The agent reads the live codebase, produces a migration plan, then outputs production-ready, framework-idiomatic code with all imports, env vars, and a wire-up checklist.
Start here: gitagent/workflows/convert.md Β· Example scenarios: NestJS Β· Django Β· Go Fiber
IntelliStack is an AI-native Learning Management System purpose-built for Physical AI and Humanoid Robotics education. It replaces static course platforms with an intelligent, adaptive environment where learners progress through 5 gated stages β from foundational robotics concepts to a full capstone project β guided by a RAG-powered chatbot and a Socratic AI tutor at every step.
The problem it solves:
- Traditional LMS platforms have no AI layer β learners get stuck with no contextual help
- Robotics education content is scattered across docs, papers, and videos with no unified path
- Instructors have no visibility into where students struggle or how to adapt content
- Institutions lack the tools to manage cohorts, track progress, and deliver assessments at scale
How it works:
graph LR
A[Student Signs Up] --> B[Personalized Onboarding]
B --> C[Stage 1 Unlocked]
C --> D{Learn via Lessons}
D --> E[Ask RAG Chatbot]
D --> F[Use AI Tutor]
D --> G[Complete Assessment]
G -->|Pass| H[Stage 2 Unlocked]
G -->|Fail| D
H --> I[...]
I --> J[Stage 5 Capstone]
J --> K[Certificate Issued]
Scale: The platform is architected to handle 10,000+ concurrent learners β async FastAPI backend with connection pooling, Redis-backed rate limiting and caching, Qdrant vector search with sub-50ms retrieval, and horizontally scalable Railway deployments.
graph TB
subgraph Client["Client Layer"]
FE["Next.js 14 Frontend\n(Netlify)"]
DOCS["Docusaurus Docs\n(GitHub Pages)"]
end
subgraph Auth["Auth Layer"]
AUTH["Better-Auth OIDC Server\n(Railway Β· Node.js)"]
JWKS["JWKS Endpoint\n/.well-known/jwks.json"]
end
subgraph API["API Layer"]
BACKEND["FastAPI Backend\n(Railway Β· Python 3.11)"]
MW["JWKS Middleware\nJWT Validation"]
end
subgraph AI["AI Layer"]
RAG["RAG Pipeline\nQdrant + Cohere + OpenAI"]
TUTOR["AI Tutor\nLangGraph Β· Socratic Method"]
CHATKIT["ChatKit\nStreaming SSE"]
end
subgraph Data["Data Layer"]
PG[("PostgreSQL\nNeon")]
REDIS[("Redis\nCache + Rate Limit")]
QDRANT[("Qdrant\nVector Store")]
end
FE -->|"OAuth / Session"| AUTH
FE -->|"API Calls"| BACKEND
DOCS -->|"Auth Redirect"| AUTH
AUTH --> JWKS
AUTH --> PG
BACKEND --> MW
MW --> JWKS
BACKEND --> RAG
BACKEND --> TUTOR
BACKEND --> CHATKIT
BACKEND --> PG
BACKEND --> REDIS
RAG --> QDRANT
RAG -->|"OpenAI API"| CHATKIT
sequenceDiagram
participant U as User
participant FE as Next.js Frontend
participant AUTH as Better-Auth OIDC
participant API as FastAPI Backend
participant AI as RAG / Tutor AI
participant DB as PostgreSQL
U->>FE: Visit intellistack-app.netlify.app
FE->>AUTH: Sign In (Email / Google / GitHub)
AUTH-->>FE: JWT Access Token (RS256)
FE->>API: API Request + Bearer Token
API->>AUTH: Verify via JWKS endpoint
AUTH-->>API: Token valid
API->>DB: Fetch user/content data
DB-->>API: Data
API->>AI: RAG query / Tutor session
AI-->>API: Streamed response (SSE)
API-->>FE: Response
FE-->>U: Rendered content
graph LR
S1["Stage 1\nFoundations"]
S2["Stage 2\nROS 2 & Simulation"]
S3["Stage 3\nPerception & Planning"]
S4["Stage 4\nAI Integration"]
S5["Stage 5\nCapstone"]
S1 -->|"Unlock"| S2
S2 -->|"Unlock"| S3
S3 -->|"Unlock"| S4
S4 -->|"Unlock"| S5
style S1 fill:#3B82F6,color:#fff
style S2 fill:#22C55E,color:#fff
style S3 fill:#EAB308,color:#000
style S4 fill:#F97316,color:#fff
style S5 fill:#EF4444,color:#fff
Each stage unlocks based on passing assessments in the previous stage. Progress is tracked at lesson, exercise, and assessment level with badge issuance and certificate generation upon completion.
|
|
|
|
|
|
|
|
| Tool | Version |
|---|---|
| Node.js | 20+ |
| Python | 3.11+ |
| PostgreSQL | 16+ (or Neon cloud) |
| Redis | 7+ |
| Qdrant | 1.7+ (or Qdrant Cloud) |
git clone https://github.com/SARAMALI15792/AINativeBook.git
cd AINativeBookcp intellistack/.env.example intellistack/.env
cp intellistack/auth-server/.env.example intellistack/auth-server/.envKey values in intellistack/.env:
DATABASE_URL=postgresql://user:password@host:5432/intellistack
REDIS_URL=redis://localhost:6379/0
QDRANT_HOST=localhost
OPENAI_API_KEY=sk-...
BETTER_AUTH_URL=http://localhost:3001
BETTER_AUTH_SECRET=<min-32-random-chars>cd intellistack/auth-server && npm install && npm run migrate && npm run dev
# Runs on http://localhost:3001cd intellistack/backend
pip install -r requirements.txt && alembic upgrade head
uvicorn src.main:app --reload --port 8000
# API docs: http://localhost:8000/docscd intellistack/frontend && npm install && npm run dev
# Runs on http://localhost:3000Or skip local setup and use the live app: intellistack-app.netlify.app
Students β Sign up β complete onboarding β work through Stage 1 lessons and exercises β ask the RAG chatbot for instant answers with source citations β use the AI Tutor when you're stuck (it guides, not gives away answers) β pass the assessment β Stage 2 unlocks β repeat through all 5 stages β receive your certificate.
Instructors β Log in with an instructor account β go to Content Authoring β write lessons in MDX with live preview β submit for review β once approved, content is automatically indexed into the RAG vector store β manage your cohort enrollments and view per-student progress analytics.
Admins β Log in with an admin account β manage institutions, cohorts, and user roles β monitor platform health and Prometheus metrics β configure external webhooks.
AINativeBook/
βββ intellistack/
β βββ backend/ # FastAPI Python backend
β β βββ src/
β β β βββ main.py # App entry point
β β β βββ config/ # Settings & structured logging
β β β βββ core/ # Domain modules (auth, users, content, learning, institution, assessment)
β β β βββ ai/ # RAG, AI Tutor, ChatKit, Personalization
β β β βββ shared/ # DB, middleware, metrics
β β βββ alembic/ # DB migrations
β βββ auth-server/ # Better-Auth OIDC server (TypeScript/Node.js)
β βββ frontend/ # Next.js 14 App Router frontend
β βββ content/ # Docusaurus learning content
βββ specs/ # Feature specs, plans, and task tracking
βββ history/ # Prompt History Records & ADRs
βββ gitagent/ # Export Agent β convert to any framework/language
β βββ workflows/convert.md # Main conversion workflow guide
β βββ workflows/scenarios/ # NestJS, Django, Go Fiber worked examples
β βββ skills/ # export-backend, export-auth, export-database, export-frontend, export-rag
βββ .github/workflows/ # CI/CD (Railway + Netlify + GitHub Pages)
cd intellistack/frontend
npm test # Unit tests (Vitest)
npm run test:e2e # E2E tests (Playwright)
npm run lighthouse # Performance + accessibility auditcd intellistack/backend
pytestAll deployments are automated via GitHub Actions on push to main:
| Workflow | Path Trigger | Target |
|---|---|---|
deploy-backend.yml |
intellistack/backend/** |
Railway |
deploy-auth.yml |
intellistack/auth-server/** |
Railway |
deploy-frontend.yml |
intellistack/frontend/** |
Netlify |
deploy-docs.yml |
intellistack/content/** |
GitHub Pages |
Required GitHub Secrets: RAILWAY_TOKEN, NETLIFY_SITE_ID, NETLIFY_AUTH_TOKEN, RAILWAY_AUTH_URL, RAILWAY_BACKEND_URL
Phase 0 ββββββββββββββββββββ Complete β Vertical Slice
Phase 1 ββββββββββββββββββββ Complete β Setup & Infrastructure
Phase 2 ββββββββββββββββββββ Complete β Auth & Foundation
Phase 3 ββββββββββββββββββββ Complete β Student Learning (5-Stage Path)
Phase 4 ββββββββββββββββββββ Complete β Content Authoring
Phase 5 ββββββββββββββββββββ Complete β Institution Management
Phase 6 ββββββββββββββββββββ Complete β RAG Chatbot
Phase 7 ββββββββββββββββββββ Pending β AI Tutor
Phase 8 ββββββββββββββββββββ Pending β Community Features
Phase 9 ββββββββββββββββββββ Pending β Assessment Engine
Phase 10 ββββββββββββββββββββ Pending β Personalization
Phase 11 ββββββββββββββββββββ Pending β Production Polish
Overall: 74.5% complete (38 / 51 tasks)
- Fork the repository and create a branch:
git checkout -b <phase>-<feature> - Keep commits small and reference task IDs
- Ensure tests pass before opening a PR against
main
Code Standards: Python β PEP 8, type hints, async-first Β· TypeScript β strict mode Β· React β functional components only Β· DB β all schema changes via Alembic migrations
MIT β see LICENSE