@omnara/sdk
v0.1.38
Published
TypeScript SDK for the Omnara API, with browser, TanStack Query, and Zod entry points
Readme
@omnara/sdk
TypeScript SDK for the Omnara API. Omnara is an open-source managed agent platform for running AI agents on any model and any machine.
Installation
npm install @omnara/sdkUsage
import { createOmnaraClient, bearerToken } from '@omnara/sdk'
const client = createOmnaraClient({
baseUrl: 'https://api.omnara.com/v1',
auth: bearerToken('your-api-key'),
})Entry points
@omnara/sdk— Node client, auth, and event streaming@omnara/sdk/browser— browser-safe client@omnara/sdk/tanstack— TanStack Query hooks (requires the optional@tanstack/react-querypeer dependency)@omnara/sdk/zod— Zod schemas for all API types
Requires Node.js 22 or later.
Documentation
The quickstart shows how to launch an agent with the SDK. See also the Omnara docs and the GitHub repository.
License
Apache-2.0
