Pydantic opens Agent Sandboxes to TypeScript apps with a Vercel AI SDK example

samuelcolvin · x · 2026-11-16

Pydantic announced its Agent Sandboxes now work with non-Python apps: the sandbox code stays Python while the client can be Python or TypeScript, with a cloneable Vercel AI SDK example in pydantic/logfire-js.

The example has an agent review a company's Q3 travel spending by writing Python that calls tools in one batch instead of one model turn at a time (4 departments, 24 employees, 368 multi-currency line items).

Key patterns covered:

Original post →

More from coding & agent

coding & agent channel →