Skip to main content

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​

SettingDescription
NameUnique name used as the node's id and for routing/handoffs.
ModelWhich model powers the custodian (see below).
System promptThe 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).
DescriptionShort summary used for routing when a message could match several custodians.
TopicsRouting keywords. In single mode (and when multiple custodians could start in chain), the best topic match handles the message.
PriorityOrdering hint among same-topic candidates.
PrivacyEnables inline Guardian Layer masking (PII/PHI) on this custodian's traffic.
Handoff (canHandoffTo)Which custodians this one may escalate to (chain mode).
ToolsWeb 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​

ModelProviderGood for
gpt-6-lunaOpenAIDefault all-rounder; strong reasoning, tool use, high-volume single-purpose custodians. Works on the Free plan.
claude-3.5-sonnetAnthropicNuanced writing, long context, complex tool chains.
claude-3-haikuAnthropicFast, low-cost Claude option.
gemini-2.0-flashGoogleFast 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:

  1. With the Gmail tool attached, open the custodian's inspector → Sign in with Google.
  2. Authorize access; the dashboard stores the credential encrypted and returns you to your flow.
  3. 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.

  1. With the Slack tool attached, open the custodian's inspector, paste the bot token (xoxb-…) and, optionally, a default channel ID (C0123ABCD).
  2. Click Connect Slack. The token is checked with Slack right away, and the inspector shows Connected to your workspace.
  3. 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