Guides
Place Kortyx agent setup, workflows, nodes, providers, persistence, app services, and React UI in clear server/client boundaries.
Pause Kortyx workflow nodes for human input, stream typed interrupt requests, and resume safely with response tokens, request IDs, and persistence.
Connect a separate React frontend to a Kortyx Node backend with clear server responsibilities, an HTTP route, and streamed chat transport.
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 workflow chunks over HTTP with toSSE, consume them in React, and render typed text, structured data, and human interrupts safely.
Resolve typed Studio prompt versions in Kortyx workflows, preserve chat roles, and connect prompt usage with run traces and conversation eval evidence.