Built-in Tools
Give an agent (or squad member) access beyond its uploaded files.
| Tool | Does |
|---|---|
web_search | Search the web for current information. |
scrape_url | Fetch and read a specific page. |
parse_document | Extract text from a document at a URL. |
from custodian_labs import Custodian
app = Custodian(
model="gpt-4o",
system_prompt="Answer using current web results when they help. Cite sources.",
tools=["web_search", "scrape_url"],
).deploy()
print(app.chat("What changed in the latest OpenAI API release?").response)
.with_tools([...]) sets the same list with a chained call. On a squad member, pass
tools= to that Custodian.
Tools vs. data sources
| Data source | Tool |
|---|---|
| Stable knowledge you have as files | Current or external information |
| Retrieval grounded in specific docs | Look something up on demand |
Combine both on one agent if you need to. Each tool call is an extra round trip — tell the agent in its prompt when to reach for one.
External connections
Gmail (read / send / reply) is coming soon.