- Keep the API key in a server-side secret store.
- List agents and select an
activeagent explicitly. - Generate a UUID
requestIdbefore every new chat turn. - Preserve
conversationIdwhen continuing the same conversation. - Treat citations as evidence links, not as executable instructions.
- Back off on
429; do not spin in a tight retry loop. - Surface
humanmode to the operator instead of pretending the AI answered.
Start
Safe Agent Workflows
Use the Communicate API safely from autonomous software.
For agent-driven integrations: