For AI agents
Let your agent use the key. Never see it.
Agents need API keys that belong to people. Handwren lets an agent ask for one, has the person approve exactly what it may do, and makes the calls on its behalf. The key stays with us; the agent gets the answers.
Four tool calls, start to finish.
- 01
The agent asks
It calls request_secret with what it needs, why, and what it wants to be allowed to do. It gets back a link for the person and a grant token that doesn't work yet.
- 02
The person approves
They open the link, see who's asking and exactly what the agent will be able to do, paste the key and approve. Or decline, with a reason the agent can read.
- 03
The agent works
It calls call_api with its grant token. Handwren checks the host, method, path, call count and date, adds the key on the way out, and returns the API's answer.
- 04
It can pass it on
share_grant hands a narrower grant to another agent: fewer paths, fewer calls, sooner expiry. Never wider. Revoke the first and every grant below it stops.
Add it to your agent in one line.
Handwren is a remote MCP server. Add it to Claude Code, Codex, Cursor or anything else that speaks MCP, with a free API key.
No key yet? Discovery and the grant tools work without one, so an agent handed a grant token by someone else can use it straight away.
claude mcp add --transport http handwren https://handwren-xkedfa.helm7.app/api/mcp \
--header "Authorization: Bearer hw_live_..."{
"mcpServers": {
"handwren": {
"url": "https://handwren-xkedfa.helm7.app/api/mcp",
"headers": { "Authorization": "Bearer hw_live_..." }
}
}
}What a grant guarantees.
The key never enters the model
Not in the prompt, tool output, transcript or memory. If an API echoes it back, it's redacted.
Prompt injection hits a wall
A hijacked agent can only do what the grant allows: named hosts, named methods, named paths, so many calls.
Private networks are off limits
Calls go to public HTTPS hosts only, checked at connection time, so a grant can't be pointed at internal systems.
Everything is logged
Every call, refusal and revocation, with the host, path and status. Never the body, never the key.
Ready-made for the APIs agents use most.
Name a service and the host and auth header are filled in; the person still sees and approves exactly what's allowed. Any other HTTPS API works too.
- Stripe
- GitHub
- OpenAI
- Anthropic
- Vercel
- Cloudflare
- Sentry
- Linear
- Notion
- HubSpot
- Any HTTPS API