claudeers.
// Security & Compliance

superagent

Superagent protects your AI applications against prompt injections, data leaks, and harmful outputs. Embed safety directly into your app and prove compliance…

// Security & Compliance[ cli ][ api ][ desktop ][ web ][ mobile ][ claude ]#claude#ai#anthropic#guardrails#llm#openai#prompt-injection#securityMIT$open-sourceupdated 2 months ago
Actively maintained
99/100
last commit 9 days ago
last release 11 months ago
releases 195
open issues 7
// star history+5 this week (+0.1%)

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up superagent (release-binary project) into my current project.
Found on https://claudeers.com/superagent
Repo: https://github.com/superagent-ai/superagent
Homepage/docs: https://superagent.sh
Detected install method: release-binary → inspect the README
Category: security. Platforms: cli, api, desktop, web, mobile.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or install directly (release-binary)

Grab the latest release asset from GitHub.

# download a build from https://github.com/superagent-ai/superagent/releases
// or clone
git clone https://github.com/superagent-ai/superagent

// compatibility

Platformscli, api, desktop, web, mobile
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageTypeScript

Superagent

Superagent SDK

Make your AI apps safe.

Website · Docs · Discord · HuggingFace


An open-source SDK for AI agent safety. Block prompt injections, redact PII and secrets, scan repositories for threats, and run red team scenarios against your agent.

Features

Guard

Detect and block prompt injections, malicious instructions, and unsafe tool calls at runtime.

TypeScript:

import { createClient } from "safety-agent";

const client = createClient();

const result = await client.guard({
  input: userMessage
});

if (result.classification === "block") {
  console.log("Blocked:", result.violation_types);
}

Python:

from safety_agent import create_client

client = create_client()

result = await client.guard(input=user_message)

if result.classification == "block":
    print("Blocked:", result.violation_types)

Redact

Remove PII, PHI, and secrets from text automatically.

TypeScript:

const result = await client.redact({
  input: "My email is [email protected] and SSN is 123-45-6789",
  model: "openai/gpt-4o-mini"
});

console.log(result.redacted);
// "My email is <EMAIL_REDACTED> and SSN is <SSN_REDACTED>"

Python:

result = await client.redact(
    input="My email is [email protected] and SSN is 123-45-6789",
    model="openai/gpt-4o-mini"
)

print(result.redacted)
# "My email is <EMAIL_REDACTED> and SSN is <SSN_REDACTED>"

Scan

Analyze repositories for AI agent-targeted attacks such as repo poisoning and malicious instructions.

TypeScript:

const result = await client.scan({
  repo: "https://github.com/user/repo"
});

console.log(result.result);  // Security report
console.log(`Cost: $${result.usage.cost.toFixed(4)}`);

Python:

result = await client.scan(repo="https://github.com/user/repo")

print(result.result)  # Security report
print(f"Cost: ${result.usage.cost:.4f}")

Test

Run red team scenarios against your production agent. (Coming soon)

const result = await client.test({
  endpoint: "https://your-agent.com/chat",
  scenarios: ["prompt_injection", "data_exfiltration"]
});

console.log(result.findings);  // Vulnerabilities discovered

Get Started

Sign up at superagent.sh to get your API key.

TypeScript:

npm install safety-agent

Python:

uv add safety-agent

Set your API key:

export SUPERAGENT_API_KEY=your-key

Integration Options

OptionDescriptionLink
TypeScript SDKEmbed guard, redact, and scan directly in your appsdk/typescript
Python SDKEmbed guard, redact, and scan directly in Python appssdk/python
CLICommand-line tool for testing and automationcli
MCP ServerUse with Claude Code and Claude Desktopmcp

Why Superagent SDK?

  • Works with any model — OpenAI, Anthropic, Google, Groq, Bedrock, and more
  • Open-weight models — Run Guard on your infrastructure with 50-100ms latency
  • Low latency — Optimized for runtime use
  • Open source — MIT license with full transparency

Open-Weight Models

Run Guard on your own infrastructure. No API calls, no data leaving your environment.

ModelParametersUse Case
superagent-guard-0.6b0.6BFast inference, edge deployment
superagent-guard-1.7b1.7BBalanced speed and accuracy
superagent-guard-4b4BMaximum accuracy

GGUF versions for CPU: 0.6b-gguf · 1.7b-gguf · 4b-gguf

Resources

License

MIT

// faq

What is superagent?

Superagent protects your AI applications against prompt injections, data leaks, and harmful outputs. Embed safety directly into your app and prove compliance to your customers.. It is open-source on GitHub.

Is superagent free to use?

superagent is open-source under the MIT license, so it is free to use.

What category does superagent belong to?

superagent is listed under security in the Claudeers registry of Claude-compatible tools.

0 views
6,713 stars
unclaimed
updated 2 months ago

// embed badge

superagent on Claudeers
[![Claudeers](https://claudeers.com/api/badge/superagent.svg)](https://claudeers.com/superagent)

// retro hit counter

superagent hit counter
[![Hits](https://claudeers.com/api/counter/superagent.svg)](https://claudeers.com/superagent)

// reviews

// guestbook

0/500

// related in Security & Compliance

🔓

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specia…

// securitymsitarzewski/Shell145,494MIT[ claude ]
🔓

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

// securityruvnet/Rust91,307MIT[ claude ]
🔓

Prowler is the world’s most widely used open-source cloud security platform that automates security and compliance across any cloud environment.

// securityprowler-cloud/Python14,649Apache-2.0[ claude ]
🔓

🐶 A curated list of Web Security materials and resources.

// securityqazbnm456/Python13,709[ claude ]

// built by

→ see how superagent connects across the ecosystem