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.
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.
| Situation | You 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
Click New Graph
Screenshot placeholderScreenshot to add: The New Graph dialog with Name, Description and Visibility. 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.
Create
Click Create & Open Editor. It stays disabled until the name (and project, if chosen) is set.
The editor
The header
| Control | What it does |
|---|---|
| Breadcrumb and name | "Graph Studio / (name)" and an Unsaved tag. Edit the name in the box ("Untitled Graph") |
| Status | Draft, Active or Archived |
| Set Scope | Assign to a project. Once assigned it is locked ("Once assigned, the project scope is locked on this graph and cannot be changed here.") |
| Schema | Define variables available across the graph |
| Secrets | Map stored credentials to environment variable names. Values are injected at run time and never logged |
| Versions | Lists saved versions ("v(n) — (name)") and restores one. Toast "Restored — Restored to version N" |
| Export / Import | Save or load a (name).graph.json file. Toast "Imported — Graph imported — save to persist." |
| Save | Ctrl+S. Also autosaves 3 seconds after a change |
| Run | Disabled 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.
| Group | Nodes |
|---|---|
| Agent | Model Call, Chain of Thought, Planner, Executor, Sub-Agent, Critic, Synthesizer, Self Reflection, Agent Supervisor, Orchestrator |
| Memory | Memory Read, Memory Write, Memory Search, Vector Query, Memory Clear |
| Tools | Tool Call, Web Search, Code Executor, API Call, File Read, File Write, Send Email, Send Slack, MCP Tool |
| Data | Data Connector, SQL Query, Data Transform, Result Formatter, JSON Parser, CSV Reader, Schema Inspector, NoSQL Query |
| RAG | RAG Retrieve, KB Search, Document Chunk, Embed, Rerank |
| Control Flow | Router, Conditional, Parallel Fork, Join, Loop, Retry Gate, Circuit Breaker, Rate Limiter |
| Input / Output | Webhook In, Start, End, Human Input, Human Approval, Stream Output, Webhook Out |
| Utility | Log, 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:
| Node | Fields |
|---|---|
| RAG Retrieve | Query (default {{user_query}}), knowledge bases, "Include web search" |
| Sub-Agent | Agent ("— select agent —"), Input, Output Key. "No agents found. Create agents in Agent Studio first." |
| Agent Supervisor | The agents, Strategy (Parallel or Sequential), Aggregation (Merge, First, Vote) |
| Planner, Critic, etc. | System Prompt, templates, Temperature, Max Tokens, Output Key |
| Conditional | A condition expression, for example {{ state.score > 0.8 }} |
| Router | A list of conditions, labels and targets |
| Loop | Collection, Item Variable Name, Max Iterations, break condition |
| Code Executor | Language (Python, JavaScript, TypeScript, Bash), code, Timeout |
| API Call | Method, Auth (none, bearer, API key, basic), URL, body |
| Webhook In | A 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 Search | Query, Engine (DuckDuckGo, Brave, Tavily, Google), Max Results |
| Human Input / Approval | A prompt and a Timeout in seconds |
| SQL Query | Connection ID, SQL, Result Format, Max Rows |
| Memory nodes | Collection, query, Top K |
| Log | Level 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
Save the graph
Click Save. If you forget: "Save first — Please save the graph before running".
Click Run
In Run Graph, enter the Initial Input (JSON) (default
{}) and click Run.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.