# Simplify authentication and governance with pluggable middleware and built-in JWT

> AgentOS now supports user-supplied FastAPI-compatible middleware and includes a built-in JWT middleware for token validation and claims extraction.

- Published: 2025-10-01
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/simplify-authentication-and-governance-with-pluggable-middleware-and-built-in-jwt
- Markdown: https://agno-com-nine.vercel.app/articles/simplify-authentication-and-governance-with-pluggable-middleware-and-built-in-jwt.md

AgentOS now supports user-supplied FastAPI-compatible middleware and includes a built-in JWT middleware for token validation and claims extraction. This reduces boilerplate, standardizes authentication across channels, and gives platform teams a consistent place to enforce policies.

**Details**

- Plug in custom middleware for logging, tracing, rate limiting, or policy enforcement.
- Enable the JWT middleware to validate tokens and pass claims to agents and tools with minimal setup.

**Who this is for:** Platform and security teams standardizing auth and governance for AI applications.
