Core Concepts
Define Workflows
Define type-safe workflows and node behavior with Kortyx core contracts.
Formats (TS, YAML, JSON)
Author workflows in TypeScript, YAML, or JSON and understand how Kortyx loads each format.
Conditional Routing
Route between workflow nodes with condition tokens, edge matching, loops, and transitions.
createAgent
Set up createAgent with strict workflow/runtime config and explicit provider wiring in nodes.
streamChat
Use agent.streamChat for flexible route handling, then return SSE or buffered JSON.
Hooks
Practical guide to when each hook is useful and what problem it solves in real node logic.