superagent-ai/superagent

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 12 minutes ago
Added to GitGenius on September 9th, 2026
Created on May 10th, 2023
Open Issues & Pull Requests: 16 (+0)
GitHub issues: Enabled
Number of forks: 962
Total Stargazers: 6,744 (+0)
Total Subscribers: 60 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 55.8 days
90th percentile: 147.9 days
Tracked items: 113

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 10% of issues opened in the past year have been closed. Three people close 100% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 9
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 135 days
Stale 30+ days: 7
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (66)
  • x-posts (13)
  • bug (11)
  • content (9)
  • viral-content (4)
  • ai-agents (3)
  • security (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Superagent is an open-source SDK for AI agent safety that detects and blocks prompt injections, redacts sensitive data, and scans for threats targeting AI applications.

The tool addresses the security vulnerabilities inherent in deploying large language models by providing runtime protection at multiple layers. It guards against prompt injections and malicious instructions by analyzing inputs before they reach your model, redacts personally identifiable information and secrets from text automatically, and scans repositories for AI agent-targeted attacks such as repo poisoning. The approach embeds safety checks directly into your application rather than relying on external services alone, enabling you to prove compliance to customers through transparent, auditable protection.

Superagent suits teams building production AI applications who need to demonstrate security posture to users or regulatory stakeholders. It works with any model provider including OpenAI, Anthropic, Google, Groq, and Bedrock, and supports both cloud-based and self-hosted deployments through open-weight models that run on your infrastructure with low latency. The project offers TypeScript and Python SDKs for direct embedding, a command-line tool for testing, and an MCP server for integration with Claude Code and Claude Desktop. The MIT license provides full transparency into the safety mechanisms protecting your application.

Development activity shows consistent engagement across multiple integration pathways, with maintained SDKs in both TypeScript and Python alongside tooling for different deployment contexts. The project maintains active community channels and documentation resources, indicating ongoing support for users integrating the safety layer into their workflows.