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/server | HTTP response helpers for JSONL and Server-Sent Event streams |
@anvia/react | Client stream parsers, fetch transports, and React chat state |
@anvia/openai | OpenAI completion and embedding client |
@anvia/anthropic | Anthropic completion client |
@anvia/gemini | Gemini API and Vertex AI completion and embedding client |
@anvia/mistral | Mistral completion and embedding client |
@anvia/studio | Local Studio runtime and inspection UI |
@anvia/langfuse | Langfuse observer integration |
@anvia/otel | OpenTelemetry observer integration |
@anvia/chroma | Chroma vector store integration |
@anvia/qdrant | Qdrant vector store integration |
@anvia/pgvector | Postgres pgvector store integration |
@anvia/fastembed | Local FastEmbed embedding integration |
@anvia/transformers | Local Transformers embedding integration |
Package Entry Points
| Package | Public import paths |
|---|---|
@anvia/core | @anvia/core, @anvia/core/agent, @anvia/core/audio-generation, @anvia/core/completion, @anvia/core/embeddings, @anvia/core/evals, @anvia/core/extractor, @anvia/core/image-generation, @anvia/core/loaders, @anvia/core/mcp, @anvia/core/memory, @anvia/core/model-listing, @anvia/core/observability, @anvia/core/pipeline, @anvia/core/skills, @anvia/core/streaming, @anvia/core/tool, @anvia/core/transcription, @anvia/core/vector-store |
@anvia/server | @anvia/server |
@anvia/react | @anvia/react |
@anvia/openai | @anvia/openai |
@anvia/anthropic | @anvia/anthropic |
@anvia/gemini | @anvia/gemini |
@anvia/mistral | @anvia/mistral |
@anvia/studio | @anvia/studio |
@anvia/chroma | @anvia/chroma |
@anvia/qdrant | @anvia/qdrant |
@anvia/pgvector | @anvia/pgvector |
@anvia/fastembed | @anvia/fastembed |
@anvia/transformers | @anvia/transformers |
@anvia/langfuse | @anvia/langfuse |
@anvia/otel | @anvia/otel |
Sections
| Section | Contains |
|---|---|
| Core | Public @anvia/core exports and subpaths |
| Server | HTTP stream response helpers |
| React | Client parsers, transports, and hooks |
| Providers | OpenAI, Anthropic, Gemini, Mistral, and compatible model adapters |
| Integrations | Chroma, Qdrant, pgvector, Transformers.js, Langfuse, and OpenTelemetry adapters |
| Studio | Studio runtime, HTTP contracts, sessions, traces, approvals, stores, and exported types |
