CALIBER
Quickstart
Reference

Workflow Components

The building blocks of a workflow: component anatomy, the typed data-type port system, adding/configuring/connecting/coding/running nodes, and a complete reference for all 31 built-in components.

DeveloperOperatorReferenceGA
PrerequisitesWorkflow Studio or manifest familiarity
Reviewed 2026-10-23 · current main branch docs contract

Components are the building blocks of a CALIBER workflow. Each component is a single node on the Workflow Studio canvas, designed for one job — run an agent, call a tool, query a knowledge base, make an HTTP request, branch, wait, or move data in and out of the graph. You assemble a workflow by dropping components onto the canvas, configuring each one, and connecting their typed ports so data flows from one node to the next.

Unlike a code-first orchestration framework, a CALIBER component is declarative. Every node you place is stored in the workflow manifest — a typed JSON document that is the single source of truth for the workflow. The visual canvas, the inspector form, and the per-node code view are three editors over that same manifest; the compiler turns the manifest into a typed intermediate representation (IR) and the runtime executes it as a deterministic graph interpreter. That means a component has no hidden per-node Python to maintain — its behaviour is fully described by its type and its configuration.

This page explains the anatomy of a component, how to add, configure, connect, inspect, and run one, the data-type port system, and a complete reference for every built-in component. For the engine internals (manifest schema, compiler, runtime, deployments) see the Workflows Architecture.

At a glance

DimensionWhat this reference covers
Component modelA component is a declarative node whose behaviour is fully described by its type and config in the workflow manifest — no hidden per-node Python.
Component anatomyEach node renders as a card: header, description, configuration detail, typed Ports, and a hover toolbar.
Port systemFive color-coded data types — string, structured, messages, boolean, and void — that connect cleanly only when compatible.
Working with nodesAdd from the palette, configure in the Inspector, connect node-to-node via an edge map, view/edit each node's manifest JSON (<>), and preview or run.
Component categoriesEight palette groups: Inputs & Outputs, Orchestration, Agents, Logic, Safety, Integrations, Governance, and Utilities.
No-code logicData Transform covers fixtures, mapping, JSON Schema, decision tables, and confidence; Python Code remains the bounded extension outside that vocabulary.
PrerequisitesEach component declares what it needs beyond the base install (a real LLM, an object store, the run queue, and so on); the palette marks the ones this server does not meet.
Built-in referenceEvery built-in component, grouped by category, with default ports, key fields, and setup checks.

The sections below start from this picture and drill down into the detail — the anatomy of a component, the port system, how to work with nodes, and the full reference for every built-in component.

Deep reference · data models, APIs & lifecycle

Reference

Anatomy of a component

Every component renders as a card with a consistent layout, so you can read a node at a glance without opening it.

  • Header — a category-tinted icon, the node's name, and its type (for example api_request). A status dot or badge on the right shows the node's readiness: a setup/error/warning badge when required configuration is missing or invalid, or a live execution status during a preview or run.
  • Description — a one-line summary of what the component does, taken from the component definition.
  • Configuration detail — a compact, monospace line summarizing the node's key settings (for example POST · https://api.example.com for an API Request, or inherit · 2 tools for an Agent).
  • Ports — the typed input and output connection points, listed as labelled rows. Inputs sit on the left edge, outputs on the right edge, each with a colored dot that encodes the data type it carries (see Port data types).
  • Toolbar — a floating row of actions that appears on hover or selection: view/edit code (<>), duplicate, and quick-add a connected node.

The Start trigger is the one exception to the card layout: it renders as a circular puck because it has no inputs and a single outgoing edge.

Port data types

Ports are typed. A connection is meaningful only when an output port and an input port carry compatible data, and CALIBER color-codes every port by its data type so compatibility is visible at a glance. Matching colors connect cleanly; mismatched types are flagged during validation.

