Skip to content

Introduction ​

Anvia is a TypeScript runtime and product suite for building, debugging, and operating AI agents inside your own application. You create the provider model and define the agent's behavior; Anvia runs the model and tool loop, while your application keeps authentication, data, persistence, and deployment.

ts
import { Agent } from '@anvia/core'
import { OpenAIClient } from '@anvia/openai'

const client = new OpenAIClient({ apiKey: process.env.OPENAI_API_KEY! })
const model = client.completionModel({ modelId: 'gpt-5.6-sol', api: 'responses' })

const agent = new Agent({
  id: 'support',
  model,
  instructions: 'Answer support questions clearly. Ask for missing details.',
})

const response = await agent.generate({ prompt: 'How do I reset my password?' })
if (response.type === 'response') console.log(response.output)

Start here ​

Products ​

ProductWhat it does
Anvia SDKProvider-neutral models, agents, tools, memory, retrieval, pipelines, durable execution, and streaming.
ChannelsConnect agents to Discord, Slack, and Telegram, including proactive delivery.
StudioA local browser runtime for running agents and inspecting sessions, traces, tools, and memory while you develop.
LensProduction tracing, evaluations, datasets, alerts, and cost for the systems you ship.
CLIInstall coding-agent skills and editable React chat components.

Features ​

What's new ​

Anvia packages release independently. Read the changelog for recent additions, and Compatibility and versioning for supported versions and the v0 to v1 migration boundary.

Built for Anvia.