The Minimal Agent Loop
Turn one model call into a loop with an explicit stop condition.
python3 -m curriculum.lessons.s01_agent_loop.demoOpen lesson →13 long-form tutorials share one dependency-free Python reference harness. Each moves from the problem and mental model through implementation, failure paths, exercises, and production boundaries.
Turn one model call into a loop with an explicit stop condition.
python3 -m curriculum.lessons.s01_agent_loop.demoOpen lesson →Convert streaming deltas into observable, replayable events.
python3 -m curriculum.lessons.s02_events_streaming.demoOpen lesson →Validate, execute, and record model-requested tool calls.
python3 -m curriculum.lessons.s03_tool_dispatch.demoOpen lesson →Put workspace boundaries and explicit allowlists around side-effecting tools.
python3 -m curriculum.lessons.s04_workspace_tools.demoOpen lesson →Compose hierarchical instructions from the workspace root to the current directory.
python3 -m curriculum.lessons.s05_instructions.demoOpen lesson →Make input pruning and tool-output truncation explicit policies.
python3 -m curriculum.lessons.s06_context_budget.demoOpen lesson →Rebuild derived state from append-only events and create lineage-preserving branches.
python3 -m curriculum.lessons.s07_session_replay.demoOpen lesson →Replace long visible history with a provenance-bearing semantic checkpoint while retaining the factual log.
python3 -m curriculum.lessons.s08_context_compaction.demoOpen lesson →Move durable facts and full capability instructions out of resident context, retrieving them only when relevant.
python3 -m curriculum.lessons.s09_memory_skills.demoOpen lesson →Insert fail-closed allow, ask, and deny decisions between model requests and real effects.
python3 -m curriculum.lessons.s10_approval_policy.demoOpen lesson →Compile semantic authorization into a minimal capability envelope enforceable by an isolation backend.
python3 -m curriculum.lessons.s11_sandbox_network.demoOpen lesson →Separate workspace identity, explicit trust, and instruction-versus-data authority.
python3 -m curriculum.lessons.s12_project_trust.demoOpen lesson →Create a clean baseline before effects, review the exact diff, and roll back only explicit paths.
python3 -m curriculum.lessons.s13_checkpoint_rollback.demoOpen lesson →