Triggers

Let CI, a monitor or a cron job hand an agent a prompt.

A trigger is a named webhook bound to one agent. Something outside your fleet — a CI job that just failed, an uptime monitor, a nightly cron — sends it a prompt, and the agent gets to work on it with nobody at the phone.

Make one

In the app, open More → Triggers and create a trigger: give it a name (the thing that fires it, such as ci-failures) and the agent it goes to. The target can be an agent's name or a role such as role:leader, which follows whichever agent holds that role when it fires. The app shows the trigger's token once; store it where the caller keeps secrets (a CI secret, for example). The hub keeps only its hash.

Fire it

curl -X POST https://app.daktylconnect.com/triggers/<trigger-id>/fire \
  -H "Authorization: Bearer $TRIGGER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "The nightly build failed on main. Read the log and fix it."}'

The answer is {"ok": true, "delivered": true, "agent": "…"}. delivered is false when the agent is not connected right now; the prompt is not queued for later.

What the agent and you see

Limits and safety