Guides
Place Kortyx agent setup, workflows, nodes, providers, persistence, app services, and React UI in clear server/client boundaries.
Pause node execution for user input and resume deterministically using tokens and request ids.
Run Kortyx on a Node backend while a separate React app consumes streamed chat responses.
Render finalized chat history, active stream pieces, structured data, interrupts, errors, and abort controls with @kortyx/react.
Let users regenerate, edit-and-retry, undo, or branch a workflow session without losing server-side workflow state.
Await a registered workflow inside a node or custom hook, return typed data, and preserve execution through interrupts, replay, and forks.
Invoke registered workflows with typed input and results, then resolve human interrupts through a separate server entry point.
Close a chat response, continue internal work, and discover human interruptions without requiring Studio.
Inspect typed failures, preserve safe domain details across checkpoints, and keep recovery policy separate from control flow.
Persist accepted turns and finalized assistant messages from Kortyx route hooks without consuming the SSE response.
Test real workflows with scripted conversations, human interrupts, app-owned permissions, and LLM grading.
Stream Kortyx chunks over HTTP from your API route and consume them safely in browser clients.