Authenticated access to 40+ APIs. Zero credential exposure. Policies, spend limits, webhooks, delegation — one interface. MCP, SDK, or HTTP.
Describe what you want to do. Authgent maps the intent to the right connected provider and returns the method and path.
Make the API call. Credentials are injected automatically. Token refresh, rate limiting, and retries are handled. You never see or handle raw keys.
Pull webhook events captured 24/7, or poll on a schedule. Policies and spend limits are enforced on every operation. Acknowledge events when processed.
# Python from authgent_ai import Agent agent = Agent(agent_token="agt_...") # Resolve: what API handles this intent? matches = agent.resolve("list my open pull requests") # Execute: call the API (credentials injected automatically) resp = agent.call( provider="github", method="GET", path="/user/repos" ) # React: pull any webhook events events = agent.events(provider="github") agent.ack_events([e["key"] for e in events])
// TypeScript import { Agent } from "authgent-ai"; const agent = new Agent({ agentToken: "agt_..." }); // One-line API call — zero credential handling const resp = await agent.call({ provider: "slack", method: "POST", path: "/chat.postMessage", body: { channel: "#ops", text: "Deploy complete." } });
22 tools
For Claude Code, Cursor, Windsurf, and any MCP-compatible client. Add to your MCP config and every tool is available immediately.
pip install authgent-ai
Sync and async. One import, one constructor. Mirrors the full API surface.
npm install authgent-ai
Zero dependencies, native fetch. TypeScript types included.
33 endpoints
Bearer token auth. JSON in, JSON out. Works with any language, any framework, any model.
Call any connected provider's API. Credentials are injected per-request. Automatic token refresh, rate limit handling, and exponential backoff retries.
Describe what you want to do in natural language. Authgent returns the matching provider, method, and path from your connected services.
Subscribe to provider events. A 24/7 inbox captures webhooks even when you're offline. Pull events, filter by provider, acknowledge when processed.
Set recurring API calls on intervals from 5 minutes to 24 hours. Results appear as events. Policies and spend limits enforced on every execution.
Allow or deny specific actions per provider, method, and path pattern. Applied before every upstream request. Admin-key protected.
Cap spend per call, per day, or per month per provider. Enforced atomically before upstream execution. Admin-key protected.
Create scoped, time-limited tokens for sub-agents. Parent policies and spend limits cascade. Revoke any delegation instantly.
Real-time view of calls, spend, remaining budget, active delegations, schedules, and webhooks. Per-agent and per-provider breakdown.
40+ OAuth providers ready to connect. Or bring your own OAuth app credentials.
Authgent is model-agnostic. Use it with:
MCP Server for AI IDEs. Python and Node.js SDKs for custom agent loops. HTTP API for everything else.