Data typePort colorCarries
stringIndigo (#4F46E5)Plain text — prompts, responses, rendered output, identifiers.
structuredRed (#DC2626)JSON objects/arrays — tool results, payloads, metadata, lists.
messagesFuchsia (#C026D3)Conversation history (role/content message arrays).
booleanGold (#CA8A04)True/false control values.
voidGray (#6B7280)A pure control-flow signal that carries no data.

Most CALIBER components publish a primary text (string) output for the common "pass the result downstream" case, plus a structured output (often named result, response, or metadata) that carries the full typed payload for nodes that need it.

Configuration fields and setup checks

A component's parameters are edited in the Inspector — the panel that opens on the right when you select a node. By default the inspector shows the fields that matter for that component type (a Webhook shows URL, method, headers, and timeout; an Agent shows model, instructions, tools, skills, and handoffs).

Many components also carry setup checks — lightweight readiness rules that power the node's setup badge and the Problems panel. A setup check is advisory: it nudges you toward a complete configuration (for example "Provide a request URL" on a Webhook, or "Select a tool binding" on a Tool node) before you compile or run. Hard schema errors (an invalid type, an unmappable edge) are surfaced separately as validation errors.

Working with components

Add a component

Open the component palette on the left of the Workflow Studio. Components are grouped by category, each with its own icon, and every item is searchable by name, description, or docs. To add one, either:

  • Drag the component from the palette onto the canvas at the position you want, or
  • Click it to drop it at a default position.

Each palette card shows the component's icon, name, and description, plus badges for how many config fields, setup rules, and default input/output ports it has. A card also carries a Needs … badge (for example "Needs a real LLM" or "Needs the run queue") for every prerequisite the running server does not meet or cannot confirm; the full sentence is its tooltip. See What each component needs. Server-backed components also expose an Inspect button that opens a read-only reference — setup rules, ports, and field schema — before you commit the node to the canvas.

Configure a component

Select a node to open the Inspector and edit its fields. As you type, the node's status badge and the Problems panel update live, so you always know whether the node is ready. The node's header detail line and port rows also re-render to reflect the new configuration.

Every node also has a Node section at the top of the Inspector for a Display name (a human-friendly label shown on the canvas in place of the id — the id itself stays the stable identifier that edges reference) and a Description (an author note that supports Markdown and surfaces as the node's tooltip). Both are optional and presentation-only — they never reach the compiler or runtime.

Components with tuning parameters keep them behind a Show advanced fields toggle, so the inspector shows only the primary options by default. A field with an unresolved issue is always shown so problems stay reachable.

Connect components

CALIBER wires node to node: drag from a source node's right-edge handle to a target node's left-edge handle. When you connect two nodes, CALIBER automatically derives an edge map — it pairs each of the source's outputs to a compatible input on the target by matching name and data type. The edge label shows the resulting mapping (for example final_output→input).

To change which output feeds which input, open the connection map editor on the edge and remap the ports, or use Auto-Map to let CALIBER re-derive the pairing. Because the mapping lives on the edge rather than on individual port handles, a single connection between two nodes can carry several typed values at once.

You can also use the quick-add (+) action on a node to drop and connect a new downstream node in one step.

View or edit a component's code

Every node has a <> code button in its toolbar. It opens the node's manifest JSON — the declarative definition that is the source of truth for that component — in an editable code panel. You can read the full configuration, edit it as JSON, and Apply to write it straight back into the workflow.

This is the same "no-code and code edit the same artifact" model as the whole-workflow Code view, scoped to one node. The node's id is held fixed (edges reference it); everything else flows back through the normal validator, so the canvas and inspector immediately reflect your edit.

Why the code view shows JSON, not Python. CALIBER runs a manifest-driven interpreter, not generated per-node Python. The manifest is the single source of truth, and the compiled Agents-SDK Python is a deterministic, reviewable projection of it. Editing a node's manifest JSON is therefore completely safe — it introduces no new execution path and cannot change runtime behaviour or break determinism. The only component that runs real code is Python Code, whose sandboxed code field is part of that same JSON. The generated Python is intentionally read-only (available in the workflow Code view) to preserve the manifest-as-truth and security guarantees.

Run, preview, and inspect output

Compile and preview a workflow to dry-run the graph, or run it through the queued runtime. Both use the executor of the configured LLM provider: with the default fake provider an Agent only replays a canned reply, so a preview or run proves the graph and not a model. During both, each node shows an execution badge (running / ok / error / skipped) and the current node is highlighted, so you can watch data move through the components. After a preview or run, selecting a node shows its Last output — status, output text, timing, detail, and tool-call count — right in the Inspector, alongside the full traces and run lineage available from the run surfaces.

Duplicate and remove

Use the node toolbar to duplicate a configured node (handy for repeating a tool or agent with small changes), and delete nodes from the canvas. The Start and Output endpoints cannot be duplicated.

Component categories

The palette groups components by purpose:

CategoryWhat it's for
Inputs & OutputsGet data into and out of the graph — the Start trigger, file/folder/bucket inputs, output endpoints.
OrchestrationShape control flow over time — wait, fan-out/fan-in, iterate, loop, and call sub-workflows.
AgentsLLM-powered reasoning steps with tools, skills, and handoffs.
LogicBranch execution conditionally.
SafetyGuardrails, human approval, and error boundaries.
IntegrationsCall out to tools, MCP servers, HTTP APIs, and knowledge bases.
GovernanceHand run evidence to governed human review queues.
UtilitiesNo-code templating, sandboxed Python, and canvas notes.

A component may also be marked Legacy — kept working for existing workflows but de-emphasized in favor of a modern replacement. Legacy components are hidden in the palette until you enable Show legacy components, and carry a "Legacy" badge naming their suggested replacement (for example, External App → Tool / Python Code / API Request).

Component reference

Every built-in component, grouped by category. Inputs → Outputs lists the default typed ports; Key fields lists the main configuration parameters (every node except Start and Output also accepts an optional execution_policy for timeout/retry). Setup lists the readiness checks that must be satisfied before the node is considered configured. The nodes that need something beyond the base install are listed in What each component needs.

Inputs & Outputs

ComponentTypePurposeInputs → OutputsKey fieldsSetup
StartstartEntry point of the flow; can fire manually, on an event, or on a cron schedule.— → user_messagetrigger—
File Inputfile_inputRead one content-pinned managed project file, or an advanced legacy host path, and publish its content plus lineage.path → text, path, file_ref, metadatafile_ref or path, encoding, max_bytesSelect a managed file or provide a legacy path
Input Folderfolder_inputRead a bounded set of local text files from a folder.path → text, files, metadatapath, pattern, recursive, max_files, max_bytes_per_file, encodingProvide a folder path
Input Bucketinput_bucketRead a bounded set of text objects from an object-storage bucket.prefix → text, files, metadatabucket, prefix, recursive, max_files, max_bytes_per_file, encodingSelect an input bucket
Output Bucketoutput_bucketWrite the workflow's artifacts to an object-storage bucket.input → keys, metadatabucket, prefix, overwriteSelect an output bucket
Output Folderoutput_folderWrite the workflow's artifacts to a local folder.input → files, metadatapath, overwriteProvide an output folder path
OutputoutputFinal response endpoint — maps the field returned as the workflow's result.response → ———

Orchestration

ComponentTypePurposeInputs → OutputsKey fieldsSetup
Wait Untilwait_untilPause execution until a wall-clock timestamp (a resumable checkpoint).input → outputwait_until, timezoneSet the target timestamp
Wait For Eventwait_for_eventPause until an external system or operator resumes the run with a named event.input → output, event_payload, event_nameevent_name, correlation_key, timeout_secondsName the resume event
ParallelparallelExplicit fan-out marker — branch execution across multiple downstream paths.input → output—Add at least two downstream branches
JoinjoinExplicit fan-in barrier — merge branches back into one control path.(edge-driven) → output, mergedmode (all/any)Connect at least two upstream branches; use distinct join input ports per branch
For Eachfor_eachIterate a structured list through one executable target and collect results.items → results, text, metadatatarget_node_id, item_input_port, max_itemsUse an executable target when set
LooploopRepeat a target node until a stop condition matches or the iteration cap is reached.input, state → output, result, iterations, metadatatarget_node_id, max_iterations, stop_conditionSelect a loop target; choose an executable loop target
SubworkflowsubworkflowInvoke another published workflow by id and alias.input → output, resultworkflow_id, alias, version_id (set by a deployment bundle to pin the resolved version), timeout_secondsSelect the workflow to invoke; avoid recursion

Agents

ComponentTypePurposeInputs → OutputsKey fieldsSetup
AgentagentAn LLM reasoning step with inline or registered instructions, tools, skills, structured output, and handoffs to other agents.input, history → final_output, historyname, model, instructions, tools, skills, tool_constraints, handoffs, output_type, eval_datasetProvide instructions or a prompt reference

Logic

ComponentTypePurposeInputs → OutputsKey fieldsSetup
RouterrouterRoute execution conditionally across explicit branches; the first matching condition wins. Branches are expressed as outgoing edges.decision → (edge-driven)branchesAdd at least one branch; connect every branch target with an outgoing edge
Data Transformdata_transformApply a closed-vocabulary deterministic transform: fixture, mapping, Draft 2020-12 JSON Schema, ordered decision table, or weighted confidence.value, text → text, result, valid, metadataoperation, config, fail_on_invalidConfigure the transform (a non-empty config for the selected operation)

Safety

ComponentTypePurposeInputs → OutputsKey fieldsSetup
GuardrailguardrailApply validation or safety checks before or after an agent step, with block/redact/escalate behavior and bounded retries.response → passthroughmode, checks, on_failure, max_retriesConfigure at least one guardrail check
Human Approvalhuman_approvalPause the workflow until a human reviewer approves or rejects it; resolved from the run monitor. Every field is enforced at runtime: required_role gates the decision endpoint, approval_count is a quorum of distinct approvers, and the run's initiator cannot approve their own run by default.request → requestrequired_role, approval_count, timeout_behavior (block only — escalate has no target and auto_reject no deadline, so both are rejected at authoring time)—
Error Boundaryerror_boundaryExecute a target node with fallback text or a compensation node when it fails.input → output, errortarget_node_id, fallback_text, compensate_withProtect an executable target and use an executable compensation node when set

Integrations

ComponentTypePurposeInputs → OutputsKey fieldsSetup
TooltoolInvoke a registered workflow tool binding directly — same registry, MCP bindings, and retry/timeout policy agents use.input, arguments → text, result, metadatatool_nameSelect a tool binding
MCP Resourcemcp_resourceCall a tool exposed by a registered MCP server as a first-class node.input → text, result, metadataserver_id, tool_name, timeout_secondsSelect an MCP server and tool
WebhookwebhookSend an outbound HTTP request to an external URL; the upstream payload becomes the body (JSON-encoded if structured).payload, input → text, response, metadataurl, method, headers, timeout_secondsProvide a request URL
API Requestapi_requestMake an HTTP request from a URL + method, or paste a cURL command that the node parses for method/URL/headers/body.payload, input → text, response, metadatamode (url/curl), url, method, curl, headers, body, timeout_secondsProvide a URL or cURL command
Knowledge Queryknowledge_queryQuery a knowledge base with dense, GraphRAG hybrid, or Apache AGE graph retrieval, with query-time overrides.question, history, retrieval_modes, version_ids, graph_overrides → text, answer, result, citations, chunks, graph_contextknowledge_base_id, version_ids, retrieval_modes, top_k, chat_model, graph_overridesSelect a knowledge base or pinned versions
Knowledge Buildknowledge_buildLaunch a new knowledge-base version build (chunking, embeddings, graph) from inside a workflow.input, sources, chunking_strategy, embedding_model, … → status, version_id, run_id, result, …knowledge_base_id, chunking_strategy, embedding_model, chunking_config, graph_config, activate_when_complete, wait_for_completion, wait_timeout_secondsSelect a KB, chunking strategy, and embedding model
External Appexternal_appMigration bridge — invoke an existing hand-coded Python entrypoint while it is converted to a first-class node.input, context → text, result, metadataentrypointSet the external app entrypoint

Governance

ComponentTypePurposeInputs → OutputsKey fieldsSetup
Review Queue Enqueuereview_queue_enqueueDurably enqueue one or more trace IDs for governed human review through the audited idempotent queue service.trace_id, trace_ids → text, result, created_countqueue_id, experiment_id, assigned_toSelect an active review queue; runtime execution fails closed if no enqueuer is bound

Utilities

ComponentTypePurposeInputs → OutputsKey fieldsSetup
TemplatetemplateRender a no-code text or JSON payload from workflow inputs using {{placeholders}}.input, variables → text, result, metadatatemplate, output_format (text/json), missing_variable_modeProvide a template
Python Codepython_codeRun custom Python in the isolated tool sandbox for lightweight glue logic.input, context → text, result, metadatacode, timeout_secondsProvide Python code
NotenoteCanvas-only annotation for workflow authors — never executes at runtime.— → —text—

Under CALIBER_PROFILE=reference, python_code and external_app nodes are refused at validation, compile, promotion and run time with unsupported_in_reference_profile (see Executable code is refused); the development profile runs them as described here.

What each component needs

Most components work on a base install. These need something more. GET /workflow-components resolves each requirement against the running configuration (component_requirements in workflows/component_catalog.py) and the palette badges every one that is unmet or unknown. "Configured" means the setting is present, not that the service answers; /readiness is what probes reachability.

ComponentNeedsResolved as met when
AgentA real LLM provider; the default fake provider only echoes a canned replyCALIBER_LLM_PROVIDER is not fake or deterministic
Input Bucket, Output Bucket, Knowledge Query, Knowledge BuildA remote object store (MinIO or S3)workflow storage is remote: the backend is s3, gs, az, or azure, or its base URI has such a scheme (workflow_storage_is_remote in observability/readiness.py)
MCP ResourceCALIBER_FEATURE_INTEGRATIONS=true (it is off by default), and a registered MCP server that CALIBER can reachUnmet while CALIBER_FEATURE_INTEGRATIONS is off ("A registered MCP server that CALIBER can reach (needs CALIBER_FEATURE_INTEGRATIONS=true)"). Once it is on, the server is never resolved: an MCP server is registered data, so the palette shows the requirement without claiming it is unmet
External AppCALIBER_EXTERNAL_APP_ENTRYPOINT_ALLOWLIST naming the entrypoint; until it is set every entrypoint is refusedthe allowlist is non-empty
Human Approval, Wait Until, Wait For EventCALIBER_WORKFLOW_RUN_QUEUE_ENABLED=true with checkpointing, so a run can pause and resumethe run queue and CALIBER_WORKFLOW_RUN_CHECKPOINTING_ENABLED are both on

Every other node type declares an empty requirement list. The docker stack turns on the run queue, checkpointing, and runtime approvals; a plain install leaves all three off.

How a component executes

When you compile a workflow, each component becomes a typed IR node, and the runtime interpreter walks the graph, carrying typed values along each edge's map. A few behaviours are worth understanding when you build with components:

  • Side-effecting components — Tool, MCP Resource, Webhook, API Request, Review Queue Enqueue, and Python Code call external/durable services or run sandboxed code. In tests these run through injectable executors (a fake tool resolver, a fake HTTP sender). Ordinary preview cannot isolate every capability, so it refuses, before any node runs, a graph that contains File Input with a legacy host path (a content-pinned managed file is allowed), Input Folder, Input Bucket, Output Bucket, Output Folder, MCP Resource, Python Code, External App, Webhook, or API Request. In a preview, registered tools that write or take external actions are mocked, and read tools are mocked unless they opt in with allow_in_preview; use a queued run for those nodes.
  • Checkpoints — Wait Until and Wait For Event create resumable checkpoints; the run pauses and resumes when the time/event arrives.
  • Human-in-the-loop — Human Approval pauses the run and surfaces a runtime approval that a reviewer resolves; Guardrail can block, redact, or escalate and retry a step.
  • Control flow — Router branches by condition over outgoing edges; Parallel fans out and Join fans in; For Each and Loop drive a single executable target repeatedly; Subworkflow composes a published child workflow.
  • Executable targets — For Each, Loop, and Error Boundary act on another node. Their target must be an executable component (Agent, Tool, MCP Resource, Knowledge Query/Build, Template, Data Transform, Review Queue Enqueue, Python Code, External App, Webhook, API Request, or Subworkflow).

Defining a new component (for developers)

Because a component is declarative, adding a new built-in component means defining its shape in a few places that stay in lock-step — there is no per-node runtime class to register. The end-to-end surface is:

  • Manifest (caliber/src/caliber/workflows/manifest.py) — a Pydantic node model added to the discriminated WorkflowNode union: its type literal, config fields, and default input/output PortMap.
  • IR (workflows/ir.py) — a NodeType enum value and an IR* dataclass mirroring the config the runtime needs. Codegen is generic, so no per-type emitter is required.
  • Compiler (workflows/compiler.py) — one branch mapping the manifest node to its IR node.
  • Runtime (workflows/runtime.py) — one execution branch that reads the node's inputs, does the work, and publishes its declared outputs. Side-effect dependencies (HTTP, tools) are injected via the runtime plan so they stay testable; executable nodes are added to the orchestration-target sets.
  • Validation (workflows/validation.py) — register the node as an executable target where applicable.
  • Component catalog (workflows/component_catalog.py) — the label, category, description, docs, setup checks, starter node, and field descriptions that drive this page and the palette. Every node type must also have an entry in _COMPONENT_REQUIRES (empty when it needs nothing beyond the base install); tests/test_workflow_component_requirements.py fails until it does. Fields are introspected from the manifest model automatically.
  • Front end — the node type union, a Lucide icon, palette/guidance/color/ subtitle entries, the default-node factory, and an Inspector section for the node's fields.

The catalog is the shared source of truth between the runtime and the designer, so the palette, the inspector, the setup badges, and this reference all stay in sync with the validated node shape. For the full engine design — manifest hashing, deterministic compilation, the runtime interpreter, deployments, and calibration — see the Workflows Architecture.

CALIBER : Contextual Adaptive Lifecycle for Intelligent Build, Evaluation, and Refinement — this page is generated from the authoritative Markdown sources in docs/ and the repository-level ARCHITECTURE.md.