A tiny (1.18kB), tree-shakeable OpenAI client. Optionally supports response streaming in all JavaScript runtimes.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
82%
Published
5 months ago (0.0.8)
Add Package
deno add jsr:@agent/openai
Import symbol
import { type Step } from "@agent/openai/agent";
Import directly with a jsr specifier
import { type Step } from "jsr:@agent/openai/agent";
Add Package
pnpm i jsr:@agent/openai
pnpm dlx jsr add @agent/openai
Import symbol
import { type Step } from "@agent/openai/agent";
Add Package
yarn add jsr:@agent/openai
yarn dlx jsr add @agent/openai
Import symbol
import { type Step } from "@agent/openai/agent";
Add Package
vlt install jsr:@agent/openai
Import symbol
import { type Step } from "@agent/openai/agent";
Add Package
npx jsr add @agent/openai
Import symbol
import { type Step } from "@agent/openai/agent";
Add Package
bunx jsr add @agent/openai
Import symbol
import { type Step } from "@agent/openai/agent";