Authentication for AI Agents
Secure identity and access control for autonomous AI agents. OAuth 2.0-powered authentication with credential rotation and multi-tenant isolation.
Self-hosted or cloud · MIT Licensed
Everything you need
Complete authentication infrastructure for AI agents.
OAuth 2.0 Client Credentials
Industry-standard M2M authentication flow for AI agents.
RS256 JWT Tokens
Asymmetrically signed tokens with auto-generated RSA keys.
Credential Rotation
Rotate secrets with zero downtime. Old tokens stay valid.
Multi-Tenant
Organizations, teams, and API keys with JWT claims.
Webhooks
Real-time callbacks with exponential backoff retries.
Audit & Metrics
Full audit trail and token/agent usage statistics.
Quick Start
Get started in seconds. No database required for development.
# Create an agentcurl -X POST http://localhost:8080/api/agents \-H "Content-Type: application/json" \-d '{"name": "my-agent", "scopes": ["read", "write"]}'# Get a tokencurl -X POST http://localhost:8080/oauth/token \-d "grant_type=client_credentials" \-d "client_id=YOUR_CLIENT_ID" \-d "client_secret=YOUR_CLIENT_SECRET"# Use the tokencurl -H "Authorization: Bearer YOUR_TOKEN" \http://localhost:8080/api/agents/me
Official SDKs
TypeScript and Python client libraries.
@machineauth/sdk
npm install @machineauth/sdkmachineauth
pip install machineauthPricing
Start free with self-hosted, upgrade for managed infrastructure.
Self-Hosted
Perfect for individual developers and small teams.
- Unlimited agents
- Unlimited organizations
- OAuth 2.0 + JWT
- Credential rotation
- Audit logging
- Docker deployment
Pro
For teams that want managed infrastructure.
- Everything in Self-Hosted
- Hosted on machineauth.ai
- 99.9% uptime SLA
- Enterprise SSO
- Priority support
- Advanced analytics
Enterprise
For organizations with advanced requirements.
- Everything in Pro
- Dedicated infrastructure
- Custom SLA
- 24/7 support
- On-premise option
- Custom integrations
Ready to get started?
Join thousands of developers building secure AI agent infrastructure.
Get Started