How obedientononline/chalksy works
Chalksy is an AI classroom-building application: teacher or Omi voice input enters the FastAPI gateway, is privacy-scrubbed, then feeds agent-driven teaching materials and classroom actions. The main loop uses vector memory to ground reasoning and write back student events; generated work can wait for teacher approval before export. The README also documents voice/language tools, grading, analytics, privacy controls, and additional classroom agents. Several of those capabilities are documented but their route-level implementation is not shown in the excerpts, so those links reflect README-described behavior rather than inspected call sites.
Main entry points: main.py FastAPI gateway · crew.py Agent orchestrator · engine.py LLM provider engine · qdrant_store.py Memory operations
Components 22
Capture and privacy
- FastAPI gateway
app/main.py - PII sanitizer
app/privacy/anonymizer.py - Privacy controls
app/privacy/anonymizer.py
Agent workflow
- Agent orchestrator
app/agents/crew.py - Lesson planning
app/agents/crew.py - Worksheets and quizzes
app/agents/crew.py - Critic and guardrails
app/agents/crew.py - Grading and assessment
app/agents/crew.py - Classroom support agents
app/agents/crew.py - Parent reports
app/agents/crew.py - LLM provider engine
app/agents/engine.py - Runtime settings
app/core/config.py
Classroom memory
- Memory operations
app/memory/qdrant_store.py - Qdrant collections
app/memory/qdrant_store.py - Memory consolidation
app/memory/qdrant_store.py
Review and delivery
- Task and approval state
app/core/dag_state.py - Artifact exporter
app/core/exporter.py - Teacher dashboard
app/templates/dashboard.html
Insights and evaluation
- Teacher analytics
app/agents/crew.py - Evaluation harness
app/evals/harness.py
Other components
- Teacher / Omi
- LLM providers
Connections 25
- Teacher / Omi → FastAPI gateway: submits voice
README.md - FastAPI gateway → PII sanitizer: scrubs input
README.md - FastAPI gateway → Agent orchestrator: routes requests
app/main.py - FastAPI gateway → Memory operations: searches memory
app/main.py - FastAPI gateway → Task and approval state: reads approvals
app/main.py - FastAPI gateway → Privacy controls: routes privacy actions
README.md - Agent orchestrator → Lesson planning: generates plans
README.md - Agent orchestrator → Worksheets and quizzes: generates materials
README.md - Agent orchestrator → Critic and guardrails: checks outputs
app/agents/crew.py - Agent orchestrator → Grading and assessment: grades work
README.md - Agent orchestrator → Classroom support agents: runs support agents
README.md - Agent orchestrator → Parent reports: builds reports
README.md - Agent orchestrator → LLM provider engine: requests reasoning
app/agents/crew.py - LLM provider engine → LLM providers: calls providers
app/agents/engine.py - Agent orchestrator → Memory operations: retrieves and writes
app/agents/crew.py - Agent orchestrator → Task and approval state: updates task status
app/agents/crew.py - Memory operations → Qdrant collections: reads and writes
app/memory/qdrant_store.py - Memory consolidation → Qdrant collections: writes insights
app/memory/qdrant_store.py - FastAPI gateway → Memory consolidation: starts consolidation
app/main.py - FastAPI gateway → Artifact exporter: exports artifacts
README.md - FastAPI gateway → Teacher dashboard: serves interface
- FastAPI gateway → Teacher analytics: serves analytics
README.md - FastAPI gateway → Evaluation harness: runs evaluations
README.md - LLM provider engine → Runtime settings: reads credentials
app/agents/engine.py - PII sanitizer → Privacy controls: supports consent and audit
app/privacy/anonymizer.py