@auggy/openai
v0.4.4
Published
OpenAI engine adapter for auggy — implements ModelClient against the openai SDK.
Maintainers
Readme
@auggy/openai
OpenAI engine adapter for auggy — implements ModelClient against the official openai SDK.
Install
bun add @auggy/openaiYou don't normally install this directly — auggy create does it for you when you pick openai as the engine provider during scaffold.
Usage
import { createOpenAIEngine } from "@auggy/openai";
const engine = createOpenAIEngine({
model: "gpt-5",
// apiKey omitted → SDK reads OPENAI_API_KEY from env.
});The auggy runtime resolves the engine via agent.yaml:
engine:
provider: openai
model: gpt-5
maxContextTokens: 200000
maxTokens: 4096License
Apache-2.0 — see LICENSE.
