Runtime firewall for AI agents.
Runtime firewall for AI agents.
Clampd is a runtime security gateway designed to function as a tool call firewall for artificial intelligence agents. It acts as an intermediary layer between agents and the tools they interact with, such as databases, APIs, file systems, and shell commands. The primary function of the software is to inspect, scope, and enforce security policies on every outgoing request before execution. By monitoring these interactions, the platform aims to prevent risks associated with prompt injection, privilege escalation, data exfiltration, and tool chain attacks. The system utilizes a nine stage security pipeline that includes 263 detection rules, behavioral anomaly scoring, and cross agent correlation. Key technical capabilities include the generation of Ed25519 scope tokens to apply least privilege access and a policy engine that allows or denies actions based on risk scores and session context. The tool also features an emergency kill switch capable of suspending rogue agents in under 25 milliseconds. For compliance and monitoring, the platform provides PII masking, secret scanning, and a full audit trail that records tool names, denial reasons, and latency. In a typical workflow, developers integrate the Clampd SDK into their Python or TypeScript applications. AI agents, IDE assistants, or Model Context Protocol clients then route their tool calls through the gateway. The system evaluates each call in microseconds on commodity hardware, verifying credentials and checking permissions against Cedar custom policies. If a call is deemed safe, it is signed and forwarded to the downstream service; otherwise, it is blocked at the boundary. This process ensures that agents only access the specific data and functions required for their current task. Clampd is a self hosted, source available solution, ensuring that sensitive data remains within the user's internal network. It supports various deployment scales, ranging from a free tier for up to 25 agents to enterprise versions with single sign on and role based access control. The platform also includes a dashboard for managing live risk and a command line interface for red team testing. Integration is designed to be minimal, requiring a single line of code to begin guarding tool calls and generating compliance reports for standards such as HIPAA, GDPR, and SOC 2.