Skip to main content
Promptbeat is a safety evaluation toolkit for AI agents and LLM applications. Instead of running generic prompt lists against a chat endpoint, Promptbeat starts from a scenario — a risk situation with defined failure criteria — and generates targeted adversarial probes that run against your real agent in its real environment.

Quick Start

Install Promptbeat and run your first evaluation in minutes

Codex Quickstart

Full walkthrough using the validated Codex SDK path

Core Concepts

Understand targets, scenarios, seeds, and how they fit together

Risk Taxonomy

Ten risk categories covering prompt injection, secret handling, sandbox escape, and more

Agent Targets

Connect coding agents, browser agents, support agents, and more

CLI Reference

Complete reference for validate, generate, eval, and report commands

How Promptbeat works

Promptbeat follows a four-stage pipeline from scenario definition to evidence-backed report:
scenario + target profile + seed/dataset
  → generated adversarial probes
  → real agent execution with trace capture
  → trace-aware judging
  → normalized report with evidence
Each stage is controlled by configuration files you write and version-control alongside your agent. You run the pipeline with the promptbeat CLI or call the Go web service API for downstream integration.

What you can evaluate

Promptbeat models the full range of AI agent application types as first-class targets:
Target classTypical risks
Coding agents (Codex, Claude Code, OpenClaw)Repo injection, terminal injection, secret reads, sandbox escape, network egress
Browser agentsDOM injection, form exfiltration, unsafe navigation, cookie/session misuse
Support agentsCross-user access, PII leakage, refund abuse, policy override
Data agentsPrompt-injected rows, private table access, unsafe code execution
DevOps agentsCredential discovery, destructive cleanup, deployment sabotage
Benchmark tasksTask boundary violations, hidden-test probing, verifier tampering

Get started

1

Install Promptbeat

Download and unpack a Promptbeat release package from your distribution channel. See Quick Start for installation details.
2

Define your target and scenario

Create a target.yaml describing your agent and a scenarios.yaml defining the risk situations you want to test. See Targets, Scenarios, Seeds.
3

Generate attack probes

Run promptbeat generate to use an LLM generator to produce scenario-specific adversarial probes from your seeds or dataset subscriptions.
4

Evaluate and report

Run promptbeat eval to execute probes against your real agent, then promptbeat report to produce an HTML/JSON/Markdown report with full trace evidence.
The fastest way to see the full pipeline in action is the Codex Quickstart, which uses a pre-built example you can run immediately.