Real output from evsec generate --demo — trimmed to fit. It runs on a bundled trace with no key.
-
Install
Python 3.10+. One dependency. Installs the
evseccommand.pip install evsecPrefer isolation?
pipx install evsecoruv tool install evsec. -
See it work — no key
Generate a full report from the bundled sample agent. Nothing is sent anywhere; nothing is stored.
evsec generate --demo --pack sensitive-tool-use --pack injection --report -
Point it at your own agent
Set a with-content MCP key from your Progress Observability workspace, then generate from real traffic. Add
--evidenceto also write an EU AI Act summary, and--out DIRto save the pack files.# either env var works export OBSERVABILITY_MCP_API_KEY="acm_p_…" evsec generate --service OrderSupportAgent --pack injection --pack pii \ --report --evidence --out ./packsNo workspace? Generate offline from any saved trace JSON — the same packs, no network.
evsec generate --fixture ./my-trace.json --pack injection --report -
Take the packs to Progress
Paste each evaluator into Progress Observability → Evaluations → Create task, or import a dataset CSV into Datasets & Experiments. Progress runs them over historical and new traffic and keeps the findings. See a full sample report first.
Every command
| Command | What it does |
|---|---|
evsec generate --demo | Generate from the bundled sample agent — no key, no account. |
evsec generate --service NAME | Read a sample of that agent's real spans and generate tuned packs. |
evsec generate --fixture FILE | Generate offline from a saved trace JSON. |
… --report | Also print the standards-coverage summary and what each pack was grounded in. |
… --evidence [FILE] | Write an EU AI Act testing-evidence summary (Markdown). |
… --out DIR | Write the pack files (evaluators + dataset CSVs) to a directory. |
evsec scope | Check whether your MCP key has with-content scope. |
evsec pull --service NAME | List recent spans for a service (metadata only). |
evsec serve | Run the same flow in a local browser UI (localhost, still fully offline of any evsec server). |
--out. There is no evsec server — the CLI talks only to your Progress workspace (for live
mode) and, optionally, your own generation model.evsec serve opens the same connect → generate → review flow in your browser at
localhost — still entirely on your machine, no hosted backend.