Kastra has launched a runtime authorization layer designed to control AI agent actions before they execute, addressing what the company calls a critical gap in enterprise AI security.

The platform evaluates every agent action against predefined policies and delivers allow or deny decisions in under one millisecond. When human review is required, approvals complete in approximately one second through desktop, web, and macOS notification interfaces.

"Most teams have authentication, logging, monitoring, and evals. Almost none have a layer that decides 'this specific action cannot execute' before it executes," said Carlos Jimenez, co-founder of Kastra, in a Product Hunt post.

Integration with major AI platforms

Kastra integrates with Anthropic's Claude Code, GitHub Codex, Cursor, and OpenClaw through one-click installations. The platform also supports the Anthropic SDK and OpenAI SDK for broader enterprise deployment.

The authorization system operates across multiple vectors including tool usage, prompt inputs, and data outputs. This approach aims to prevent unauthorized tool use, prompt injection attacks, and sensitive data exposure before they become security incidents.

The company positions its solution as deterministic rather than probabilistic, contrasting with prompt engineering approaches that rely on instructing agents about permitted actions. "That's not authorization, that's a suggestion," noted one Product Hunt commenter about traditional prompt-based controls.

Open source and commercial components

Kastra's runtime engine and policy pack library are open source, while the enterprise control plane operates as a commercial product. The platform offers a free trial tier for organizations evaluating their AI security posture.

The company provides a scanning tool that analyzes existing coding agent activities to identify potential risks that should have policy controls. The scanner runs locally to maintain data privacy during security assessments.

Kastra was founded by Carlos Jimenez and Fernando, who identified the authorization gap while deploying AI agents in production environments with full credentials and system access. The platform launched on Product Hunt in July 2024, ranking third for the day with 337 upvotes.