Preparing workspace…
Documentation
Everything you need to build, run, and govern durable AI workflows.
01 · Introduction
Vectorbea is a control plane for durable AI workflows. You compose agents, tools, and connections into workflows on a visual canvas, run them with full observability, and govern them with human approval gates. Every run is checkpointed — when something fails or waits, the workflow resumes from the last checkpoint instead of restarting.
The one-liner
Agents that resume, not restart.
02 · Why
Real AI automation is long-running. A renewal pipeline waits days for a manager's decision. A research agent makes fifty LLM and API calls. A data workflow processes thousands of records. Stitching this together with scripts or basic agent frameworks breaks down fast:
Vectorbea treats the workflow run as a durable, event-sourced entity rather than a process in memory — so waiting, failing, retrying, and resuming are normal, cheap operations.
03 · Architecture
When you start a run, the API enqueues it and a worker picks it up under a lease. The worker walks the workflow graph node by node. After every node, outputs are persisted — that is the checkpoint. The run's entire history is an append-only event stream.
Checkpoints
Every node's validated output is stored (step outputs + run checkpoints). A resume replays state from storage instead of re-executing finished nodes.
Resume, not restart
Failures, approval waits, timeouts, and worker crashes all converge on the same path: load the last checkpoint, continue from the next node.
Leases + idempotency
Workers hold a lease per run, so a crashed worker's runs are safely re-claimed. Tool calls carry idempotency semantics so retries don't duplicate side effects.
Retries, timeouts, DLQ
Per-node retry policies (fixed/exponential backoff), step and run timeouts, and a dead-letter path for runs that exhaust recovery options.
Approval gates take this further: a run that reaches a gate is parked — it consumes no compute while waiting hours or days. The moment a human approves, the worker resumes from the checkpoint before the gate. Rejections end the run cleanly with a full audit trail. If a run does fail, the recovery engine classifies the failure (auth, network, rate limit, data…) and offers one-click Retry / Resume from checkpoint on the run page.
04 · Inspiration
Contract renewal pipeline
Nightly trigger pulls upcoming renewals from your DB → an agent scores churn risk → high-risk accounts pause at an approval gate for the account manager → on approval, personalized outreach is drafted and sent. The run can wait days at the gate at zero cost.
Claims / ticket triage with human review
Webhook receives a claim → agent extracts entities and checks policy via tools → low-risk cases are auto-resolved; uncertain ones checkpoint and escalate to a human gate → resume with the reviewer's decision injected into context.
Monthly analytics & reporting
Schedule queries warehouses, calls analytics APIs, has an agent compose a dashboard narrative, and emails the result — each stage checkpointed, so a flaky API at step 4 never repeats the expensive steps 1–3.
Bulk data migration / enrichment
Process thousands of records in batches with checkpoints between batches. A crash at record 8,000 resumes at 8,001 — not at zero. DB writes use read-only or approval-gated connections for safety.
Deep research agent
Iterative agent loops across search, scraping, and synthesis tools over hours. Every iteration is an event; you watch progress live in the run timeline and can stop, inspect, or resume at any point.
Incident response copilot
Alert webhook starts a run → agent gathers logs and metrics via tools → proposes remediation → a gate requires on-call approval before any mutating action executes.
05 · Reference
Create · edit · delete
Create · edit · delete
{{param}} placeholders that agents fill at runtime; high-risk writes can demand a human approval before executing.Create · edit · delete
Create · edit · delete
Create · edit · delete
Create · edit · delete
06 · Data flow
Every node in a workflow has a typed input and output contract. Tools declare JSON schemas, agents produce structured outputs, and triggers define the fields a run starts with. Because every output is checkpointed with its shape, downstream nodes can reference upstream data without writing any JSON or template code — Vectorbea's unified I/O system wires it visually.
The model
Every node publishes its validated output as named, typed fields (e.g. risk_scorer.output.risk_score: number). These are persisted at the checkpoint — which is also why resume works.
Every node declares the fields it needs (from the tool's input schema, the agent's expected input, or the trigger's input fields).
An input mapping connects an upstream output field to a downstream input field. Mappings are stored on the node and compiled to the runtime's template form ({{steps.node.output.field}}) under the hood — you never write that by hand.
Working with mappings in the builder:
Define the trigger's input fields
Connect nodes, then open Inputs
Auto-map the obvious matches
Pick the rest from the field list
Validation catches gaps before you run
At runtime the worker resolves each mapping against the checkpointed step outputs — so even after a crash-resume or an approval wait, downstream nodes see exactly the same upstream values. The same fields appear in approval-gate messages and in the run's debug view, where you can inspect every resolved input per node.
07 · Tutorial
Add a connection
Register a tool
Create an agent
Compose the workflow
⌘K). Connect nodes by dragging between handles.Map inputs — no JSON required
Add governance
Simulate, then run
Observe and operate
08 · Accelerator
The Architect turns a plain-English goal into a runnable workflow. Describe the outcome — "every Monday, pull contracts renewing in 30 days, score churn risk, and email the account owner a summary; ask me before anything is sent" — and it does the rest.
Describe the goal
Review the plan
Wire connections
Build & refine
Fastest way to a working workflow — describe it, then refine on the canvas. One Architect build per workspace per month.
Need more? Check Usage & limits for your workspace quotas, or reach us at support@vectorbea.com.