Your agents move unseen. Your audit trail doesn't.
As Martin Casado points out: authentication is solved, but authorization is a mess. Developers spend months building custom permission logic across dozens of data models, subscription tiers, and team roles.
Traditional auth tools like Clerk and Auth0 tell you who the user is. But your application still has to figure out what they can do across:
// Developers write this 1000x times
async function bookFlight(user, details) {
if (!user.isSubscribed) throw Error(); // Auth check
if (user.credits < 10) throw Error(); // Permission check
if (details.price > user.maxSpend) throw Error(); // Policy
if (!isIntentValid(user.currentTask, "book_flight")) throw Error();
// ... hundreds more manual checks ...
}// One decorator handles everything
@Phantom.Protect({ intent: 'travel_booking' })
async function bookFlight(details) {
// If execution reaches here, Phantom has ALREADY verified:
// ✓ Identity (who is the agent?)
// ✓ Permissions (what can they do?)
// ✓ Intent (does this align with the mission?)
// ✓ Entitlements (billing, credits, subscription)
}Agents receive temporary, opaque tokens scoped to specific intents—not broad API keys. If compromised, they vanish instantly without exposing underlying systems.
Real-time permission mirroring from your database and billing systems. When a subscription ends or a resource is deleted, permissions update instantly across all agents.
Powered by Gemini-3-Flash, Phantom verifies that agent actions align with stated missions. Reading bank statements for a travel booking? Blocked and flagged.
Built on Temporal workflows, agent permissions persist across days-long tasks. If a mission fails, Phantom atomically rolls back all actions—no cleanup code needed.
Durable execution ensures agent workflows are reliable, resumable, and atomically reversible.
Sub-400ms intent verification with high-context awareness for security reasoning.
Deploy to Vercel/Cloudflare Edge for sub-10ms permission checks worldwide.
Relationship-based access control inspired by Google's battle-tested authorization system.
Start with Phantom in under 5 minutes. No complex setup, no manual permission code.
View Quick Start Guide