Studio previewSelf-host Studio locally.Run it

Guides

Project Structure

Place Kortyx agent setup, workflows, nodes, providers, persistence, app services, and React UI in clear server/client boundaries.

Interrupts and Resume

Pause node execution for user input and resume deterministically using tokens and request ids.

React + Node Backend

Run Kortyx on a Node backend while a separate React app consumes streamed chat responses.

Rendering Streamed Chat

Render finalized chat history, active stream pieces, structured data, interrupts, errors, and abort controls with @kortyx/react.

Session Checkpoints

Let users regenerate, edit-and-retry, undo, or branch a workflow session without losing server-side workflow state.

Child Workflows

Await a registered workflow inside a node or custom hook, return typed data, and preserve execution through interrupts, replay, and forks.

Execute and Resume

Invoke registered workflows with typed input and results, then resolve human interrupts through a separate server entry point.

Background Continuation

Close a chat response, continue internal work, and discover human interruptions without requiring Studio.

Errors and Recovery

Inspect typed failures, preserve safe domain details across checkpoints, and keep recovery policy separate from control flow.

Server-Owned Transcripts

Persist accepted turns and finalized assistant messages from Kortyx route hooks without consuming the SSE response.

Conversation Evals

Test real workflows with scripted conversations, human interrupts, app-owned permissions, and LLM grading.

SSE (API Routes)

Stream Kortyx chunks over HTTP from your API route and consume them safely in browser clients.