Shielda Agent Guard
github.com
Open-source TypeScript library that limits which tool calls an AI agent can make, even after prompt injection.
- Pricing
- Open source
- Published
- Nov 21, 2026
Next steps
- Coral
Both tools are listed under AI Security, AI Developer Tools, mcp, and typescript.
- AegisKernel
Both tools are listed under AI Security, AI Developer Tools, and prompt-injection.
- Shotoku
Both tools are listed under AI Security, AI Agent, and mcp.
- Strix
- Pi
- Daily Stock Analysis (DSA)
What it does
Shielda Agent Guard authorises tool calls for AI agents and MCP. Your application registers each tool, gives each task access to specific resources, and routes the agent's calls through one guard: a call outside the task never runs, and a destructive call can wait until a person approves that exact action. It also enforces recipient lists and budgets and blocks approval reuse, mapped to the OWASP Top 10 for Agentic Applications. Works with Claude, OpenAI, Gemini, Bedrock, Vercel AI SDK, LangChain and MCP clients; Node.js 22+, Apache-2.0.
Use cases
- Stop a prompt-injected support agent from exporting records outside the ticket it was given
- Require a person to approve the exact destructive tool call before it runs
- Cap an agent's spending and allowed recipients per task across Claude, OpenAI or MCP clients
Frequently asked questions
- What is Agent Guard?
- Agent Guard is an open-source TypeScript library from Shielda that decides which tool calls an AI agent may make. Calls outside what a task was given never run, and destructive calls can wait for human approval.
- Why not just filter malicious prompts?
- Its approach assumes the agent can be misled and limits what a misled agent can do: it cannot reach records outside its task, send to unlisted recipients, reuse an approval or exceed its budget.
- Which models and frameworks does it support?
- Claude, OpenAI, Gemini, Bedrock, the Vercel AI SDK, the OpenAI Agents SDK, LangChain and MCP clients such as Claude Code.
- What are the requirements and licence?
- Node.js 22 or newer; licensed under Apache-2.0.