Custodians & Tools
A Custodian is one AI agent in a flow. Give it a unique name, pick a model, write a good system prompt, and attach the tools, topics, data sources, and handoff rules it needs. Click any custodian node to configure it in the inspector.
Custodian settings
| Setting | Description |
|---|---|
| Name | Unique name used as the node's id and for routing/handoffs. |
| Model | Which model powers the custodian (see below). |
| System prompt | The agent's brief. This is the single biggest lever on output quality — write it as a structured brief, not a one-liner (see Best Practices). |
| Description | Short summary used for routing when a message could match several custodians. |
| Topics | Routing keywords. In single mode (and when multiple custodians could start in chain), the best topic match handles the message. |
| Priority | Ordering hint among same-topic candidates. |
| Privacy | Enables inline Guardian Layer masking (PII/PHI) on this custodian's traffic. |
Handoff (canHandoffTo) | Which custodians this one may escalate to (chain mode). |
| Tools | Web Research, Gmail, Slack, or none (prompt + knowledge files only). |
Output (outputKey / responseSchema) | Force structured JSON output for this custodian, useful when it feeds a downstream step or external system. |
Models
| Model | Provider | Good for |
|---|---|---|
gpt-6-luna | OpenAI | Default all-rounder; strong reasoning, tool use, high-volume single-purpose custodians. Works on the Free plan. |
claude-3.5-sonnet | Anthropic | Nuanced writing, long context, complex tool chains. |
claude-3-haiku | Anthropic | Fast, low-cost Claude option. |
gemini-2.0-flash | Fast multimodal / high-throughput tasks. |
You may prefix a model with its vendor (openai/gpt-6-luna,
anthropic/claude-3.5-sonnet); the platform strips it. A leading ~ marks the model
as a bring-your-own-key hint. Mixing models within one squad is allowed.
Tools
Tools are attached per custodian. Use them sparingly — only what the custodian actually needs.
Web Research 🌐
One Web Research chip on the palette represents a combined web tool: it searches
the web and reads the full content of the most relevant pages. Add it whenever the
custodian must answer from current, external information. (Internally it maps to
web_search + scrape_url; you never attach those yourself.)
Gmail ✉️
Attach to let the custodian list, read, send, and reply to email (expands to
gmail_list, gmail_read, gmail_send, gmail_reply). Requires connecting a Gmail
account:
- With the Gmail tool attached, open the custodian's inspector → Sign in with Google.
- Authorize access; the dashboard stores the credential encrypted and returns you to your flow.
- The connection is persisted with the flow, so reopening an app keeps it working.
Your Gmail account is a credential the flow owner attaches — end users who share the flow don't provide their own email account.
Slack 💬
Attach to let the custodian list channels, read messages and threads, and post or reply in
Slack (expands to slack_list_channels, slack_read, slack_send, slack_reply).
Requires a bot token from your own Slack app. See Connect Slack
for creating the app in a few minutes.
- With the Slack tool attached, open the custodian's inspector, paste the bot token
(
xoxb-…) and, optionally, a default channel ID (C0123ABCD). - Click Connect Slack. The token is checked with Slack right away, and the inspector shows Connected to your workspace.
- Deploy. The token is stored encrypted and kept with the flow, so reopening an app keeps it working.
Invite the bot to each channel it should use (/invite @your-bot). Like Gmail, the Slack
token is a credential the flow owner attaches.
None
A custodian with no tools answers purely from its system prompt and any connected knowledge files — ideal for routing, summarization, or QA over your own documents.
Parse Document (RAG)
Not a palette item you drag — it's automatic. When you connect a
Data Source to a custodian, the custodian can read the file content as
context (the parse_document tool is active behind the scenes).
Structured output
When a downstream process or system needs machine-readable results from a custodian:
- Set an
outputKey— the name other steps use to reference this custodian's result. - Set a
responseSchema— JSON describing the output shape (fields, types).
This is how workflow steps pass clean data forward (e.g. a Welcome custodian emitting
{"intent": "...", "topic": "..."} that the Research step consumes).
See also: Overview · Routing Modes · Data Sources & RAG · Best Practices