Skip to content
aicoolies logo
Superagent logo

Superagent

AI agent safety SDK with guard, redact, and scan modules

Superagent is an open-source AI agent safety SDK that provides runtime protection through four modules: Guard for detecting prompt injections and unsafe tool calls, Redact for removing PII and secrets, Scan for analyzing repos against AI-targeted attacks, and Test for red-team evaluations. It works with any LLM provider and includes open-weight guard models from 0.6B to 4B parameters with 50-100ms latency for real-time protection.

About Superagent

Superagent is an open-source safety SDK designed to protect AI agents from prompt injection attacks, data leakage, and malicious tool calls in production environments. Originally launched as Safety Agent before rebranding in early 2026, the project provides four core modules that work together as a defense-in-depth layer: Guard intercepts and blocks prompt injections and unsafe tool invocations, Redact automatically strips PII, PHI, and secrets from agent inputs and outputs, Scan analyzes GitHub repositories for AI-targeted supply chain attacks, and Test enables automated red-team evaluations of agent robustness.

The SDK ships with open-weight guard models available on HuggingFace in three sizes from 0.6B to 4B parameters, enabling teams to choose between speed and accuracy based on their latency requirements. At the smallest model size, Guard processes requests in 50-100 milliseconds, making it viable for real-time protection without noticeable user impact. The framework integrates with any LLM provider including OpenAI, Anthropic, Google, Groq, and AWS Bedrock, requiring minimal code changes to add safety layers to existing agent architectures.

Backed by Y Combinator, Superagent has attracted 6,500 GitHub stars and provides TypeScript and Python SDKs alongside a CLI tool and MCP server integration. The MIT-licensed project addresses a growing need in the AI ecosystem as more teams deploy autonomous agents that interact with external tools, APIs, and user data. Its modular design means teams can adopt individual components like Guard or Redact independently before committing to the full safety stack.

Pricing & Platform Specs

Pricing Summary

Free and open-source under the MIT license for self-hosted and open-source projects; managed cloud API uses usage-based pricing based on token consumption.

full pricing breakdown →

Supported Platforms

TypeScript SDK, Python SDK, CLI, MCP server

Explore categories, tags & use cases

AI red teaming and infrastructure security scanner by Tencent

AI-Infra-Guard is Tencent's open-source AI security platform providing one-click evaluation of AI infrastructure risks across five modules. It covers insecure config detection, multi-agent workflow evaluation, MCP server scanning across 14 risk categories, vulnerability scanning for 55+ AI frameworks with 1,000+ CVE mappings, and jailbreak evaluation for prompt robustness. Deployable via Docker with academic backing from Peking and Fudan Universities.

Open Source

Runtime guardrails validating AI agent actions before execution

Salus is a YC W26-backed platform that provides runtime guardrails for AI agents, validating actions before execution using policy-as-code defined in YAML, markdown, or plain English. It features evidence grounding for decision verification, structured feedback enabling 58% recovery rate when actions are blocked, plus PII detection, budget protection, and human-in-the-loop escalation. Agents with Salus follow policies at up to 60% lower cost with 52% reduced misalignment on frontier models.

freemium

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Superagent?

Superagent is an open-source AI agent safety SDK that provides runtime protection through four modules: Guard for detecting prompt injections and unsafe tool calls, Redact for removing PII and secrets, Scan for analyzing repos against AI-targeted attacks, and Test for red-team evaluations. It works with any LLM provider and includes open-weight guard models from 0.6B to 4B parameters with 50-100ms latency for real-time protection.

Is Superagent free?

Superagent offers a free tier alongside paid plans. Free and open-source under the MIT license for self-hosted and open-source projects; managed cloud API uses usage-based pricing based on token consumption.

Is Superagent open source?

Yes — Superagent is open source.

Is Superagent still maintained?

Yes — Superagent is active. Its listing was last verified on August 26, 2026.

What are the best Superagent alternatives?

The first editor-selected Superagent alternatives are AI-Infra-Guard, Salus.