How thedestroyerks3004/agentic-slice-kit works
The repository combines two runtime products: the Agentic Slice Kit’s resumable, stateful workflow spine and SyllabusMind, a student-facing concept-mastery app. In the kit, a run is persisted, advanced through model/tool work, and can pause for an expert callback before resuming. SyllabusMind routes students through intake, diagnostic questions, a mastery graph, deeper practice, and a report. The graph keeps the archived full-scope app separate from the current app. Some SyllabusMind screens and integrations are unsampled, so their internal links are omitted where the excerpts do not establish them.
Main entry points: runner.py Workflow Runner · useApp.ts Student State · App.tsx App Router · GraphHome.tsx Mastery Graph
Components 29
Agentic Slice Kit
- Expert Form
web/expert.py
Run Machinery
- Workflow Runner
slice/runner.py - Run Records
slice/records.py - Durable Store
slice/store.py - Configuration
slice/config.py - Run Budgets
slice/budget.py - Model Calls
slice/llm.py - Retrieval
slice/retrieve.py - Human Callback
slice/callback.py
SyllabusMind App
- App Router
syllabusmind/src/App.tsx - Student Intake
syllabusmind/src/screens/Intake.tsx - Diagnostic
syllabusmind/src/screens/Diagnostic.tsx - Mastery Graph
syllabusmind/src/screens/GraphHome.tsx - Topic Deep Dive
syllabusmind/src/screens/DeepDive.tsx - Learning Report
syllabusmind/src/screens/Report.tsx - Student State
syllabusmind/src/store/useApp.ts - Archived App Router
syllabusmind/archive/full-scope/src/App.tsx - Archived Student State
syllabusmind/archive/full-scope/src/store/useApp.ts
Learning Engine
- Question Generation
syllabusmind/src/lib/questions.ts - LLM Gateway
syllabusmind/src/lib/llm.ts - Concept Graph
syllabusmind/src/engine/graph.ts - Mastery Scoring
syllabusmind/src/engine/mastery.ts - DBMS Graph Data
syllabusmind/src/lib/dbmsGraph.ts - Browser Persistence
syllabusmind/src/lib/persist.ts - Report Insights
syllabusmind/src/lib/report.ts - Archived Content Tools
syllabusmind/archive/full-scope/src/lib/content.ts - Mastery Propagation
syllabusmind/archive/full-scope/src/engine/propagation.ts
Other components
- Agent Builder
- Human Expert
Connections 31
- Agent Builder → Workflow Runner: builds on
README.md - Human Expert → Expert Form: answers
README.md - Workflow Runner → Durable Store: reads and writes
slice/runner.py - Workflow Runner → Run Records: uses
slice/runner.py - Workflow Runner → Configuration: loads
slice/runner.py - Workflow Runner → Run Budgets: checks
slice/runner.py - Workflow Runner → Model Calls: calls
slice/runner.py - Workflow Runner → Human Callback: suspends via
slice/runner.py - Workflow Runner → Retrieval: uses
- Human Callback → Durable Store: persists questions
slice/callback.py - Expert Form → Human Callback: answers callback
web/expert.py - App Router → Student State: reads state
syllabusmind/src/App.tsx - App Router → Student Intake: routes to
syllabusmind/src/App.tsx - App Router → Diagnostic: routes to
syllabusmind/src/App.tsx - App Router → Mastery Graph: routes to
syllabusmind/src/App.tsx - App Router → Topic Deep Dive: routes to
syllabusmind/src/App.tsx - App Router → Learning Report: routes to
syllabusmind/src/App.tsx - Student State → Question Generation: generates questions
syllabusmind/src/store/useApp.ts - Student State → Concept Graph: orders diagnostics
syllabusmind/src/store/useApp.ts - Student State → Mastery Scoring: updates beliefs
syllabusmind/src/store/useApp.ts - Student State → DBMS Graph Data: loads graph
syllabusmind/src/store/useApp.ts - Student State → Browser Persistence: persists state
syllabusmind/src/store/useApp.ts - Question Generation → LLM Gateway: requests generation
- Mastery Graph → Student State: reads learning state
syllabusmind/src/screens/GraphHome.tsx - Mastery Graph → Concept Graph: uses graph helpers
syllabusmind/src/screens/GraphHome.tsx - Mastery Graph → DBMS Graph Data: uses graph data
syllabusmind/src/screens/GraphHome.tsx - Learning Report → Student State: reads session
syllabusmind/src/screens/Report.tsx - Learning Report → Report Insights: builds report
syllabusmind/src/screens/Report.tsx - Archived App Router → Archived Student State: reads state
syllabusmind/archive/full-scope/src/App.tsx - Archived Student State → Archived Content Tools: generates content
syllabusmind/archive/full-scope/src/store/useApp.ts - Archived Student State → Mastery Propagation: uses propagation
syllabusmind/archive/full-scope/src/store/useApp.ts