Skip to main content
Point a Pydantic AI Agent at the VLM Run OpenAI-compatible chat endpoint. Pydantic AI runs your local tools. Orion-2 runs document, image, audio, and video work in its code-execution sandbox.

Quick start

ImageUrl needs no mapper.
Default model: vlmrun-orion-2:auto. Variants: Code Execution. API key: API Keys.

Examples

Each example uses the same agent and run_kwargs(). Files are public samples.

Document

Image

Audio

Video

Stream video. Runs often take 1–2 minutes. Some keys require stream=True.

Hybrid: extract + local ERP tool

What runs where

Code Execution

Orion-2 sandbox, libraries, and model variants

Mastra Compatibility

Hybrid contract from a TypeScript agent

Agent Inputs

Document, image, audio, and video content parts

Artifacts

Retrieve annotated images, clips, and generated files