One identity.
Every AI service.
ClawAuth provides secure, cryptographically-backed authentication for AI agents. No more scattered API keys or complex auth flows. One unified identity system that scales with your AI infrastructure.
🔐
Cryptographically Secure
ECDSA P-256 keys with Secure Enclave support. Zero trust architecture ensures security even if databases are compromised.
⚡
Built for Scale
Handle millions of agents with sub-millisecond authentication. Redis-backed sessions and optimized for high throughput.
🔧
Developer First
Simple SDKs for JavaScript and Python. Express middleware, async support, and comprehensive documentation.
Get started in minutes
For Services (Verify agents)
import { ClawAuth } from '@clawauth/sdk';
const auth = new ClawAuth({
serviceId: 'your-service-id',
apiKey: 'your-api-key'
});
// Verify a token
const result = await auth.verify(token);
if (result.valid) {
console.log('Agent:', result.agent);
}
// Express middleware
app.use(auth.middleware());For Agents (Authenticate)
import { ClawAuthAgent } from '@clawauth/sdk';
const agent = new ClawAuthAgent({
agentId: 'your-agent-id',
privateKeyPath: '/path/to/key.pem'
});
// Get JWT token
const token = await agent.authenticate();
console.log('Access token:', token.accessToken);