Kastra
Policy checks for AI agent actions before they run
Works with macOS, WindowsPaid
In short
Kastra is an authorization layer that checks each prompt, tool call, shell command and API request an AI system attempts against a policy and allows or denies it before it runs. It is for engineering and platform teams deploying Claude Code, Codex CLI, Cursor and other agents.
1 of 3: Home page on a computer
What you get
- Allow or deny decisions for prompts, tool calls and commands
- Kastra Edge for local enforcement on laptops
- Kastra Recon to review past agent activity
- Signed, append-only audit stream
- Central policy management for teams
- HTTP API with an OpenAPI specification
The details
Kastra places a policy decision point in front of the actions that AI systems take. When a model picks its next step, whether a prompt, a tool call, a command or a database query, Kastra evaluates it against rules and either lets it reach the target or blocks and logs it. The company describes this as new infrastructure that decides before an action, not as monitoring, content filtering or after-the-fact logging.
Products
- Kastra Edge enforces policy on a developer's laptop, checking shell commands, file edits and API calls from Claude Code, Codex CLI and Cursor locally before they run. It installs as a CLI through Homebrew or as a macOS app, and Windows is also listed.
- Kastra Recon scans an AI system's history, lists risky actions it already took and drafts a policy for each.
- The control plane manages policies centrally and writes a signed, append-only audit stream that can go to tools such as Datadog, Splunk or S3.
Example rules deny destructive shell commands, writes to environment files, charges above a set amount without approval and unbounded queries on tables with personal data.
Plans
A 15-day Pro trial is available, the Team plan adds centralised governance, and Enterprise covers dedicated and self-hosted deployments. An HTTP API and an OpenAPI specification are documented.
Pricing
- Free trial
- 15-day Pro trial
- Plans
- Pro, Team, Enterprise
As of , from kastra.ai. Prices change: check before you buy. Kastra pricing page
Alternatives to Kastra
| Product | Pricing | From | Free plan | Open source |
|---|---|---|---|---|
| OkaiDokaiPhone approvals for AI agent tool callsFreemium · from $9 · free plan | Freemium | $9 | Yes | No |
| Marrow AIPolicy checks and proof records for AI agent actionsFreemium · from $49 · free plan | Freemium | $49 | Yes | No |
| HOL GuardAllow, ask or block risky actions by AI coding agentsFreemium · free plan · open source | Freemium | — | Yes | Yes |
Questions
Is Kastra a monitoring tool?
No. The site says it is not observability, content filtering or post-hoc logging; it decides whether an action may run before it happens.
Which agents can Kastra Edge govern?
Claude Code, Codex CLI and Cursor are named. Edge checks their shell commands, file edits and API calls on the local machine.
Can Kastra be self-hosted?
Self-hosted and dedicated deployments are offered on the Enterprise plan.
