Share and chat
Every deployed agent or squad gets three ways in. You don't need to build a front end.
| Way in | Who uses it | Where |
|---|---|---|
| Share link | Anyone you send it to | https://chat.custodianlabs.io/{app_id} |
| Chat API | Your backend | POST /apps/{app_id}/chat. See Platform API: Chat. |
| My AIs | You, in the Dashboard | dashboard.custodianlabs.io/dashboard/my-ais |
Share links
deploy() returns the link as app.chat_url in Python and app.chatUrl in
TypeScript. It opens a hosted chat page at chat.custodianlabs.io.
Choose who can use it with share_mode when you deploy:
share_mode | Who can chat |
|---|---|
public (default) | Anyone with the link. |
password | Anyone with the link and the password. |
private | Only you, through the API or the Dashboard. |
app = custodian.deploy(share_mode="password", share_password="spring-launch")
print(app.chat_url)
const app = await custodian.deploy({ shareMode: "password", sharePassword: "spring-launch" });
console.log(app.chatUrl);
Squads take the same options on squad.deploy() / team.deploy().
note
Chats on a share link run on your account. They count toward your plan's usage like any other request.
My AIs
My AIs lists every agent and squad you've deployed, from either SDK or the API. For each one you can:
- Copy the share link to send it to someone.
- Change sharing between public, password and private, or change the password.
- Rename it.
- Add your own LLM provider keys. See Models and BYOK.
- Get API instructions: the endpoint and a ready-to-run
curlexample. - Delete it.
Call it over HTTP
curl -X POST "https://platform.custodianlabs.io/v1/apps/$APP_ID/chat" \
-H "X-API-Key: $CUSTODIAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Hello!"}'
Send the returned session_id back on the next request to continue the conversation.
See Platform API: Chat.