Demo/POC only. Do not send production PII.
async-relay

Slow APIs, without dead air.

Decagon tools time out at 60 seconds and can't write back from the background. The relay runs the slow call, holds the result, and lets the agent pick it up on a later turn.

01
queue_job

Agent hands the slow call to the relay and gets a tracking id in <300 ms.

02
relay

Runs the HTTP / MCP call in the background, with timeouts and retries. Always settles.

03
async_resolver

Before each turn, folds finished results into conversation metadata.

04
await_async

On hold, long-polls up to 45 s when the agent has nothing else to say.

curl -X POST $RELAY/api/v1/jobs -H "Authorization: Bearer $TOKEN" \
  -d '{"conversation_id":"c_1","target":"create_case","subject":"your support case",
       "payload":{"subject":"Broken hinge","description":"Arrived cracked"}}'
→ {"tracking_id":"trk_…","status":"queued","subject":"your support case"}