Docs
Sign in

Graph Studio

Graph Studio is a visual editor for building a flow made of several AI agents and other steps. You drag nodes onto a canvas, connect them, and run the graph from start to finish.

Screenshot to add: The Graph Studio list with a grid of graph cards and the New Graph button.

The Graph Studio list

Click Graph Studio under APEX Studio (/studio/graphs). The page says "Build multi-agent workflows with a visual graph editor". Click New Graph to create one. Visibility chips Private, Public and Project filter the list.

Each card shows the name ("Untitled Graph" if blank), the description, a visibility badge, a status badge (draft, active or archived), a copyable ID, "N nodes · N edges" and the created date. Buttons: a trash icon (Delete graph) and Debug Run →, which opens the debug page for that graph.

SituationYou see
No graphs"No graphs yet — Create your first multi-agent graph to get started" with Create Graph
It could not load"Failed to load graphs"

Delete asks Delete graph "(name)"? ("This graph will be permanently deleted. This cannot be undone.").

Create a graph

  1. Click New Graph

    Screenshot to add: The New Graph dialog with Name, Description and Visibility.
  2. Fill in the details

    • Name (required), for example "Customer Onboarding Flow".
    • Description: "What does this graph do?"
    • Visibility: Personal ("Only you can see this graph."), Public ("All platform users can see this graph.") or Project ("Members of the selected project can see this graph.") with a project picker.
  3. Create

    Click Create & Open Editor. It stays disabled until the name (and project, if chosen) is set.

The editor

Screenshot to add: The graph editor with the node palette, canvas, configuration panel and execution panel.

The header

ControlWhat it does
Breadcrumb and name"Graph Studio / (name)" and an Unsaved tag. Edit the name in the box ("Untitled Graph")
StatusDraft, Active or Archived
Set ScopeAssign to a project. Once assigned it is locked ("Once assigned, the project scope is locked on this graph and cannot be changed here.")
SchemaDefine variables available across the graph
SecretsMap stored credentials to environment variable names. Values are injected at run time and never logged
VersionsLists saved versions ("v(n) — (name)") and restores one. Toast "Restored — Restored to version N"
Export / ImportSave or load a (name).graph.json file. Toast "Imported — Graph imported — save to persist."
SaveCtrl+S. Also autosaves 3 seconds after a change
RunDisabled until the graph is saved ("Save first to enable running")

Toasts for saving: "Saved — Graph saved successfully", "Created — Graph created successfully" and "Save failed". Delete or Backspace removes the selected node.

The Node Palette

"Node Palette" shows a total count, a search ("Search nodes…") and collapsible groups. Drag a node onto the canvas, or click to add it at the centre.

GroupNodes
AgentModel Call, Chain of Thought, Planner, Executor, Sub-Agent, Critic, Synthesizer, Self Reflection, Agent Supervisor, Orchestrator
MemoryMemory Read, Memory Write, Memory Search, Vector Query, Memory Clear
ToolsTool Call, Web Search, Code Executor, API Call, File Read, File Write, Send Email, Send Slack, MCP Tool
DataData Connector, SQL Query, Data Transform, Result Formatter, JSON Parser, CSV Reader, Schema Inspector, NoSQL Query
RAGRAG Retrieve, KB Search, Document Chunk, Embed, Rerank
Control FlowRouter, Conditional, Parallel Fork, Join, Loop, Retry Gate, Circuit Breaker, Rate Limiter
Input / OutputWebhook In, Start, End, Human Input, Human Approval, Stream Output, Webhook Out
UtilityLog, Timer, State Setter, Debugger, Counter, Accumulator

Hover a node to see a one-line description.

The canvas

Connect nodes by dragging from one handle to another. Connections are dashed arrows. Right-click a node for Configure or Delete node, and a connection for Delete connector. An empty canvas says "Drag nodes from the palette or click to add. Start with a start node." A minimap and zoom controls sit in the corner.

The configuration panel

Select a node to open the panel on the right. It has three tabs.

Config

  • Label and Description.
  • On Failure: Fail (stop graph), Skip (continue without output), Continue (pass through) or Retry.
  • Timeout (ms) ("0 = inherit from graph") and Disable this node.
  • A Model picker for the AI nodes (Model Call, Chain of Thought, Self Reflection, Synthesizer, Embed, Rerank).
  • A Node Config (JSON) editor (a bad value shows "Invalid JSON — changes not saved") and the node-specific form. For example:
NodeFields
RAG RetrieveQuery (default {{user_query}}), knowledge bases, "Include web search"
Sub-AgentAgent ("— select agent —"), Input, Output Key. "No agents found. Create agents in Agent Studio first."
Agent SupervisorThe agents, Strategy (Parallel or Sequential), Aggregation (Merge, First, Vote)
Planner, Critic, etc.System Prompt, templates, Temperature, Max Tokens, Output Key
ConditionalA condition expression, for example {{ state.score > 0.8 }}
RouterA list of conditions, labels and targets
LoopCollection, Item Variable Name, Max Iterations, break condition
Code ExecutorLanguage (Python, JavaScript, TypeScript, Bash), code, Timeout
API CallMethod, Auth (none, bearer, API key, basic), URL, body
Webhook InA trigger address to copy (POST (address)/api/v1/webhooks/trigger/(id)), Output Key, a secret and a signature header. "Save the graph first to get a trigger URL."
Web SearchQuery, Engine (DuckDuckGo, Brave, Tavily, Google), Max Results
Human Input / ApprovalA prompt and a Timeout in seconds
SQL QueryConnection ID, SQL, Result Format, Max Rows
Memory nodesCollection, query, Top K
LogLevel and message

I/O Map Shows "Available State Variables" from your Schema, an explanation titled "How Data Flows Between Nodes", and the node's Output Key and Input Mapping (JSON).

Retry Enable Retry, Max Attempts (3), Initial Delay (ms) (1000), Backoff Multiplier (2.0), Max Delay (ms) (60000), and the conditions to retry on.

Schema and Secrets

Schema opens "Define variables available in the graph state". Use this format: {"varName": {"type": "string", "description": "...", "required": true}}. A mistake shows "Invalid JSON — please fix before saving". Secrets opens a dialog to save bindings.

Run a graph

  1. Save the graph

    Click Save. If you forget: "Save first — Please save the graph before running".

  2. Click Run

    In Run Graph, enter the Initial Input (JSON) (default {}) and click Run.

  3. Read the results

    The execution panel at the bottom shows four tabs: logs, results (per-node status, duration and an expandable output), state and output (the "Final Output"). Nodes light up in order after the run. A toast says "Run complete — Graph finished in (N)ms", or "Run failed — Graph execution failed — check results tab".

Empty states: "No logs yet", "No results yet", "No state data", "No output yet".

What really runs

  • Start, End and the AI nodes (Model Call, Chain of Thought, Self Reflection, Synthesizer) do real work. So do Sub-Agent, Agent Supervisor, RAG Retrieve and KB Search (simple word matching), Web Search, SQL / data query and Skill nodes, Log and State Setter.
  • Placeholders: Memory nodes, Tool Call, Router, Conditional, Loop, Human Input, Human Approval (reports "auto-approved in non-interactive mode"), Data Transform, Result Formatter, JSON Parser, CSV Reader and any node with no handler ("Node '(label)' executed.").
  • A failed node does not stop the run. The graph is marked failed overall.
  • The maximum iterations setting (default 50) is saved but has no control in the editor.

Known gaps