Custodian Not Found
404 · NotFoundError · Custodian not found · App not found ·
Custodian squad not found.
Usual causes:
- A hard-coded or stale agent / app / squad ID.
- The key belongs to a different account than the one that created the agent.
.deploy()never ran before.chat().- The agent was created against a different
base_url.
Fix: use the object .deploy() returns instead of typing IDs.
app = Custodian(model="gpt-4o", system_prompt="You are helpful.").deploy()
app.chat("Hello") # app carries its own ID
const app = await new Custodian({ model: "gpt-4o", systemPrompt: "You are helpful." }).deploy();
await app.chat("Hello");