OpenViSTAI · Agents · Blockchain · Crypto
Menu
Agent Security & Sandboxing

Superagent SDK

Superagent SDK is an open-source TypeScript SDK for adding safety checks to AI applications. Its documented functions can detect and block prompt injections, malicious instructions and unsafe tool calls at runtime, redact PII, PHI and secrets from text, and scan repositories for AI-targeted threats. The repository also describes Python SDK, CLI and MCP server integrations.

Independent OpenViST project profile, based on linked sources.

Superagent SDK — OpenViST project profile in Agent Security & Sandboxing.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when building an AI application that needs runtime input or tool-call checks, text redaction, or repository threat analysis.

Who it is for

  • Developers integrating safety checks into AI applications or agents.
  • Teams that want to redact sensitive information from text or scan repositories for AI-targeted threats.

Documented uses

  • Check application inputs for prompt injections and malicious instructions at runtime.
  • Block potentially unsafe tool calls before they proceed.
  • Remove PII, PHI and secrets from text.
  • Scan a repository for threats such as repository poisoning and malicious instructions.
Before you choose

Requirements & limits

The README directs users to sign up at superagent.sh for an API key. The repository is public and MIT-licensed.

  • The README lists TypeScript and Python SDKs; the repository’s primary language is TypeScript.
  • Guard and Redact are documented with code examples, and Scan is shown accepting a repository URL.
  • The Test red-team scenario feature is explicitly marked “Coming soon.”
  • The README describes running Guard with open-weight models on your infrastructure; it does not provide setup details for that option in the excerpt.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up the TypeScript SDK

Install the package and configure the API key for an application integration.

Before you start

  • A Superagent API key obtained through sign-up at superagent.sh
  • A TypeScript project using npm

Steps

  1. Install the package with npm install safety-agent.

  2. Set the SUPERAGENT_API_KEY environment variable to your key.

Expected outcome

The package is installed and the documented API key environment variable is configured for application use.

Guide limitations

  • These setup steps do not demonstrate a completed application call.
  • The README marks the red-team Test feature as coming soon.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
7 October 2026
Original website title
superagent-ai/superagent · Official homepage title · retained in its source language