SDK Reference
Package-level reference for Anvia's public TypeScript APIs.
The reference section documents public package exports, constructor options, return values, and TypeScript contracts.
Use guides when you want workflow guidance. Use reference pages when you already know the primitive you need and want its public shape.
Public Packages
| Package | Purpose |
|---|---|
@anvia/core | Agent runtime, tools, context, workflows, streaming, retrieval primitives, and observability interfaces |
@anvia/openai | OpenAI completion and embedding client |
@anvia/anthropic | Anthropic completion client |
@anvia/gemini | Gemini API and Vertex AI completion and embedding client |
@anvia/studio | Local Studio runtime and inspection UI |
@anvia/langfuse | Langfuse observer integration |
@anvia/chroma | Chroma vector store integration |
@anvia/transformers | Local Transformers embedding integration |
Package Entry Points
| Package | Public import paths |
|---|---|
@anvia/core | @anvia/core, @anvia/core/agent, @anvia/core/completion, @anvia/core/embeddings, @anvia/core/extractor, @anvia/core/mcp, @anvia/core/observability, @anvia/core/pipeline, @anvia/core/skills, @anvia/core/streaming, @anvia/core/tool, @anvia/core/vector-store |
@anvia/openai | @anvia/openai |
@anvia/anthropic | @anvia/anthropic |
@anvia/gemini | @anvia/gemini |
@anvia/studio | @anvia/studio |
@anvia/chroma | @anvia/chroma |
@anvia/transformers | @anvia/transformers |
@anvia/langfuse | @anvia/langfuse |
Sections
| Section | Contains |
|---|---|
| Core | Public @anvia/core exports and subpaths |
| Providers | OpenAI, Anthropic, Gemini, and compatible model adapters |
| Integrations | Chroma, Transformers.js, and Langfuse adapters |
| Studio | Studio runtime, HTTP contracts, sessions, traces, approvals, stores, and exported types |
