Workflow runtime
· graph traversal · RLS-scoped
Execution context
· 5 variable scopes
Workflow queue
· managed job queue · 5 workers
Node runtime
node runners + Block runtime
Lifecycle
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 bylock_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) orhttps://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
Node Types
16 core nodes + 8 BH-OS rails.
Variables & Scopes
Variable resolution and template syntax.
Versioning & Deployment
Sandbox-first deployment with WORM audit.
Guardrails
HIPAA + 42 CFR Part 2 enforcement.