← All projects
AI testing & safety

Superagent SDK

Helps developers protect AI apps from trick instructions, data leaks and harmful outputs.

New this week

What it does

Superagent is a toolkit for making AI apps safer. Its Guard feature spots and blocks prompt injections, hidden instructions that try to trick an AI into misbehaving, as well as unsafe tool use.

Its Redact feature removes personal details and secrets from text, and its Scan feature checks code repositories for content aimed at misleading AI agents. A testing feature is listed as coming soon.

It works with many AI providers and can run some of its own open models on your servers. Using it needs a key from the Superagent service.

Who it's for

Developers who build AI apps or agents and need safety checks.

Can I use it without coding?

Developers only. It's a code library and command-line tool. New to this? Start here.

Can I run it?

Cost
Free, with optional paid extrasThe open-source version is free; the makers also sell a hosted or pro version.
Runs on
Mac, Windows, Linux, Server
Computer
An ordinary computer is fine
Privacy
Sends what you give it to an online service
API key
Needed. An API key is a password-like code from an online AI service. What's that?

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • Keep your API key private. Never paste it into websites or share it, and set a spending limit with the AI service.
  • What you type or upload is sent to an online service. Avoid sharing private or sensitive information.
  • More on staying safe