Skip to main content
@usenaive-sdk/naive is the developer platform SDK. It re-exports @usenaive-sdk/managed-agents 0.13 (same client, versions in lockstep), so code that imports from @usenaive-sdk/managed-agents keeps working. Nothing was removed or renamed: createClient and every existing namespace work exactly as before.

createNaive

createNaive is createClient with the newest API version (2026-12-01) pinned. apiKey falls back to NAIVE_API_KEY; baseUrl to NAIVE_BASE_URL, then https://api.vetta.sh. Clients made with createClient keep the version they had, so their responses do not change shape.

What is new

Resource writes use the namespaces you already know: client.emails, client.domains, client.trading, client.computers, client.vaults, client.phones, client.social, and client.identities.cards, client.identities.wallet and client.identities.legal.

An end-to-end example

Held calls

When an identity’s rules hold a call, the API answers 202 with an approval instead of the usual object. Methods take approvals: "return" | "throw" | "wait": Held calls only happen in developer workspaces.

Compatibility

  • New response fields (grants, budget, expires_at, client, last_used_at and others) are parsed tolerantly, and older SDK versions ignore them.
  • The legacy scopes field on keys and MCP sessions keeps only the original values, so older SDKs keep parsing it.
  • Older methods that the new ones supersede are marked @deprecated in the types; none were removed.