Teammates

A teammate is a reusable persona with a name, instructions, and tools. Configure once, run many times.

Create a Teammate

Fields

FieldTypeDescription
namestring (required)Display name for the teammate
instructionsstringSystem prompt — what this teammate does
toolsstring[]Tool names (e.g. ["slack", "linear"]). See Tools
rolestringPersona role, injected into prompt context
goalsstringTeammate goals, injected into system prompt
user_idstringEnd-user ID for multi-tenancy
metadatadictArbitrary key-value data stored with the teammate
allowed_sendersstring[]Email addresses or @domain patterns for email inbox

List Teammates

Get a Teammate

Update a Teammate

Only provided fields are updated — omitted fields remain unchanged.

Delete a Teammate

Soft-deletes (archives) the teammate. Archived teammates won't appear in list results.

Trigger Runs

There are three ways to trigger a run on a teammate:

MethodUse Case
MessageCall runs.create() with a message — the most common way
WebhookExternal systems POST to a webhook URL to start a run
Email InboxInbound emails automatically trigger runs

What's Next

  • Runs — execute teammates and get results
  • Tasks — create reusable task definitions
  • Tools — browse and assign available tools