Choose an interface
- MCP is the fastest path for assistants and coding agents that support remote MCP servers.
- SDKs provide typed Browse operations for Search and threads in TypeScript and Python.
- REST works from any trusted server environment.
Keep authority explicit
Install instructions and tool descriptions do not grant access. The client still needs an authenticated Darwin connection or a properly scoped API credential. Keep user approval, provider authentication, and payment authorization separate.Model the workflow
Define a failure policy
- Retry only transient transport failures.
- Reuse the same
idempotencyKeyand identical payload for an uncertain mutation retry. - Stop autonomous progress when Darwin requires a person.
- Never turn durable message acceptance or a pending operation into a successful answer.
- Recover from a stored
threadand history cursor after a restart or timeout.