Skip to main content

Doors

A door is the governed entry point for one or more agents. Configure it once and use it from REST, MCP or A2A.

Creating a door​

  1. Open Doors.
  2. Choose New door.
  3. Fill in:
    • Slug — lowercase, stable identifier (it-help).
    • Name — display name.
    • Description — what the door is for.
  4. Save. The door is created as a draft.

Publishing​

Publishing snapshots the current configuration and bindings as a door version. Until published, the door cannot be called.

The editor opens as an expandable modal. The summary shows status, version, active agents and admission, with pause/delete actions. Changes save immediately; use the sticky footer to publish.

  • Publish makes it callable.
  • Pause makes it unavailable without deleting configuration.
  • Resume publishes it again.
  • Retire removes it from active use.
  • Delete removes the door, its bindings and its versions.

Tabs​

Agents​

Bind agents to the door. A binding can have a priority and an audience restriction. Set the binding status to disabled instead of deleting it when you want to keep the association.

Access​

Choose admission:

AdmissionUse
tenantAny valid caller in the tenant
groupsCaller must have one of the listed groups
linkLink-based access
publicNo group restriction; still requires a valid token

Surfaces​

Enable or disable REST, MCP and A2A independently. A disabled surface returns surface_disabled rather than dispatching.

Routing​

  • single — always select the highest-priority binding.
  • rules_only — deterministic rules.
  • scored — hybrid routing against agent names, descriptions and examples.

Thresholds:

  • t_high — minimum score for high confidence.
  • t_gap — minimum gap between first and second candidate.
  • t_low — below this, return no candidate.

Versions​

Every publish creates a snapshot. Versions are immutable and are useful for rolling back configuration.

Test​

Use the maintenance chat or call the door with a real door token. The console does not mint production door tokens for you.

Calling a door​

curl -X POST \
-H "Authorization: Bearer $DOOR_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"message":"show my open tickets"}' \
https://YOUR_HOST/v1/tenants/acme/doors/it-help/route

For a full ask:

curl -X POST \
-H "Authorization: Bearer $DOOR_TOKEN" \
-H 'Content-Type: application/json' \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"message":"hello","agent_id":"support-agent"}' \
https://YOUR_HOST/v1/tenants/acme/doors/it-help/ask

Common problems​

SymptomLikely cause
403 on routeDoor draft, trial pending, or admission failure
door_pausedPause was set by an operator
surface_disabledThe surface is disabled in door settings
No candidatesAgent disabled, not bound, or audience excluded
not_entitledCaller lacks the required group