Teammates
A teammate is a reusable agent definition. You configure it once, then trigger runs as often as you need.
Create a teammate
Key fields
Triggering runs from teammates
Introduction
A teammate can be triggered in three ways: a direct message, inbound email, or webhook.
Direct runs inherit the teammate's default_permission_mode unless you explicitly override permission_mode on the run request.
Message
Use direct messages when your app already has user input and needs immediate output.
Python
Email Inbox
Use email inbox when email itself should trigger the run.
Webhook
Use webhook when an external system should trigger runs over HTTP.
The webhook URL is shown once at creation or when calling
enable_webhook(). Save it — it cannot be retrieved again. To rotate, callenable_webhook()which invalidates the old URL.
Manage teammates
Python
