AuthSecAuthSec

~ Open source · Agent-first identity

The identity layer for autonomous AI.

Authentication and authorization for AI agents, MCP servers, and autonomous workloads — with real-time policy enforcement and full auditability.

OAuth 2.1
User auth, PKCE by default
SPIFFE
X.509 workload identity
Vault
Root CA & PKI rotation
Immutable
Tamper-evident audit logs

MCP Protocol

Secure every MCP server like a first-class protocol

AuthSec gives each MCP server a verifiable identity. Every tool call is authenticated, policy-checked, and logged — before execution, not after.

  • Every MCP server gets a SPIFFE-compatible identity at registration
  • Token exchange over a mutual-TLS authenticated channel
  • Per-call policy enforcement — not just at login
  • Tamper-evident audit log on every tool invocation
Read: MCP server: The Protocol Your Service Mesh Has Been Missing

Protocol flow

AI Client

LLM / Agent

MCP Server

registered tool

AuthSec Gateway

identity · policy · audit

Identity

SPIFFE SVID

Policy

RBAC · OPA

Audit

immutable log

Voice Agent
AuthSec
SSO Providers
AI Agent
MCP Server
AI Agent
MCP Server
SAML2 / OIDC
User Authentication
Delegated Access

User Auth & Trust Delegation

Users stay in control. Agents act on their behalf.

Humans authenticate with OAuth 2.1 and delegate scoped, expiring permissions to AI agents. The agent never sees the user's credentials — only a time-bound token with exactly the permissions it needs.

  • OAuth 2.1 + PKCE for browser, CLI, and voice sign-in
  • Scoped delegation tokens — agents act within bounds, not as superusers
  • SSO via Google, GitHub, and Microsoft out of the box
  • WebAuthn / FIDO2 MFA for risk-based step-up auth
Read: Trust Delegation: The Missing Piece in Multi-Team Identity

Machine-to-Machine Identity

Machines need passports too.

Services, agents, and pipelines authenticate each other with SPIFFE SVIDs — cryptographic X.509 identities that rotate automatically. No static API keys. No shared secrets. No blast radius when a credential leaks.

  • SPIFFE SVIDs issued at workload startup — not at deploy time
  • mTLS with automatic certificate rotation — no manual key management
  • HashiCorp Vault-backed PKI — rotate the root CA without downtime
  • Short-lived certs limit exposure when a workload is compromised
Read: The M2M Identity Gap: When Machines Outnumber Humans
AuthSec Identity Fabric
OAuth2.1
SAML / OIDC
SPIFFE + mTLS
Policy + RBAC

Developer Experience

Built for developers, ready for enterprise

Start in minutes with the SDK. Scale to enterprise compliance and governance without switching tools.

SDK quickstarts

Secure an MCP server, AI agent, or voice agent in a few lines with lightweight SDK wrappers.

Self-host in minutes

Run the full stack locally or on your own server with a single install script — no cloud lock-in.

Policy as code

Define and version your authorization rules in config files alongside your application code.

Voice auth playground

Preview voice authentication and agent auth flows live in the dashboard before you ship.

Zero-trust by default

Every request is authenticated and authorized at the policy layer — implicit trust is never granted.

Open source & auditable

Apache 2.0 licensed. Inspect the source, fork it, and host it yourself with confidence.

Ready to secure your users and MCP servers?

Enterprise-grade security with OAuth 2.1, AI agent authentication, and a zero-trust architecture — open source and self-hostable.

  • OAuth 2.1 & PKCE
  • MCP server authentication
  • AI agent workload identity
  • Zero-trust security posture