dataforge-agent-patterns
Reusable pure-Python primitives for agent projects:
from dataforge_agent_patterns import ProgressiveToolDisclosure
disclosure = ProgressiveToolDisclosure({"search": 1, "shell": 3})
assert disclosure.visible_tools(task_difficulty=2) == ("search",)
The package is intentionally independent from dataforge. Runtime imports are
limited to the Python standard library, pydantic, and lazily imported z3
inside SMTVerifiedAction.
It is not published to PyPI yet; use the local verification source install
until Trusted Publishing ownership is configured.
Primitives
ProgressiveToolDisclosure- reveal tools only when task difficulty warrants them.ConstitutionalFilter- wrap an agent with a safety-verdict layer.ReversibleTransaction- decorate side-effect calls with rollback support.SMTVerifiedAction- check structured actions with Z3 before execution.CausalCascadeDetector- flag cascading effects in action graphs.
Local Verification
python -m pip install -e ".[dev]"
python -m ruff check src tests
python -m ruff format --check src tests
python -m mypy src
python -m pytest
python -m build
PyPI publishing should use GitHub Actions Trusted Publishing after a pending
publisher is configured for dataforge_07_agent_patterns; do not add PyPI API
tokens.
Metadata
Release files for dataforge-07-agent-patterns 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dataforge_07_agent_patterns-0.1.0.tar.gz | 8.2 kB | With provenance | Details for dataforge_07_agent_patterns-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dataforge_07_agent_patterns-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for dataforge_07_agent_patterns-0.1.0-py3-none-any.whl |
Total release size: 16.6 kB
Release files / dataforge_07_agent_patterns-0.1.0.tar.gz
| Download URL | dataforge_07_agent_patterns-0.1.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eea665b2984612c12e00ef79a7f5edec758a74e1312a22acf78d1fd85abea41e
|
|
BLAKE2b-256 checksum How to use checksums |
be52615049be21f9ab6f7027fd827578da870882aaad96d4c67d450d5d076d5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 13, 2026.
Transparency logRelease files / dataforge_07_agent_patterns-0.1.0-py3-none-any.whl
| Download URL | dataforge_07_agent_patterns-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49c4950288f29e03e83278dbdbba672792440086990251467cb68e0e770ac810
|
|
BLAKE2b-256 checksum How to use checksums |
471240fd74c3a545f0a5b8dcf8ef670f877ada67fbdf0443b2b90b2e33bb0118
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 13, 2026.
Transparency logSecurity for dataforge-07-agent-patterns 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.
Attestation for dataforge_07_agent_patterns-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 Jun 13, 2026.
Transparency logA 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.