Sage
Lightweight Agent Detection & Response (ADR) layer for AI agents, guards commands, files, and web requests. Part of Gen Agent Trust Hub.
Install: /plugin marketplace add https://github.com/gendigitalinc/sage.git
Works with Claude Code, Cursor · 316 GitHub stars
Install
/plugin marketplace add https://github.com/gendigitalinc/sage.gitInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Sage
Safety for Agents — Agent Detection & Response for AI coding assistants
Sage is a lightweight security layer that protects AI agents from executing dangerous actions. It intercepts tool calls — shell commands, URL fetches, file writes — and checks them against multiple threat detection layers before they run.
Note: Sage may appear under a different product name (e.g., Norton Sage, Avast Sage) depending on how it was installed. See Branding for details.
Key Features
- URL reputation — cloud-based detection of malware, phishing, and scam URLs
- Local heuristics — 300+ YAML-based threat patterns for dangerous commands, suspicious URLs, credential exposure, and obfuscation
- Prompt injection detection — two-tier defense (heuristics + fine-tuned ML model) against injected instructions in fetched content. See Prompt Injection
- Package supply-chain checks — registry existence, file reputation, and age analysis for npm/PyPI packages
- Plugin scanning — scans installed plugins for threats at session start
- AMSI integration — Windows Antimalware Scan Interface support (Windows + WSL via PowerShell interop; no-op on macOS and non-WSL Linux)
Quick Start
Visit ai.gendigital.com/sage for the latest installation instructions, or use the platform-specific guides below.
Claude Code — install guide · requires Node.js >= 18
/plugin marketplace add https://github.com/gendigitalinc/sage.git
/plugin install sage@sage
Cursor — install guide · install the Gen Sage extension from the marketplace
VS Code — install guide · install the Gen Sage extension from the marketplace
OpenClaw — install guide · install from npm
openclaw plugins install @gendigital/sage-openclaw
OpenCode — install from npm by adding to ~/.config/opencode/opencode.json:
{
"plugin": ["@gendigital/sage-opencode"]
}
See the User Guide for detailed instructions, configuration, and troubleshooting.
Privacy
For privacy considerations, please refer to Privacy.
Documentation
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…