Custodian Agents
Deploy production AI agents in a few lines of code. No servers, vector databases or
orchestration to run. You describe the agent, call deploy(), and get back a live chat
endpoint and a shareable chat link.
2 minutes
Quickstart
Install the SDK, set your key, deploy your first agent and chat with it.
Copy and pasteTemplates
RAG, web research, multi-agent routing, pipelines and private agents.
AI-assistedBuild with your AI assistant
Connect Claude, Cursor or VS Code to the Custodian MCP server and describe what you want.
What you can build
| You want | Use | Template |
|---|---|---|
| An assistant with a system prompt | One agent | Quickstart |
| Answers grounded in your PDFs, docs or spreadsheets | One agent + data sources (RAG) | RAG agent |
| Answers that use the live web | One agent + built-in tools | Web research agent |
| Different specialists for different topics | Multi-agent, single routing | Router |
| Agents that pass work to each other | Multi-agent, chain routing | Hand-off |
| A fixed multi-step pipeline | Multi-agent, workflow routing | Pipeline |
| PII kept away from the model | privacy_enabled | Private agent |
How it works
Configure an agent → deploy() → App: chat API + share link → chat (sessions kept for you)
| Concept | What it is |
|---|---|
| Custodian Agent | One configured agent: model, system prompt, and optional examples, files, tools and privacy masking. Custodian in both SDKs. |
| App | A deployed agent. It has an ID, a chat endpoint and a share link. |
| Multi-agent | Several agents deployed behind one app. CustodianSquad in Python, AgentTeam in TypeScript. |
| Data source | A file attached to an agent, indexed for retrieval (RAG). |
| Built-in tool | web_search, scrape_url or parse_document, called by the agent when it needs them. |
| Session | A conversation. The SDK keeps the session ID and resends it for you. |
Every deployed agent also appears in My AIs in the Dashboard, where you can share it, rename it or call it over HTTP.
Pick your tool
| Python | TypeScript / JavaScript | No code |
|---|---|---|
pip install custodian-labs | npm install @custodianlabs/sdk | Flow Builder (beta) |
Both SDKs talk to the same platform and have feature parity. See Install and authenticate.