Skip to content
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 Kortyx workflow nodes for human input, stream typed interrupt requests, and resume safely with response tokens, request IDs, and persistence.

React + Node Backend

Connect a separate React frontend to a Kortyx Node backend with clear server responsibilities, an HTTP route, and streamed chat transport.

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 workflow chunks over HTTP with toSSE, consume them in React, and render typed text, structured data, and human interrupts safely.

Studio Prompts

Resolve typed Studio prompt versions in Kortyx workflows, preserve chat roles, and connect prompt usage with run traces and conversation eval evidence.