Open Source

OAuth But For AI API Keys.

Magen is a neutral third-party trust layer for AI API keys. Users bring their own keys. Companies get secure, temporary, auditable access. No blind wrappers. No hidden margins. No leaked keys.

For Users

Keep control of your keys and billing. Grant limited, revocable access. See every request.

For Companies

Drop-in SDK integration. No key management overhead. Build with confidence.

For Platforms

Safer ecosystems. Transparent AI usage. Trust as infrastructure.

What Magen Does

Seven core capabilities that turn API key access into permissioned, auditable, revocable infrastructure.

1

Bring Your Own API Key (BYOK)

Users connect their own OpenAI, Claude, Gemini, or other provider keys. No token markup. No hidden pricing. Full ownership stays with the user.

2

Secure Third-Party Key Vault

API keys are stored only in Magen's encrypted vault. Companies never see or hold the raw key. Zero-trust architecture by default.

3

Temporary and Scoped Access

Users grant time-limited access with explicit permissions. Choose which models, endpoints, and set usage limits (tokens, calls, budget).

4

Full Action Visibility

Every API call is logged with metadata. Users see who used it, when, which model, and how many tokens. Real-time and historical audit trail.

5

Revocation in One Click

Instantly revoke access at any time. No need to rotate or regenerate API keys. Immediate enforcement.

6

Company-Friendly Integration

Simple SDK and REST API for companies. Drop-in replacement for direct model calls. Stay competitive without owning keys.

7

Trust as Infrastructure

Magen is not a wrapper. Magen does not resell tokens. Magen does not compete with platforms. Magen becomes the standard trust layer.

Why This Matters

Users regain cost control and visibility over their AI usage.

Companies remove friction and gain customer trust.

Platforms get safer ecosystems and transparent AI usage patterns.

AI usage becomes transparent by default, not an afterthought.

Open Source First

Magen is built as open source infrastructure. Full transparency. Community-driven development. Trust through openness.

View on GitHub
Built with v0