Introduction
Agents that are configured with YAML in SGP and are fully executed on the platform’s backend. The application logic defined in your YAML configuration determines how the agent processes inputs and produces outputs.Live Execution While Building
As you configure your agent in YAML, you can execute it within SGP’s interface to see how it behaves. The execution output is shown in the right-hand panel, on a per-node basis. This allows you to debug and validate your agent’s flow in real time:Providing User Inputs
In the SGP interface (below the agent configuration panels), you will be prompted to provide inputs that are designated asuser_input in the YAML config.
Understanding Runs (Threads)
A “run” is essentially a thread of execution for your agent. You can select which run (thread) you are viewing from a dropdown menu in the top-right corner. To start a new thread, simply select “New Run” (or equivalent) from the dropdown, which creates a fresh context for your agent to process inputs.Saving and Publishing Variants
Once you are satisfied with your agent’s configuration, save or publish it as a variant. After publishing, this variant can still be executed directly from the UI, just as before.Monitoring Executions
The “Monitoring Dashboard” shows stored executions and their inputs and outputs. Executions that use a thread are always eligible for storage. For executions without a thread, your deployment’s interaction-storage setting determines whether they are stored. Accounts with data sanitization enabled don’t accept requests that use a thread and don’t store interactions. By default, every eligible successful execution is stored; setconfiguration.metadata.interactions_sample_rate below 1 to store a sample of successful executions. The sample rate doesn’t apply to failed executions. Cancelled executions are not stored by default.
Deploying a Variant via Chat Interface
You can deploy Agent Service variants with workflow or state machine configurations. The default chat sends every message to the first configured input key, or toquery when no input definition is present. For state machines, this is the starting node’s first input, so every turn must accept that same key. The default chat does not forward file attachments.
Use the bracket toggle to switch to the dynamic input form when your agent needs a different input mapping. Typed user_input definitions enable structured form fields; you can also supply raw JSON or YAML.
From the variant’s page, select “Manage Deployments.” Then enter a custom slug (a unique identifier) and choose which variant to deploy.Click “Deploy Variant”, which creates a simple web-based chat interface you can access.