Skip to main content

Inputs and Outputs in Studio

In Studio, every workflow runs on the movement of inputs and outputs (I/O). Components take in data through inputs, process it, and send results through outputs. Understanding how ports work ensures your agents run reliably at scale.

Quick Reference

● = required input, ○ = optional input
Blue = outputs, Red = inputs
Always connect blue → red

Why I/O Matters​

Inputs and outputs are the backbone of Studio workflows. If a required input is missing, execution halts. If outputs are miswired, downstream components fail or return empty data. Designing clear I/O paths makes your agents predictable and easier to debug.

If you’re new to the layout, start with the Studio Canvas to see how ports appear visually.

Port Symbols​

SymbolPort ColourMeaning
● SolidRed inputRequired — execution stops until this is filled
○ HollowRed inputOptional — used only if data is provided
● SolidBlue outputMain result passed forward
○ HollowBlue outputSecondary or derived result

Supported Input Types​

Studio supports a wide range of input categories and structured subtypes. These cover everything from plain text prompts to files, arrays, and objects.

Main Categories​

CategoryDescription
TextFreeform strings or prompts
ImageUpload or process PNG, JPG, SVG
AudioProcess speech or audio files
VideoWork with video metadata or clips
StructuredJSON, arrays, objects, or schema-based formats

Structured Subtypes​

SubtypeExampleNotes
string"Translate this to French"Most common type
number3.14Decimal or float
integer42Whole number
booleantrueOn/off, yes/no toggles
array["item1", "item2"]Useful for batching
object{ "id": 1, "name": "Alice" }Flexible structured payload
binaryPNG, CSVStored and returned as signed URL
date2025-01-01ISO 8601 format
anyFlexible fallback (not validated)

Chaining Data Between Components​

The rule is simple: blue output → red input.

  • Outputs can feed multiple inputs downstream
  • Optional inputs (○ red) are used only when a value is present
  • Use transformer components when output and input formats don’t match

For examples of transformers and connectors, see the Component Library.

Execution Rules​

Studio determines when a component runs based on its inputs:

  • Runs → all required inputs are connected and resolved
  • Waits → one or more required inputs are missing
  • Skips → required input missing and no fallback provided

This execution model prevents components from firing without the data they need.

Debugging I/O in Studio

If a component stays red, it usually means a required input is missing or wired incorrectly. Use Agent Logs and Debugging with Weaver to inspect what’s happening.

Best Practices for I/O​

  • Keep outputs small and scoped to only what’s needed downstream
  • Test I/O paths incrementally with simple inputs before scaling up
  • Use Notes or color-coded components to document sections of your flow
  • Save real-world test inputs to re-run whenever you modify a workflow
Pro Tip

A clear I/O design makes it easier to move between Weaver and Studio. You can start an agent in Weaver and refine it in Studio without losing clarity on how data flows.