Core Concepts
Define typed Kortyx workflows with nodes, edges, callable child workflows, data reducers, return values, and validation for explicit agent behavior.
Author Kortyx workflows in TypeScript, YAML, or JSON, compare their node and edge definitions, and understand how the runtime loads each format.
Learn how Kortyx workflow nodes receive messages and parameters, pass state to the next node, return results, and choose their routing conditions.
Route Kortyx workflows with condition tokens, matching edges, loops, and workflow transitions, then inspect the resulting topology in Studio.
Configure createAgent with typed workflows, runtime settings, persistence adapters, and explicit provider wiring inside your Kortyx workflow nodes.
Use agent.streamChat to execute Kortyx workflows with request context, resume support, streamed SSE responses, or buffered JSON from your API route.
Choose Kortyx hooks for model reasoning, tools, child workflows, human interrupts, runtime state, and structured data streamed to your application UI.
Pass request metadata from clients and routes into node code without mixing it with user input or node params.