AgentValet is an identity and credential governance broker for AI agents and MCP (Model Context Protocol) servers. It aims to solve the "credential inheritance" problem: when AI agents run directly with your credentials, any token that falls into .mcp.json or environment variables is inherited by all agents in the project, thereby gaining the full permissions of that token, and it is impossible to trace which agent performed an action. AgentValet provides each agent with an independent cryptographic identity, platform-scoped and short-lived credentials, a human approval gate for critical operations, and a tamper-proof audit log.
Main capabilities:
- Each agent has an independent RS256 cryptographic identity, uses a SPIFFE-format URI, and issues signed JWTs with a 60-second validity period.
- Default-deny permission scopes, supporting fine-grained authorization per agent, per platform, and per operation.
- Human-in-the-loop approval for destructive or financial operations, with one-click magic links.
- A tamper-proof, append-only audit log that can be filtered and exported.
- A three-strikes circuit breaker mechanism that automatically suspends misbehaving agents.
- A native MCP server, with a CLI usable via a single command.
- Credentials use envelope encryption: each credential uses a unique AES-256 data key, wrapped by a master key in a Key Vault HSM, decrypted in memory only at invocation time, and never written to logs.
- Complies with relevant standards: SPIFFE, RFC 7591 Dynamic Client Registration, AuthZEN 1.0, IETF AIMS.
How to use: The npx @agentvalet/register command can generate an RS256 key pair for an agent, complete registration, and configure it automatically. The private key always remains on the local machine. After that, the agent signs a short-lived JWT for every request and calls platforms through the AgentValet broker. Once you approve the agent in the dashboard and grant permission scopes, it can run.
When used as an MCP server, npx @agentvalet/register automatically writes the configuration block to the client's MCP configuration. You can also manually add the configuration in Claude Desktop, Claude Code, Cursor, or any MCP-compatible client. This server expSeven tools are exposed: 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 the local machine; every platform call goes through the proxy and enforces scope checks, audit logging, and human approval for critical operations.
Open source and hosted: The open-source portion in this repository (MIT licensed) includes the MCP server, the @agentvalet/register CLI, the Claude Desktop bundle, runtime adapters, and @agentvalet/mcp-broker. The two MCP packages mirror each other: @agentvalet/mcp-server lets agents call platforms through the AgentValet proxy; @agentvalet/mcp-broker lets you embed AgentValet's policy and credential enforcement in your own MCP server, providing a practical local mode with no account required. The hosted service currently includes the proxy that holds the credential vault, runs the policy engine, and writes audit logs; a self-hosted reference for the proxy is on the roadmap.
Use cases: Suitable for developers and small teams building or deploying AI agents, especially scenarios that need to give agents an independent identity, fine-grained permission control, human approval, and audit trails. If an enterprise already uses identity providers such as Aembit or Akeyless at scale, AgentValet is not intended to replace them.
Known limitations:
- The SSE stream for approval status may close early during long waits; reconnection logic is planned.
- The CLI's rate limiting is fairly basic.
- There is no interface yet for clearing or deleting expired pending registrations.
- A self-hosted reference for the proxy, SIEM export of audit logs (enterprise edition), multi-region self-hosting guidance, a custom integration interface, and phase two of PII handling (detection at the proxy layer) are all on the roadmap.
Please submit security reports privately; see SECURITY.md, and do not open a public issue.