@octoryn/llamaindex
v0.1.0
Published
LlamaIndex TypeScript adapters for governed Octoryn model and embedding access.
Readme
@octoryn/llamaindex
LlamaIndex TypeScript factories for governed Octoryn LLM and embedding access.
import { createOctorynLlamaIndexModel } from "@octoryn/llamaindex";
const llm = createOctorynLlamaIndexModel({
apiKey: process.env.OCTORYN_API_KEY,
model: "policy/au-healthcare",
});The adapter uses LlamaIndex's official OpenAI-compatible provider, pins the
Octoryn Router endpoint and adds X-Octoryn-Sdk: llamaindex-ts. Retrieval
and indexing remain in LlamaIndex; durable agent/tool execution belongs to
Reef.
Compatibility note: LlamaIndex marked the current @llamaindex/openai
TypeScript integration deprecated in June 2026. Octoryn tests against its
latest published API (0.4.x) for existing LlamaIndex TS users, but will not
claim long-term upstream support until LlamaIndex publishes a maintained
replacement.
