SuperAPIAI Directory

aport-agent-guardrails vs mastra

Metrics & specs comparison

aport-agent-guardrails

APort Agent Guardrails is a deterministic pre-action authorization tool for AI agents. It runs guardrail checks before tool execution (for supported tools), so that prompt injection cannot bypass policy verification issued by the host. The project is developed by aporthq and provides npm and PyPI packages, supports GitHub repository protection, runtime hooks, and both local/API evaluation modes. It uses the passport and decision formats of the open standard Open Agent Passport (OAP) v1.0, and claims that in live adversarial testing, the success rate of permissive policies is 74.6%, while under restrictive OAP policies it is 0% (879 top-level attempts); cloud API verification p50 is about 53ms. APort reduces the risk of prompt injection and "agent decision errors" by verifying each tool call against the passport and policy restrictions before execution.

mastra

Mastra is an opinionated TypeScript framework that helps you build AI applications and features quickly. It gives you the set of primitives you need: workflows, agents, RAG, integrations and evals

Dimensionaport-agent-guardrailsmastra
CategoryAI agentsAI agents
Pricing开源项目(可免费自部署)GitHub 开源项目 · 29,983 Stars
PlatformsLinux · APILinux · API
GitHub stars— 29,983
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools