Works with
Building agents? Running them in production? Then the gap is already open.
AI agents act autonomously inside developer environments — running shell commands, editing files, and calling local tools that never cross a network boundary. That's the blind spot gateways can't reach. Ory enforces at the agent itself, checking every action against your policies before it runs.
Authenticated
Every agent and sub-agent authenticates with its own credentials before acting. The delegation chain back to the user or upstream agent is recorded before any tool runs.
Authorized
Ory applies fine-grained authorization to shell commands, file writes, MCP tools, server connections, and downstream API calls using the same policy model that governs human access.
Accountable
Allowed, denied, escalated, and approved actions are recorded in audit logs and exported through OpenTelemetry. The delegation chain survives token expiry, so you can answer the audit question even after credentials are gone.
How Ory's agent security works
Get started with your preferred AI tool
Ory provides packages for five AI coding agent harnesses that works whether you're self-hosting Ory or using Ory Network. Install and share feedback in our Slack community:
Frequently asked questions
More on agent security
Ory Agent DX: Build secure apps at the speed of thought, the right way.
Ory Agent DX is the ultimate developer toolkit that unifies AI automation with Ory’s hardened security ecosystem. By seamlessly blending Model Context Protocol (MCP) servers, plugins, CLI, and Ory Elements, it gives developers a conversational, agent-led workflow to develop enterprise-ready identity, access management, and fine-grained permissions.







