AgentValet
OfficialAgentValet lets an AI agent securely discover and use granted external platform access through its own cryptographic identity and a credential-brokering proxy.
Discover available platforms and permission scopes with a cacheable version hash.
Call external platform APIs such as Airtable, GitHub, Slack, and Metabase through the proxy, with scope checks, audit logging, and possible human approval.
Pre-check whether the agent has access to a platform scope using AuthZEN before making a call.
Self-register with an owner and poll registration status until approved or rejected.
List the agent's pending approval requests and actions completed in the last 24 hours.
Report diagnostics, errors, and warnings to the owner, optionally linked to a failing call.
Allows agents to interact with GitHub APIs through the AgentValet proxy, providing scoped, audited access to GitHub resources such as repositories, issues, and pull requests.
AgentValet
AgentValet is a credential broker for AI agents and MCP servers. Your agents never hold your keys. It gives every agent its own cryptographic identity, scoped and short-lived credentials per platform, human approval gates on the actions that matter, and an append-only, policy-stamped audit log of everything it did.
Open core. This repo holds the open-source MIT-licensed client surface: the MCP server, the CLI, the Claude Desktop bundle, and the runtime adapters. The managed proxy runs the credential vault, the policy engine, and the audit store.
Live at agentvalet.ai. Docs at docs.agentvalet.ai.
Quickstart
npx @agentvalet/registerThat generates an RS256 keypair for your agent, registers it, and wires up the config. The private key never leaves your machine. From then on your agent signs a short-lived JWT per request and calls platforms through the AgentValet proxy. Approve the agent in the dashboard, grant it scopes, and you are running.
Related MCP server: AgentPay MCP Server
Use as an MCP server
npx @agentvalet/register writes this block into your client's MCP config for you. To wire it up by hand — in Claude Desktop, Claude Code, Cursor, or any MCP-compatible client — add:
{
"mcpServers": {
"agentvalet": {
"command": "npx",
"args": ["-y", "@agentvalet/mcp-server"],
"env": {
"AGENT_ID": "agt_your_agent_id",
"OWNER_ID": "your_owner_id",
"PROXY_URL": "https://api.agentvalet.ai",
"AGENT_PRIVATE_KEY_PATH": "~/.agentvalet/agent.key"
}
}
}
}The server exposes seven tools: list_platforms, use_platform, authzen_evaluate, agent_register, agent_status, list_my_pending_actions, and report_self_diagnostic. The private key is read from AGENT_PRIVATE_KEY_PATH and never leaves your machine; every platform call goes through the proxy with scope checks, audit logging, and human approval on the actions that matter.
The problem: credential inheritance
Credential inheritance is what happens when an AI agent runs on your credentials instead of its own. The moment a token lands in .mcp.json or an environment variable, every agent in that project inherits the full reach of that token. It can do anything you can do, on every platform the token touches, and nothing records which agent did what.
House key agent (today's default) | Valet key agent (AgentValet) |
Holds your real token | Holds a short-lived signed token, never your credential |
Full scope on every platform the token reaches | Scoped to exactly the actions you granted |
A leaked config leaks everything | A leaked config leaks nothing reusable |
No record of which agent did what | Every call attributed to one agent identity |
Revoking means rotating the token everywhere | One revoke, instant, no rotation |
How it works
Agent (holds its RS256 private key)
|
| signs a 60-second JWT per request
v
+-------------------------------------------+
| AgentValet proxy |
| 1. verify JWT signature |
| 2. check scope grant (deny by default) |
| 3. scan request for leaked secrets |
| 4. AuthZEN policy evaluation |
| 5. human approval gate, if required |
| 6. inject real credential in memory |---> SaaS platform
| 7. append-only audit log entry |
+-------------------------------------------+
|
v
Dashboard: approve registrations, manage scopes, review the audit log, monitor usage
MCP server: exposes AgentValet as tools for Claude and any MCP-compatible agentCredentials use envelope encryption: a unique AES-256 data key per credential, wrapped by a master key held in a Key Vault HSM, decrypted in memory only at call time and never written to a log.
Features
Per-agent RS256 cryptographic identity, SPIFFE-format URIs, 60-second signed JWTs
Deny-by-default scopes, granular per-agent-per-platform-per-action grants
Human-in-the-loop approval for destructive or financial scopes, one-click magic-link
Append-only, policy-stamped audit log, filterable and exportable
Three-strike circuit breaker that auto-suspends a misbehaving agent
Native MCP server plus a one-command CLI
Standards-aligned: SPIFFE, RFC 7591 Dynamic Client Registration, AuthZEN 1.0, IETF AIMS
How AgentValet compares
Honest framing. These are strong tools that reached agent governance from an adjacent starting point.
AgentValet | Aembit | Akeyless | Infisical Agent Vault | |
Starting point | Agent-first identity and governance | Workload identity | Secrets management | Secrets vault |
Where it sits | Identity-layer credential broker | Edge proxy near workloads | Gateway in your network | Network-layer forwarding proxy |
Onboarding | Self-serve, under 5 minutes | Enterprise sales-led | Enterprise sales-led | Self-host or cloud |
Open source | Open core, MIT* | No | No | Core open source |
Standout strength | AIMS-aligned, approval gates, audit, cheap entry | Attestation-based identity | Distributed fragments cryptography | Network-level interception |
* The client surface (MCP server, CLI, bundle, adapters) is MIT in this repo. The proxy is a managed service.
If you already run Aembit or Akeyless at enterprise scale, AgentValet is not trying to replace your identity provider. If you are a developer or small team shipping agents this week, AgentValet is built for you.
Roadmap and known limitations
Building in public, so the rough edges are listed here rather than discovered.
Known limitations today
The SSE stream for approval status can close prematurely on long waits. Reconnect logic is planned.
CLI rate limiting is rudimentary.
There is no clear or delete UI yet for expired pending registrations.
On the roadmap
Self-host reference for the proxy (the open client surface already runs anywhere)
SIEM export for the audit log (Enterprise)
Multi-region self-hosting guides
Custom integrations UI (today these are requested through the roadmap system)
PII handling Phase 2: detection at the broker layer
What is open and what is managed
Open source in this repo, MIT licensed: the MCP server, the @agentvalet/register CLI, the Claude Desktop bundle, the runtime adapters, and @agentvalet/mcp-broker.
The two MCP packages are mirror images of each other: @agentvalet/mcp-server lets an agent call platforms through the AgentValet proxy, whereas @agentvalet/mcp-broker lets you embed AgentValet policy and credential enforcement inside your own MCP server, with a genuinely useful local mode and zero required account.
Managed service today: the proxy that holds the credential vault, runs the policy engine, and writes the audit log. See CONTRIBUTING.md for local development of the open packages.
Security
Found a vulnerability? Please report it privately, see SECURITY.md. Do not open a public issue for security reports.
License
MIT. See LICENSE.
Available Tools
7 toolsagent_registerA
agent_register: Self-register this agent with an owner. No auth required. Input: owner_id (string), agent_name (string), requested_scopes (array of {platformId, scopes}). Returns: registration_token, poll_url, client_id, scope, expires_in. Auth: None.
Inputs: owner_id (required), agent_name (required), requested_scopes (required). Returns: registration_token, poll_url, client_id, scope, +1 more
agent_statusA
agent_status: Poll registration status using the token from agent_register. Input: token (string, required). Returns: status ("pending_approval"|"approved"|"rejected"), agent_id (if approved), mcp_config (if approved). Auth: None.
Inputs: token (required). Returns: status, agent_id, mcp_config
authzen_evaluateA
authzen_evaluate: Evaluate whether this agent has access to a specific platform scope. Call this BEFORE use_platform when you want to pre-check without making the upstream call. Input: platform_id (string), scope (string). Returns: decision (boolean), reason ("approved"|"denied"|"revoked"|"scope_not_granted"). Auth: Bearer agent JWT (sent automatically by this MCP server).
Inputs: platform_id (required), scope (required). Returns: decision, context
list_my_pending_actionsA
list_my_pending_actions: Returns this agent's currently-pending approval requests AND any that completed in the last 24 hours. Use this at session start when the user mentions an earlier action, or when use_platform's long-poll timed out and the user comes back asking what happened. Input: None. Returns: { pending: [{approval_id, platform_id, scope, created_at, expires_at}], recently_completed: [{approval_id, platform_id, scope, status, executed_at, result_summary, execution_error}] }. Auth: Bearer agent JWT (sent automatically).
Inputs: no named parameters. Returns: pending, recently_completed
list_platformsA
list_platforms: List the platforms and permission scopes this agent has access to. Input: None. Returns: { platforms: [{ platformId, platformName, scopes, requireApproval }], version: "" }. Version: a deterministic hash that only changes when the platform set or scopes change. Cache the value across calls in the same session — only refresh when you suspect platforms have changed (e.g. user mentions a new connection). Auth: Bearer JWT.
Inputs: no named parameters. Returns: platforms, version
report_self_diagnosticA
report_self_diagnostic: Lodge a self-report (error/warning/info) with the AgentValet owner. Use after a use_platform error returns a report_hint, OR proactively when you encounter a problem the user should know about. Input: severity (debug|info|warn|error|critical), message (string, required, max 4096 bytes), code (string, optional, max 128 chars), platform (string, optional), endpoint (string, optional), correlation_id (uuid string, optional — copy from the failing call's report_hint to stitch this report to the broker-side audit row), context (object, optional, JSON-serialised must be < 16 KiB). Returns: { id, received_at } on success. Auth: Bearer agent JWT (sent automatically).
Inputs: severity (required), message (required), code, platform, +3 more. Returns: id, received_at
use_platformA
use_platform: Call an external platform API (Airtable, GitHub, Slack, Metabase, etc.) through the AgentValet proxy.
Input: platform (string), endpoint (string), method (GET|POST|PUT|PATCH|DELETE), scope (string), body (object, optional — JSON request body for POST/PUT/PATCH/DELETE).
Returns: upstream API response body. May take up to 50 seconds when the action requires owner approval — the call will block while we wait, then return the approved result transparently. If approval doesn't land in time, returns a pending_approval envelope and the action runs asynchronously; the user is notified when it completes.
Auth: Bearer JWT.
Note: legacy clients passing data instead of body are still accepted for backwards compatibility, but body is the canonical name.
Inputs: platform (required), endpoint (required), method (required), scope (required), +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a distinct purpose: registration, polling status, auth evaluation, listing pending actions, listing platforms, reporting diagnostics, and calling external APIs. No overlap or ambiguity.
All tool names follow a consistent verb_noun snake_case pattern (e.g., agent_register, authzen_evaluate, list_platforms), making them predictable and easy to understand.
With 7 tools, the server is well-scoped for an agent authentication and proxy service. Each tool earns its place without being overwhelming or insufficient.
The tool surface covers the full registration-to-use flow, including auth checks and diagnostics. Minor gap: no explicit tool for token refresh or logout, but the JWT handling is automatic so it's not critical.
Maintenance
Related MCP Connectors
Governed access to sensitive data, secrets and APIs for AI agents. A signed proof for each decision.
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Give your AI hands. Identity, credential vault, and API gateway for autonomous agents.
Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceFail-closed AI agent governance — approve or block agent actions in real time, score compliance risk, and generate tamper-evident receipts. Free tier: 10 governed actions/day. Upgrade for unlimited + Ed25519-signed audit receipts.1MIT- FlicenseNot gradedqualityCmaintenanceProvides a trust and governance layer for AI agents, enabling secure API access, credential vaulting, paid execution with human approval, and automatic call resume.2-
- AlicenseAqualityCmaintenanceEnables AI agents to make authenticated API calls and run commands with secrets injected, while keeping credentials completely hidden from the model, with policy enforcement, grants, and audit logging.6MIT

agentguardofficial
AlicenseNot gradedqualityAmaintenanceEnforces policy controls for AI agents, including spend limits, action approvals, kill switch, scoped credentials, dry-run diffs, loop prevention, and auditable hash-chained logs.MIT