@octoryn/ai-sdk-provider
v0.1.0
Published
Vercel AI SDK provider for governed Octoryn model access.
Readme
@octoryn/ai-sdk-provider
Use governed Octoryn models and policies through the Vercel AI SDK.
npm install ai @octoryn/ai-sdk-providerimport { streamText } from "ai";
import { createOctoryn } from "@octoryn/ai-sdk-provider";
const octoryn = createOctoryn({
apiKey: process.env.OCTORYN_API_KEY!,
});
const result = streamText({
model: octoryn("policy/au-healthcare"),
prompt: "Summarize this clinical note.",
});
for await (const text of result.textStream) {
process.stdout.write(text);
}The provider supports text generation, streaming, typed tool calls, structured output and multimodal inputs through the Vercel AI SDK's standard APIs. Octoryn remains responsible for workspace policy, provider selection, regional routing, budgets and audit evidence.
The Core SDK does not implement an autonomous tool loop. Use Reef when an application requires durable multi-step execution and approvals.
