How sahil555/multi_agent_ai_system works
This is a local multi-agent learning accelerator. A learner submits a study goal through the CLI or Streamlit interface; the LangGraph workflow plans a roadmap, pauses for approval, explains topics using study notes, quizzes the learner, and coaches progress so the roadmap can adapt and continue. Supporting branches provide MCP note and session-memory tools, optional A2A quiz and CrewAI study-buddy services, SQLite checkpointing, and Langfuse tracing. The workflow and Streamlit internals were not excerpted; their documented capabilities and indexed references support the high-level links shown.
Main entry points: workflow.py Study workflow · main.py CLI session · explainer.py Topic explainer · progress_coach.py Progress coach
Components 19
App and orchestration
- CLI session
main.py - Streamlit app
streamlit_app.py - Study workflow
src/graph/workflow.py
Learning agents
- Curriculum planner
src/agents/curriculum_planner.py - Human approval
src/agents/human_approval.py - Topic explainer
src/agents/explainer.py - Quiz generator
src/agents/quiz_generator.py - Progress coach
src/agents/progress_coach.py
MCP tools and data
- Notes MCP server
src/mcp_servers/filesystem_server.py - Study materials
study_materials/sample_notes - Memory MCP server
src/mcp_servers/memory_server.py
Agent interoperability
- Quiz A2A service
src/a2a_services/quiz_service.py - A2A client
src/a2a_services/a2a_client.py - CrewAI Study Buddy
src/crewai_agent/study_buddy.py
State and observability
- Session state
src/graph/state.py - SQLite checkpoints
data/checkpoints.db - Langfuse setup
src/observability/langfuse_setup.py
Other components
- Learner
- Ollama inference
Connections 21
- Learner → CLI session: starts session
README.md - Learner → Streamlit app: uses interface
README.md - CLI session → Study workflow: invokes graph
main.py - Streamlit app → Study workflow: runs study flow
streamlit_app.py - Study workflow → Curriculum planner: plans curriculum
README.md - Study workflow → Human approval: requests approval
README.md - Study workflow → Topic explainer: explains topic
README.md - Study workflow → Quiz generator: runs quiz
README.md - Study workflow → Progress coach: adapts roadmap
README.md - Study workflow → Session state: updates state
README.md - Topic explainer → Notes MCP server: uses note tools
src/agents/explainer.py - Notes MCP server → Study materials: reads notes
src/mcp_servers/filesystem_server.py - Topic explainer → Memory MCP server: uses session memory
src/agents/explainer.py - Progress coach → Memory MCP server: stores progress
src/agents/progress_coach.py - Progress coach → A2A client: delegates tasks
src/agents/progress_coach.py - A2A client → Quiz A2A service: sends quiz task
src/a2a_services/a2a_client.py - Quiz A2A service → Quiz generator: generates and grades
src/a2a_services/quiz_service.py - A2A client → CrewAI Study Buddy: requests assistance
- Study workflow → SQLite checkpoints: saves sessions
README.md - CLI session → Langfuse setup: configures tracing
main.py - Study workflow → Ollama inference: runs model calls