Open in the interactive docs · markdown for agents: https://neuraldeep.tech/docs/drift-tasks.md

Drift · tasks and proactivity

Drift can schedule tasks (cron/once) and initiate a dialog itself when something changes or a deadline approaches. Internally the agent uses three tools: proactive_notify (message the user), proactive_reschedule (postpone), proactive_skip (skip without a message). UI — in neuraldeep.ru/driftagent → "Tasks". API:

# create a task
curl -X POST https://drift.neuraldeep.tech/v1/tasks \
  -H "Authorization: Bearer dft_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Check email at 9 a.m.",
    "schedule": "0 9 * * *",
    "prompt": "Look at new emails in Gmail and summarize the important ones",
    "active": true
  }'

# list tasks
curl https://drift.neuraldeep.tech/v1/tasks -H "Authorization: Bearer dft_xxxxxxxx"

# run now
curl -X POST https://drift.neuraldeep.tech/v1/tasks/{task_id}/run \
  -H "Authorization: Bearer dft_xxxxxxxx"

# delete
curl -X DELETE https://drift.neuraldeep.tech/v1/tasks/{task_id} \
  -H "Authorization: Bearer dft_xxxxxxxx"

Schedule — standard cron syntax (5-field). Drift checks tasks once a minute. If in proactive output you call proactive_skip — no push goes to the user, and the task is marked "skipped". proactive_reschedule(seconds=N) — shifts the next run without changing the cron.

Reference sections (markdown for agents)