# Adapt outputs per run with runtime schema overrides

> You can now override output_schema at runtime for both Agent and Team (streaming and non-streaming), with automatic restoration after the run.

- Published: 2025-11-27
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/adapt-outputs-per-run-with-runtime-schema-overrides
- Markdown: https://agno-com-nine.vercel.app/articles/adapt-outputs-per-run-with-runtime-schema-overrides.md

You can now override output_schema at runtime for both Agent and Team (streaming and non-streaming), with automatic restoration after the run. This enables per-request structured output variations without cloning agents or adding conditional boilerplate.

**Details**

- Change the expected output format for a single run; state is restored automatically
- Works for streaming and batch runs to support diverse downstream consumers
- Simplifies A/B testing, multi-tenant formats, and evolving contract needs

**Who this is for:** Platform teams orchestrating varied integrations and output contracts across services.
