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
- Open Doors.
- Choose New door.
- Fill in:
- Slug — lowercase, stable identifier (
it-help). - Name — display name.
- Description — what the door is for.
- Slug — lowercase, stable identifier (
- 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:
| Admission | Use |
|---|---|
tenant | Any valid caller in the tenant |
groups | Caller must have one of the listed groups |
link | Link-based access |
public | No 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
| Symptom | Likely cause |
|---|---|
403 on route | Door draft, trial pending, or admission failure |
door_paused | Pause was set by an operator |
surface_disabled | The surface is disabled in door settings |
| No candidates | Agent disabled, not bound, or audience excluded |
not_entitled | Caller lacks the required group |