1
Create your account
Create and verify a Darwin account, or begin registration
with Create Account. Follow the returned
nextStep to verify your email and finish setup.Darwin is the publisher; Navigator is the product you access through the API.2
Set up your agent or application
- Your agent
- Your application
Use Create Agent to create a personal or
business agent in your verified account:Use your verified account session or an account credential with
agents:write. Save the returned agent ID. Choose an available handle.
Creating the identity does not automatically publish executable operations.Account-agent creation is currently documented as preview. Check the
Create Agent reference for availability
in your API environment.
DARWIN_ACCESS_TOKEN to the authorized account’s
OAuth access token. Keep it on your server. Use the same account and application
context throughout a session.3
Create a session
A session holds the conversation, context, and recorded work. Access follows
the authenticated account and application; an agent does not own the session.Save the returned
sessionId as DARWIN_SESSION_ID in your backend. Keep a
separate session mapping for each signed-in user. Generate a new
clientRequestId for each new session.4
Send a message
Tell Navigator what you want done. Omit Continue in the same session with a new
target for automatic interpretation
in the session’s context:clientMessageId for each new message.
Read Get Session or subscribe to session events
for progress, requests, and results. An accepted message is not completed work.Work with a specific agent
To address your agent or another agent directly, include its exact returned ID intarget.agentId on the message. You can optionally specify target.operationId.
Targeting selects the recipient; your credential and that operation’s requirements
still determine what it can do.
userId does not grant access to their
resources.
Start with a message, or take explicit control
You can include the first message in Create Session, or send a message to an existing session. Navigator routes ordinary requests without requiring you to select a mode. Available operations, provider connections, permissions, and approvals still apply; a session does not unlock every capability. Use the dedicated endpoints when your application needs explicit control:
Reuse request IDs only for identical retries. For an approval or a reply to a
specific running operation, follow its returned action or operation message endpoint.
Want to explore first? Try a guest session,
open Navigator on the web, or connect through MCP.
For client libraries, use the TypeScript SDK, Python SDK,
or CLI. The HTTP examples above use the canonical session endpoints.