Skip to main content

PlanLens

Catch plan errors before execution.

Check structured AI-agent plans against your workflow rules. See which requirement failed and the steps involved.

Walkthrough of an authored example in five scenes. Plan references: test_rc and scan_rc reference build_rc.artifact, deploy_prod references build_hotfix.artifact, a different build. Diagnosis: PlanLens rejects the plan with plan/artifact-identity. Inspector: the report shows the references that disagree. Manual edit: a person changes deploy_prod's reference in a copy to build_rc.artifact. Recheck: PASS. Nothing is built, tested or deployed.

Authored example. Scene labels and notes are editorial. PlanLens compares the references a plan declares: nothing is built, tested or deployed, and a person makes the edit.

For developers building plan-and-execute agents. PlanLens reads one structured, sequential plan and checks it, like a linter, against actions and workflow rules you own: required actions, step order, artifact references and same-artifact rules. It does not run your steps.

Install

You need Python 3.11 or newer. PlanLens has no runtime dependencies, and after installation it runs offline, with no model account and no telemetry.

python3 -m venv planlens-env
. planlens-env/bin/activate
python -m pip install "planlens-agent==0.1.0"
planlens-agent --version

Try the bundled example

This authored example deliberately violates its contract. Expect RESULT: REJECTED (exit 1) and plan/artifact-identity.

planlens-agent init release-basic demo
cd demo
planlens-agent check plans/artifact-mismatch.json

Exit status 0 means pass, 1 rejected, and 2 invalid input or unsupported requirements.

Scope

A pass means the declared plan satisfies your supported, required rules. It does not show that any step ran, that tests passed, or what was deployed. Code that never calls PlanLens is not constrained by it. The public API may evolve during 0.x.

Documentation

License

Copyright 2026 Nurdaulet Abdrakhman. Licensed under the Apache License 2.0; see LICENSE and NOTICE. Authors are listed in AUTHORS. Maintained by Nurdaulet Abdrakhman (LinkedIn).

Metadata

Release files for planlens-agent 0.1.0

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

Source distribution (sdist)

Source distribution for planlens-agent 0.1.0
File Size Uploaded Provenance Actions
planlens_agent-0.1.0.tar.gz 1.3 MB With provenance Details for planlens_agent-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / planlens_agent-0.1.0.tar.gz

Download URL planlens_agent-0.1.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
28c7e30251220d2c5a87e88b1ba3c587994f5d8d958365acd04c7a9bfa5d7b6b
BLAKE2b-256 checksum
How to use checksums
177c0f287ee42abd2d46c71b8a246140d50eeaa8fdf91b88103d3b9039db7fa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / planlens_agent-0.1.0-py3-none-any.whl

Download URL planlens_agent-0.1.0-py3-none-any.whl
Size 106.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a0246f7588b87666f8f8cec1205cf92105bf76e8f113907820e8771c4b32f4b
BLAKE2b-256 checksum
How to use checksums
5a6458087de29de13013f4cedfc2a95920fc97744dc64b14fa5c79b65daee928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for planlens-agent 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for planlens_agent-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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