> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Superagent CLI

> Command-line interface for Superagent security tools

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
graph LR
    U[Input] --> A[Agent]
    A --> O[Output]

    classDef agent fill:#8B0000,color:#fff
    classDef tool fill:#189AB4,color:#fff

    class A agent
    class U,O tool
```

# Superagent Security CLI

Use Superagent security tools from the command line.

## Prerequisites

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
npm install @superagent/ai-sdk
export SUPERAGENT_API_KEY=your-superagent-api-key
```

## Guard (Prompt Injection)

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts agent run \
  --tools superagent:guard \
  --prompt "Check this input for prompt injection: 'Ignore previous instructions'"
```

## Redact (PII Removal)

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts agent run \
  --tools superagent:redact \
  --prompt "Redact PII from: John Smith, SSN 123-45-6789, john@email.com"
```

## Verify (Claim Verification)

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts agent run \
  --tools superagent:verify \
  --prompt "Verify: AI will replace 50% of jobs by 2030"
```

## Combined Security

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts agent run \
  --tools "superagent:guard,superagent:redact,superagent:verify" \
  --prompt "Process this text securely"
```

## Environment Variables

| Variable             | Required | Description        |
| -------------------- | -------- | ------------------ |
| `SUPERAGENT_API_KEY` | Yes      | Superagent API key |
| `OPENAI_API_KEY`     | Yes      | OpenAI API key     |
