# microsoft/agentic-shiksha architecture

> Architecture diagram of the GitHub repository microsoft/agentic-shiksha, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/microsoft/agentic-shiksha
- Repository: https://github.com/microsoft/agentic-shiksha

## Overview

Agentic Shiksha is a course-specific teaching-assistant platform: teachers create and review course assistants, learners interact with them, and interaction evidence can inform persistent learner memory and teacher insights. A separate Admin Dashboard provides operational analytics and research tools. The map combines README-documented capabilities with relationships visible in the supplied excerpts and SOURCE INDEX; some links to unsampled route and integration internals are therefore omitted.

Main entry points: [`Agentic Shiksha Platform/Frontend/src/features/create/CreateView.tsx`](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/create/CreateView.tsx) (Course builder), [`Agentic Shiksha Platform/Backend/backend/main.py`](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/backend/main.py) (Backend API), [`Agentic Shiksha Platform/Backend/harness/runtime.py`](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/harness/runtime.py) (Turn harness), [`Agentic Shiksha Platform/Backend/backend/routers/course_creation.py`](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/backend/routers/course_creation.py) (Course creation APIs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_course["Course authoring"]
  node_course_ui["Course builder<br/>[CreateView.tsx]"]
  node_setup_logic["Setup workflow"]
  node_material_workflow["Course materials"]
  node_course_routes["Course creation APIs<br/>[course_creation.py]"]
end

subgraph group_learning["Learner experience"]
  node_agent_ui["Learner chat"]
  node_turn_controller["Chat turn control"]
  node_chat_transport["Chat transport<br/>[chatTransport.ts]"]
  node_chat_api["Chat API client<br/>[chatApi.ts]"]
end

subgraph group_runtime["Agent runtime"]
  node_main_app["Backend API<br/>[main.py]"]
  node_agent_manager["Agent manager<br/>[agent_manager.py]"]
  node_agent_creation["Agent provisioning<br/>[agent_creation.py]"]
  node_harness["Turn harness<br/>[runtime.py]"]
  node_tools["Agent tools"]
  node_blob_storage["Document storage"]
end

subgraph group_insights["Memory and insights"]
  node_memory_bridge["Memory integration<br/>[integration.py]"]
  node_memory_service["Learner memory<br/>[service.py]"]
  node_memory_store[("Memory persistence<br/>[learner_memory.py]")]
  node_teacher_insights["Teacher insights<br/>[routes.py]"]
  node_cosmos[("Platform data store<br/>[cosmos_db.py]")]
end

subgraph group_admin["Administration"]
  node_admin_ui["Admin dashboard<br/>[DashboardView.tsx]"]
  node_admin_api["Admin API<br/>[app.py]"]
  node_research_service["Research service<br/>[research.py]"]
  node_research_storage[("Research storage")]
end

node_teacher(("Teacher"))
node_learner(("Learner"))
node_azure_ai{{"Azure AI"}}
node_blob_service[("Azure Blob Storage")]

node_teacher -->|"authors course"| node_course_ui
node_course_ui -->|"uses workflow"| node_setup_logic
node_teacher -->|"provides materials"| node_material_workflow
node_course_ui -.->|"submits course"| node_course_routes
node_course_routes -.->|"provisions assistant"| node_agent_creation
node_learner -->|"asks and practises"| node_agent_ui
node_agent_ui -.->|"starts turn"| node_turn_controller
node_turn_controller -->|"dispatches request"| node_chat_transport
node_chat_transport -.->|"sends chat"| node_chat_api
node_chat_api -.->|"calls API"| node_main_app
node_main_app -->|"runs turn"| node_harness
node_main_app -->|"uses agent manager"| node_agent_manager
node_agent_manager -->|"creates agent"| node_agent_creation
node_agent_creation -.->|"provisions agent"| node_azure_ai
node_harness -.->|"dispatches tools"| node_tools
node_teacher -->|"creates assistant"| node_course_routes
node_material_workflow -.->|"uploads documents"| node_blob_storage
node_blob_storage -.->|"stores files"| node_blob_service
node_harness -->|"records learning evidence"| node_memory_bridge
node_memory_bridge -->|"invokes memory service"| node_memory_service
node_memory_service -->|"reads and writes"| node_memory_store
node_teacher -->|"reviews progress"| node_teacher_insights
node_teacher_insights -->|"queries progress"| node_cosmos
node_learner -->|"builds learning history"| node_memory_bridge
node_admin_ui -.->|"requests dashboard data"| node_admin_api
node_admin_api -->|"builds services"| node_research_service
node_research_service -->|"uses research storage"| node_research_storage
node_research_storage -.->|"stores research"| node_blob_service

click node_course_ui "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/create/CreateView.tsx"
click node_setup_logic "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/create/useSetupPhaseLogic.ts"
click node_material_workflow "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/create/MaterialWorkflow.tsx"
click node_course_routes "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/backend/routers/course_creation.py"
click node_agent_ui "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/components/chat/UnifiedChatContainer.tsx"
click node_turn_controller "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/chat/chatTurnController.ts"
click node_chat_transport "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/chat/chatTransport.ts"
click node_chat_api "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/lib/chatApi.ts"
click node_main_app "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/backend/main.py"
click node_agent_manager "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/base_agents/agent_manager.py"
click node_agent_creation "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/azure_services/agents/agent_creation.py"
click node_harness "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/harness/runtime.py"
click node_tools "https://github.com/microsoft/agentic-shiksha/tree/main/Agentic%20Shiksha%20Platform/Backend/agent_tools"
click node_blob_storage "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/azure_services/storage/blob_storage_manager.py"
click node_memory_bridge "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/learner_memory/integration.py"
click node_memory_service "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/learner_memory/service.py"
click node_memory_store "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/azure_services/persistence/learner_memory.py"
click node_teacher_insights "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/teacher_dashboard/routes.py"
click node_cosmos "https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/azure_services/persistence/cosmos_db.py"
click node_admin_ui "https://github.com/microsoft/agentic-shiksha/blob/main/Admin-Dashboard/frontend/src/pages/DashboardView.tsx"
click node_admin_api "https://github.com/microsoft/agentic-shiksha/blob/main/Admin-Dashboard/backend/admin_backend/app.py"
click node_research_service "https://github.com/microsoft/agentic-shiksha/blob/main/Admin-Dashboard/backend/admin_backend/services/research.py"
click node_research_storage "https://github.com/microsoft/agentic-shiksha/blob/main/Admin-Dashboard/backend/admin_backend/integrations/research_storage.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_course_ui,node_setup_logic,node_material_workflow,node_course_routes toneBlue
class node_agent_ui,node_turn_controller,node_chat_transport,node_chat_api,node_blob_service toneAmber
class node_main_app,node_agent_manager,node_agent_creation,node_harness,node_tools,node_blob_storage toneMint
class node_memory_bridge,node_memory_service,node_memory_store,node_teacher_insights,node_cosmos toneRose
class node_admin_ui,node_admin_api,node_research_service,node_research_storage,node_teacher,node_learner,node_azure_ai toneIndigo
```

## Components

### Course authoring

- [Course builder](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/create/CreateView.tsx): `Agentic Shiksha Platform/Frontend/src/features/create/CreateView.tsx`
- [Setup workflow](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/create/useSetupPhaseLogic.ts): `Agentic Shiksha Platform/Frontend/src/features/create/useSetupPhaseLogic.ts`
- [Course materials](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/create/MaterialWorkflow.tsx): `Agentic Shiksha Platform/Frontend/src/features/create/MaterialWorkflow.tsx`
- [Course creation APIs](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/backend/routers/course_creation.py): `Agentic Shiksha Platform/Backend/backend/routers/course_creation.py`

### Learner experience

- [Learner chat](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/components/chat/UnifiedChatContainer.tsx): `Agentic Shiksha Platform/Frontend/src/components/chat/UnifiedChatContainer.tsx`
- [Chat turn control](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/chat/chatTurnController.ts): `Agentic Shiksha Platform/Frontend/src/features/chat/chatTurnController.ts`
- [Chat transport](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/features/chat/chatTransport.ts): `Agentic Shiksha Platform/Frontend/src/features/chat/chatTransport.ts`
- [Chat API client](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Frontend/src/lib/chatApi.ts): `Agentic Shiksha Platform/Frontend/src/lib/chatApi.ts`

### Agent runtime

- [Backend API](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/backend/main.py): `Agentic Shiksha Platform/Backend/backend/main.py`
- [Agent manager](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/base_agents/agent_manager.py): `Agentic Shiksha Platform/Backend/base_agents/agent_manager.py`
- [Agent provisioning](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/azure_services/agents/agent_creation.py): `Agentic Shiksha Platform/Backend/azure_services/agents/agent_creation.py`
- [Turn harness](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/harness/runtime.py): `Agentic Shiksha Platform/Backend/harness/runtime.py`
- [Agent tools](https://github.com/microsoft/agentic-shiksha/tree/main/Agentic%20Shiksha%20Platform/Backend/agent_tools): `Agentic Shiksha Platform/Backend/agent_tools`
- [Document storage](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/azure_services/storage/blob_storage_manager.py): `Agentic Shiksha Platform/Backend/azure_services/storage/blob_storage_manager.py`

### Memory and insights

- [Memory integration](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/learner_memory/integration.py): `Agentic Shiksha Platform/Backend/learner_memory/integration.py`
- [Learner memory](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/learner_memory/service.py): `Agentic Shiksha Platform/Backend/learner_memory/service.py`
- [Memory persistence](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/azure_services/persistence/learner_memory.py): `Agentic Shiksha Platform/Backend/azure_services/persistence/learner_memory.py`
- [Teacher insights](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/teacher_dashboard/routes.py): `Agentic Shiksha Platform/Backend/teacher_dashboard/routes.py`
- [Platform data store](https://github.com/microsoft/agentic-shiksha/blob/main/Agentic%20Shiksha%20Platform/Backend/azure_services/persistence/cosmos_db.py): `Agentic Shiksha Platform/Backend/azure_services/persistence/cosmos_db.py`

### Administration

- [Admin dashboard](https://github.com/microsoft/agentic-shiksha/blob/main/Admin-Dashboard/frontend/src/pages/DashboardView.tsx): `Admin-Dashboard/frontend/src/pages/DashboardView.tsx`
- [Admin API](https://github.com/microsoft/agentic-shiksha/blob/main/Admin-Dashboard/backend/admin_backend/app.py): `Admin-Dashboard/backend/admin_backend/app.py`
- [Research service](https://github.com/microsoft/agentic-shiksha/blob/main/Admin-Dashboard/backend/admin_backend/services/research.py): `Admin-Dashboard/backend/admin_backend/services/research.py`
- [Research storage](https://github.com/microsoft/agentic-shiksha/blob/main/Admin-Dashboard/backend/admin_backend/integrations/research_storage.py): `Admin-Dashboard/backend/admin_backend/integrations/research_storage.py`

### Other components

- **Teacher**
- **Learner**
- **Azure AI**
- **Azure Blob Storage**

## Connections

- Teacher → Course builder: authors course (evidence: `README.md`)
- Course builder → Setup workflow: uses workflow (evidence: `Agentic Shiksha Platform/Frontend/src/features/create/useSetupPhaseLogic.ts`)
- Teacher → Course materials: provides materials (evidence: `README.md`)
- Course builder → Course creation APIs: submits course
- Course creation APIs → Agent provisioning: provisions assistant
- Learner → Learner chat: asks and practises (evidence: `README.md`)
- Learner chat → Chat turn control: starts turn
- Chat turn control → Chat transport: dispatches request (evidence: `Agentic Shiksha Platform/Frontend/src/features/chat/chatTurnController.ts`)
- Chat transport → Chat API client: sends chat
- Chat API client → Backend API: calls API
- Backend API → Turn harness: runs turn (evidence: `Agentic Shiksha Platform/Backend/backend/main.py`)
- Backend API → Agent manager: uses agent manager (evidence: `Agentic Shiksha Platform/Backend/backend/main.py`)
- Agent manager → Agent provisioning: creates agent (evidence: `Agentic Shiksha Platform/Backend/base_agents/agent_manager.py`)
- Agent provisioning → Azure AI: provisions agent
- Turn harness → Agent tools: dispatches tools
- Teacher → Course creation APIs: creates assistant (evidence: `README.md`)
- Course materials → Document storage: uploads documents
- Document storage → Azure Blob Storage: stores files
- Turn harness → Memory integration: records learning evidence (evidence: `README.md`)
- Memory integration → Learner memory: invokes memory service (evidence: `Agentic Shiksha Platform/Backend/learner_memory/integration.py`)
- Learner memory → Memory persistence: reads and writes (evidence: `Agentic Shiksha Platform/Backend/learner_memory/service.py`)
- Teacher → Teacher insights: reviews progress (evidence: `README.md`)
- Teacher insights → Platform data store: queries progress (evidence: `Agentic Shiksha Platform/Backend/teacher_dashboard/routes.py`)
- Learner → Memory integration: builds learning history (evidence: `README.md`)
- Admin dashboard → Admin API: requests dashboard data
- Admin API → Research service: builds services (evidence: `Admin-Dashboard/backend/admin_backend/app.py`)
- Research service → Research storage: uses research storage (evidence: `Admin-Dashboard/backend/admin_backend/services/research.py`)
- Research storage → Azure Blob Storage: stores research
