Tutorials
The tutorial section is at the heart of what Dsh-Go offers. We have designed a three-step progressive path around “building an understanding of the Agent kernel from scratch”, where every step ships with a runnable code example (examples/tutorial) and a source reference.
Three-Step Path
- Event Sourcing — why “recording events instead of state” is more robust
- fold Projection — how state is “derived” from the event log
- Goal State Machine — how an Agent turns a goal into an execution loop with round continuation
Running It
1go run ./examples/tutorialSource Reference
pkg/session/session.go— the event log and its event vocabularypkg/session/fold.go— the fold projection function familypkg/goal/goal.go— the Goal state machine
Roadmap
🚀
This project is positioned as a reference implementation and teaching material. More topic-specific tutorials will keep being added here: tool governance, sub-agent orchestration, MCP bridging, cache affinity, hands-on event sourcing, and more.