Skip to main content
The Agent Builder Canvas is a visual workflow editor backed by a production workflow engine. It composes 16 core node types plus 8 BH-OS rails into clinical workflows that ship safely from sandbox to production with WORM audit.
https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/play.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=f8e057788e2b694cabd1505ac4dce7b6

Workflow runtime

· graph traversal · RLS-scoped
https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/memory.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=c830629c46ea0098a37580b8f4f65d63

Execution context

· 5 variable scopes
https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/list.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=06db62b7c458fc4bcf2d5c70ee54b716

Workflow queue

· managed job queue · 5 workers
https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/puzzle.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=eba447b2f1e34fad34c796c184970d9d

Node runtime

node runners + Block runtime

Lifecycle

medera/canvas-lifecycle.svgcanvas lifecycleCanvas workflow lifecycleDraftTestPublish v1.0.0Auto-deploy sandboxPromote productionEvery published version is immutable · WORM deployment logRollback = redeploy a previous version · full version historyDeployed agent URLsandbox.medera.info//-v
agent_workflows carries the current draft. Publishing snapshots the canvas into agent_workflow_versions and immediately deploys to sandbox. Promotion to production is explicit.

Optimistic concurrency

Every draft update is guarded by lock_version. Concurrent edits to the same workflow return 409 idempotency_conflict. Draft auto-save is hash-deduped — identical payloads do not create new versions.

Tenant isolation

The canvas is tenant-scoped end to end: - agent_workflows.organization_id is RLS-enforced
  • Published versions inherit the org
  • Deployments expose https://sandbox.medera.info/{org}/{agent}-v{ver} (sandbox) or https://agents.medera.info/{org}/{agent} (production)
  • Sandbox deployments auto-expire 72 h after deploy

Variable scopes

Canvas nodes can reference variables using {{scope.path}} syntax. Five scopes are available:

Real-time events (real-time channel)

The executor emits the following events to the org room and per-execution room:

What’s next

https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/puzzle.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=eba447b2f1e34fad34c796c184970d9d

Node Types

16 core nodes + 8 BH-OS rails.
https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/code.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=55229463dbd5bbb579cce6192dbc5ffc

Variables & Scopes

Variable resolution and template syntax.
https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/rocket.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=3589c7c988f4bcd5e2811bac87becdb9

Versioning & Deployment

Sandbox-first deployment with WORM audit.
https://mintcdn.com/medera-357fd587/n1mgcc3nR2sq_PoL/icons/ui/shield-check.svg?fit=max&auto=format&n=n1mgcc3nR2sq_PoL&q=85&s=6909d120dcab3cdfef838294f042d00c

Guardrails

HIPAA + 42 CFR Part 2 enforcement.