Connect Your Kortyx Project
Updated 17 minutes ago • August 2, 2026
Connect Studio at the agent boundary. One telemetry adapter can observe the sessions, runs, workflows, nodes, model calls, and interrupts produced by that agent.
Prerequisite: Start a local installation with Run Studio Locally, or obtain the telemetry API URL and Project-scoped write key from the operator of your remote deployment.
Install the adapter
Configure the server environment
Do not prefix these variables with NEXT_PUBLIC_, VITE_, or another mechanism that exposes them to client code.
Attach telemetry to the agent
Keep the service name stable across deploys. Use the environment field as an informative label; it does not create a separate security or storage boundary.
Choose what content Studio may store
Structural telemetry is useful without storing prompts or responses. Input and output content are excluded by default.
Enable only the content your application is permitted to export:
Option values and resume tokens are never sent as telemetry. Review retention, access, and regulatory requirements before enabling content capture in production.
Interrupt behavior in Studio
Studio observes interrupt lifecycle events; your application still presents the request and sends the resume response.
- Pending interrupt state expires after 15 minutes by default.
- Configure the application TTL with
KORTYX_FRAMEWORK_TTL_MS, or withframeworkAdapter.ttlMs. - Studio derives Expired from the durable
expiresAttimestamp. - A late response cannot resume the expired run, although application fallback may handle it as a new run.
- A dynamic picker may correctly report zero embedded options because the client resolves choices from its own data source.
For runtime behavior and replay-safe side effects, read Interrupts and Resume.
Verify the connection
Trigger one agent request and open Runs in Studio. If nothing arrives, use this order:
- Confirm the application server has all four environment variables.
- Confirm it restarted after configuration changed.
- Check the Studio stack with
npx kortyx studio status. - Inspect recent logs with
npx kortyx studio logs --no-follow. - Confirm the Studio time filter includes the event.
For remote deployments, also verify network reachability from the application server to the telemetry API and confirm the supplied key has telemetry:write scope.