Choose the right credential
Human-only operations
Only a current Human session (used directly in the Deepest Console or via an authorized Human-session client) can invoke these operations:agentKeys.list,agentKeys.create,agentKeys.revokeinvites.redeemcomputer(id).assistance.begin,computer(id).assistance.touch,computer(id).assistance.complete
assistance.request() and assistance.get(), and must never obtain or replay a human session token to impersonate a user.
Authenticate with an Agent API Key
- TypeScript SDK
- Raw HTTP
Run from a trusted server or local process with
@deepest/sdk installed:Human-session SDK mode: For interactive browser apps operating under a live Human sign-in session, the SDK constructor accepts
getSessionToken: async () => ... instead of apiKey. The SDK calls getSessionToken per request without caching tokens. Supply exactly one of apiKey or getSessionToken—passing both or neither throws a client-side TypeError. Never ask users to copy session tokens into a terminal or Agent prompt.Keep control and runtime credentials separate
Diagnose authentication failures
Signing out of the Console does not revoke issued Agent Keys, and revoking an Agent Key does not delete or stop existing Computers. See Agent Keys and Isolation and credentials.