Agent-first
Open Source
Identity layer for
Autonomous AI.
The open-source authentication and authorization platform for AI agents, MCP servers, and autonomous workloads — with real-time policy enforcement and full auditability.
AuthSec Agentic Identity & Authentication
How AI agents get their own identity, sign in, and receive only the access they are authorized for — including when they act on behalf of users.
$ git clone https://github.com/authsec-ai/authsec.gitAgentic authentication
Every agent and MCP server gets its own verifiable identity and signs in with OAuth 2.1 + PKCE — distinct from, and traceable to, the user it works for.
- AI agent identity
- MCP server auth
- OAuth 2.1 + PKCE
- M2M tokens
- OIDC federation
- Passkeys & MFA
Agentic authorization
Scoped, expiring permissions decide what an agent may call — including when it acts on behalf of a user. Policies are enforced live and every decision is logged.
- Trust delegation
- Cross-app agent auth
- Policy engine
- Connector broker
- Audit & governance
Integrate AuthSec in minutes
Official SDKs for Python, Go, and TypeScript — plus native integrations for LangChain, CrewAI, AutoGen, and secret management.
See AuthSec secure your agents, on your stack.
A working session with an AuthSec engineer — not a sales pitch. Tell us what your agents do and where they run; we show you exactly how to authenticate, authorize and sandbox them.
- 01We map your setupAgents, MCP servers, users and environments.
- 02Live demo on your use caseAgent identity, policy and sandboxing, end to end.
- 03You leave with a rollout planWhich SDKs, which policies, what to ship first.
Sandbox and protect your agents in 5 mins
Governance for agents and processes, wherever they run.
Support non-human identity authorization with SPIFFE.
Agents and MCP servers get cryptographic X.509 identities, exchanged for short-lived, call-specific JWTs to shrink blast radius.
- Workload identity (SVID) — a unique X.509 SPIFFE SVID per agent at startup.
- Certificate-based auth — short-lived X.509 certificates, no long-lived secrets.
- mTLS with auto-rotation — certificates rotated automatically before expiry.
- Root CA & Vault-backed PKI — issuance from a trusted root via HashiCorp Vault.
Dual plane for AI agent and user identity
Secure users and autonomous workloads with the same policy engine, observability, and controls. No more parallel auth stacks.
OAuth2.1 for User Authentication
Native OAuth2.1 support with Authorization Code + PKCE. Issue short-lived, user-bound tokens without building custom auth flows.
Ready to secure your users and MCP servers?
Enterprise-grade security with OAuth 2.1, AI agent authentication, and zero-trust — open source and self-hostable.
Get secure in minutes
No infrastructure setup required.
No spam. Security updates only.
Featured Posts
Learn about authentication patterns, security best practices, and AI agent identity from our engineering team.