Skip to content

KeGAL Tutorials

Each tutorial covers one feature from basics to advanced examples. They are self-contained — read them in any order.


# Topic What you'll learn
01 Message passing Flow text between nodes; linear chains; fan-out with accumulation
02 Structured output Force nodes to return typed JSON; nested schemas; multi-node typed pipelines
03 Guard nodes Abort graphs on validation failure; content moderation; multi-guard chains
04 Fan-out and fan-in Parallel branches; aggregation; nested task trees
05 RAG Inject retrieved context; load chunks from file or URL; guard + RAG pipelines
06 Chat history Seed nodes with prior turns; file-based scopes; auto-append mode; multi-scope graphs
07 Multimodal Attach images and PDFs; base64 encoding; runtime injection; parallel media analysts
08 Python tool executors In-process function tools; multi-tool nodes; tool + structured output
09 MCP servers stdio and SSE transports; chaining; MCP inside ReAct agents
10 Blackboard Shared markdown buffers; multiple boards; import chains; multi-session accumulation
11 Multi-provider graphs Mix providers; fast guard + powerful analysis; provider reference
12 ReAct loop Iterative agent dispatch; tools and MCP in agents; compact/compaction; post-processing
13 Context window and outputs Token tracking; utilization display; JSON and Markdown output; custom compaction