> For clean Markdown of this page, append .md to its URL. For the complete documentation index, see https://www.superagent.sh/llms.txt.


Protect AI agents, use coding agents as destinations, and connect security agents through one factory.

# Agents

Agents take several roles in a security factory. Name the role whenever more than one appears in the same workflow.

## Available security workers

| Security worker | What it does for agents |
| --- | --- |
| [Red Team](https://www.superagent.sh/docs/security-workers/red-team/agents) | Tests deployed agents for data, policy, tool, and approval failures |
| [Agent Guardrails](https://www.superagent.sh/docs/security-workers/agent-guardrails) | Checks external context and monitors or blocks risky actions where agents run |

## Agent roles

| Agent role | Meaning |
| --- | --- |
| Protected AI agent | A deployed agent tested or guarded by the factory |
| Customer coding agent | A destination that investigates findings and prepares remediation |
| Superagent security agent | An actor that performs built-in security work |
| Customer-provided security agent | A customer component that extends the factory |

## Add an agent

1. Open [Agents](https://www.superagent.sh/app/agents) and select **Add new**.
2. Enter a name and choose the agent type.
3. Optionally select a connected repository to scope later work.
4. Select **Create agent**.
5. Open the Agent to configure Red Team settings or Runtime Guardrails.

Coding Agents also receive a one-time Runtime Guardrails pairing command during
setup.

## Use agents as destinations

Findings can start work in Cursor, Codex, Claude Code, Devin, or another customer agent. The agent reads current context through Superagent MCP, acts within its assigned scope, and returns a structured agent report. People approve consequential changes.

## Next steps

- [Protect agents with Agent Guardrails](https://www.superagent.sh/docs/security-workers/agent-guardrails)
- [Run Agent Red Team](https://www.superagent.sh/docs/security-workers/red-team/agents)
- [Connect your integrations](https://www.superagent.sh/docs/connect)

---
Source: https://www.superagent.sh/docs/concepts/agents
Index: https://www.superagent.sh/llms.txt
