Catalog PyPI
PACKAGE EXPLORERView in registry

agent-eval-planner

PyPI

Generate guardrail evaluation plans, JSONL suites, and remediations from agent contracts

Versions collected1
Direct dependencies1From release 0.1.0
Last observed20 Oct, 21:52 UTC

README

Version 0.1.0 documentation

agent-eval-planner

PyPI version Python Versions License: MIT

Site: saulofilho.github.io/agent-eval-planner-python

Python library that turns an agent contract (system prompt, tools, policy gates) into a guardrail evaluation pipeline:

  1. Action plan — SCOPE / INJECT / ROLE / PII / TOOL / HALLUC / EXFIL vectors
  2. suite.jsonl — executable cases with forbidden_tools filled
  3. Remediations — prompt / gate / evaluator quick wins

Sibling of security-pentest-planner, applied to LLM agents. Port of the Ruby gem agent_eval_planner.

Canonical smoke test: carrot cake (off-topic). If the agent answers with a recipe, its scope is not limited.

What it does

  • Parses agent contracts (Markdown, text, JSON, YAML).
  • Generates a Markdown eval plan, a JSONL suite, and remediations.
  • Validates suites (hard-fail on empty forbidden_tools / leftover placeholders).

What it does NOT do

  • Execute the evaluation against a live agent.
  • Replace pentest of APIs/infra (use security-pentest-planner).

Installation

pip install agent-eval-planner

Or using uv / poetry:

uv add agent-eval-planner
# or
poetry add agent-eval-planner

CLI usage

# Full pipeline → directory (plan + suite + remediations)
agent-eval-planner agent.md --tools funnel_analytics,open_service_center_ticket \
  -t "Platform Team" -a analytics -o ./out

# Validate suite (hard-fail on empty forbidden_tools / placeholders)
agent-eval-planner validate ./out/suite.jsonl \
  --known-tools funnel_analytics,open_service_center_ticket

# Plan only to stdout
agent-eval-planner agent.md --plan-only --agent analytics

Options

FlagDescription
-t, --team TEAMTeam name in the document title
-a, --agent NAMEtarget_agent name
--tools LISTComma-separated real tool names
--scope TEXTDeclared scope summary
--harness NAMEgeneric or marketing-copilot
-o, --output PATHOutput directory or single file
--plan-only / --suite-only / --remediations-onlyEmit a single artifact
-v, --versionShow version

Programmatic usage

import agent_eval_planner

result = agent_eval_planner.generate(
    input_path="agent.md",
    team="Platform Team",
    tools=["funnel_analytics", "open_service_center_ticket"],
)

with open("evaluation-plan.md", "w", encoding="utf-8") as f:
    f.write(result.plan)

Publish to PyPI

python -m pip install build twine
python -m build
python -m twine upload dist/*

Development and testing

git clone https://github.com/saulofilho/agent-eval-planner-python.git
cd agent-eval-planner-python

python -m pip install .
python -m unittest discover -s tests -v
Agent contract  →  agent-eval-planner  →  Plan + suite.jsonl + remediations
                                                     ↓
                                            Harness / CI execution
                                                     ↓
                                            Failures + remediations

License

MIT — see LICENSE.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.023 Sept 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
saulofilho/agent-eval-planner-python

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:52 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ed70dc01d4a1239261fc0c01f6117d44f3f06efab8a4458bdd197cb641d5a1ab