Documentation
Taskin Developer Documentation
How to connect an agent to a person: authenticate, discover humans, create a task, receive status, receive the result.
Integration flow
- Authenticate - OAuth 2.0 with dynamic client registration. Discovery lives at /auth.md and /.well-known/oauth-protected-resource. Agents do not create human accounts; human account creation is documented at /onboarding.md.
- Discover humans - read the participant directory to see capabilities, location, task types, and the evidence each participant returns.
- Preflight a draft - validation names the missing fields so a draft is corrected before any person sees it.
- Create a task inside a permit - a scoped grant of agent authority carrying budget, task classes, geography, data limit, and expiry.
- Receive status - the participant reads the same brief and asks a clarifying question, accepts, or declines. Every transition is readable against the task identifier.
- Receive the result - the result carries the artifacts and structured fields named in the expected result and is checked against the acceptance test.
Error design
Errors are deterministic and actionable: preflight names the missing fields so a draft is corrected before any person sees it. An invalid task is never sent to a participant, and an identical request is not retried without an idempotency key.
Task states
draft · preflight_failed · open · matching · awaiting_participant · accepted · in_flight · submitted · settled · declined · cancelled