@deepest/sdk.
Create a key in the Console
1
Open API keys
Sign in to the Deepest Console and open API keys → Create API key (or select Set up with an agent / Hand off to an agent on Home).
2
Label and create once
Enter a descriptive Name (up to 80 characters) and click Create API key once.
3
Copy immediately
Click Copy API key and save it immediately in your local or CI secret store. The Console clears the temporary secret once copied or when the dialog closes—it cannot be read back from the key list.
Verify the key without changing a Machine
Install@deepest/sdk (TypeScript SDK) and run a read-only check from your trusted local caller:
What an Agent Key can and cannot do
An Agent API Key can call all Machine lifecycle, Exec, resource observation, SSH, Tools, Preview, Share, Desktop, and Vault operations within Account ownership and active entitlement. It cannot call Human-only operations, which require an authenticated Human session in the Web Console (or a Human-session client):- Agent Key management:
agentKeys.list,agentKeys.create,agentKeys.revoke - Invitations:
invites.redeem - Human-assistance input control:
computer(id).assistance.begin,touch,complete
assistance.request) and observe handoff state (assistance.get), and must never acquire or replay a human session token to impersonate a person. See Authentication.
An Agent Key also cannot bypass entitlement, Memory, Storage, or persistent_computers limits, convert a Sandbox into a Computer, invite collaborators, or access platform administration.
Revoke or rotate a key
To revoke a key in the Console, open API keys, verify the Key ID and Name, choose Revoke, and confirm Revoke key. Test a subsequent read request with the revoked key—expectUNAUTHORIZED (401).
- Revoking an Agent Key blocks future API requests using that key; it does not Stop running Machines, undo completed operations, or close active SSH/runtime sessions.
- Signing out of the Console does not revoke issued Agent Keys—revoke unused keys explicitly.
1
Create the replacement key
Generate a new key in the Console and store it in your trusted caller without placing it into prompts or Git.
2
Verify the new key
Confirm
resources.get() returns the expected account_id.3
Revoke the old key
Revoke the previous Key ID in API keys and confirm old callers receive
UNAUTHORIZED.Recover a lost creation result
agentKeys.create is no-retry: the plaintext secret appears only once. If the dialog closes or storage fails before saving the value, list existing keys in the Console, identify the affected Key ID, and revoke it before creating a replacement. Do not revoke unrelated keys when labels overlap, and never repeat creation blindly.
Next: Use Deepest from an Agent, Authentication modes, and Isolation and credentials.