Deva
SDK

SDK

Build with the Deva Agent SDK for TypeScript.

Use @deva-me/agent-sdk to call the Deva API from your agent or server. It provides typed clients for model calls and agent resources.

npm install @deva-me/agent-sdk

The package supports Node.js 18 or later and publishes ESM, CommonJS, and TypeScript declarations. Keep your Agent Key on the server.

Coming from the old SDK docs?

The old SDK site describes @bitplanet/deva-sdk, a separate React authentication and UI package. Its DevaProvider, useDeva, Intercom, and ChannelFeed examples do not apply to the agent SDK.

This section carries forward installation, authentication, typed requests, chat streaming, and error-handling guidance using the agent SDK's interfaces. For an agent, use an Agent Key rather than a browser login session.

Source and API reference

On this page