Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AgentProp

AgentProp logo

Graph control for agent workflows.

CI PyPI skills.sh MCP Security Version License Status

AgentProp models AI-agent workflows as directed weighted graphs—agents, tools, context, verifiers, and failures become nodes and edges you can analyze, simulate, and supervise.

It is a control layer, not an orchestrator. Your harness emits one ExecutionEvent per step; AgentProp returns whether to continue, verify, switch strategy, or finalize. See the overview for the core ideas (metric-dimension verifiers, quality cascade, RZF scaling, runtime control).

Get started — pick your path

Path A: you use a coding agent (Claude Code / Codex)

Install the package and register the plugin or MCP server so your agent can analyze its own workflow and run under budget control:

python -m pip install "agentprop[mcp]"
agentprop doctor --tier graph

codex mcp add agentprop -- agentprop-mcp   # or the plugin bundle below

Then follow the beta quickstart. No API keys are needed for graph analysis.

Path B: you build multi-agent systems (LangGraph and friends)

python -m pip install agentprop

Analyze a LangGraph workflow in a few lines:

from agentprop import analyze

report = analyze(my_langgraph_workflow)
print(report.to_markdown())

Wrap it with runtime control:

from agentprop import wrap

controlled = wrap(my_langgraph_workflow, budget={"tokens": 100_000, "cost": 0.50})
result = controlled.run({"task": "ship the workflow"})
print(result.decision_trace)

Start with the tutorial and the framework status matrix (LangGraph, CrewAI, and OpenAI Agents have native builders; AutoGen and LlamaIndex are dict-interchange only).

Try it without any framework

agentprop analyze planner_coder_tester_reviewer
agentprop control-demo --demo terminal --out-dir reports/control-demo
agentprop view planner_coder_tester_reviewer --out reports/view.html

More: docs/index.md · troubleshooting · contributing

Development checkout:

python -m venv .venv && source .venv/bin/activate
python -m pip install -e ".[dev]"
make test

Early signal

On one Terminal-Bench 2.1 task (regex-log, Codex + gpt-5.5), AgentProp control preserved pass while reducing tokens and cost versus the raw agent:

Arm Result Tokens Cost
A0 raw Codex pass 123,731 $0.33
A2 AgentProp control pass 81,949 $0.20

That is a single-task early signal, not a benchmark claim. Multi-task replication is documented in Terminal-Bench multi-task protocol.

Coding-agent integration

AgentProp ships a same-repo plugin bundle at plugins/agentprop (Codex + Claude Code manifests, packaged skill, MCP config). Install the Python package, then register the plugin:

python -m pip install "agentprop[mcp]"

codex plugin marketplace add aryan5v/AgentProp --sparse .agents --sparse plugins
codex plugin add agentprop@agentprop

Portable skill-only install:

npx skills add aryan5v/AgentProp --skill agentprop-workflow-optimizer

Full setup, MCP registration, and troubleshooting: coding agents · plugin distribution.

Examples

python examples/coding_agent_full_suite.py --out-dir reports/full-suite
python examples/minimal_control_loop.py

More: examples/README.md.

Repository map

Path Contents
src/agentprop/ Library and CLI
docs/ Guides, reference, and public artifacts
experiments/ Repro scripts — catalog
examples/ Integration templates
plugins/agentprop/ Editor-agent plugin bundle
skills/ Canonical skills.sh skill source

Details: repository layout.

Status

Public alpha research software. Graph analysis, propagation, runtime control, and key-free demos work without API keys. Treat live-agent numbers as directional until larger studies with saved artifacts are published under docs/results/.

License

Apache 2.0. See SECURITY.md and CHANGELOG.md.

Metadata

Release files for agentprop 0.1.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentprop 0.1.0b1
File Size Uploaded Provenance Actions
agentprop-0.1.0b1.tar.gz 1.9 MB Without provenance Details for agentprop-0.1.0b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentprop 0.1.0b1
File Interpreter ABI Platform Actions
agentprop-0.1.0b1-py3-none-any.whl Python 3 none any Details for agentprop-0.1.0b1-py3-none-any.whl

Total release size: 2.1 MB

Release files / agentprop-0.1.0b1.tar.gz

Download URL agentprop-0.1.0b1.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
aeae7943f01b87b95a7f599d3c243657e1ccb7c14684764b4454dc5476492be5
BLAKE2b-256 checksum
How to use checksums
aa664c81a90bebb87e765640c8f19fb4c870e912bfb04236c4f010c14556e02d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / agentprop-0.1.0b1-py3-none-any.whl

Download URL agentprop-0.1.0b1-py3-none-any.whl
Size 233.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd741244573ae590499f994019c11e4177d90d44d0008d22f93aba4eab24b601
BLAKE2b-256 checksum
How to use checksums
0a6a4e438b5920c3e7ec0ee00fa9c21335c4828ab1e902d779b3c58f552afd4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for agentprop 0.1.0b1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page