LoopGrid Python SDK
LoopGrid is the evidence plane for AI agents. The SDK captures the decision lifecycle—agent identity, delegated authority, model/context, policy, human oversight, tool/action and observed outcome—and exports signed, tamper-evident evidence.
pip install loopgrid
from loopgrid import LoopGrid
lg = LoopGrid(base_url="http://localhost:8000", api_key="lg_live_...")
d = lg.record_decision(
decision_type="customer_refund",
agent={"id": "support-agent", "version": "1.0"},
authority={"acting_for": "Acme", "limit_usd": 1500, "scope": ["refund:create"]},
model={"provider": "openai", "name": "gpt-5"},
context={"prompt_version": "support-v1"},
proposed_action={"tool": "stripe.refunds.create", "amount": 720, "currency": "USD"},
)
print(d["decision_id"])
print(lg.verify_workspace())
The v0.8 package is a design-partner release, not Production GA. Signed/tamper-evident evidence is not a legal compliance determination.
Metadata
Release files for loopgrid 0.8.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 |
|---|---|---|---|---|
| loopgrid-0.8.0.tar.gz | 10.4 kB | Without provenance | Details for loopgrid-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loopgrid-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for loopgrid-0.8.0-py3-none-any.whl |
Total release size: 22.1 kB
Release files / loopgrid-0.8.0.tar.gz
| Download URL | loopgrid-0.8.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d27c3e1dd362831b2d60371be6cf7b48e068351e8054363c5761dcf5c81667d0
|
|
BLAKE2b-256 checksum How to use checksums |
ecb8837b7e2b81050eb035079dfb90303410ea113ad16aaa3ad617609ccd3276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.6
|
Release files / loopgrid-0.8.0-py3-none-any.whl
| Download URL | loopgrid-0.8.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e42d09c6d4fef121accd0c1c1c107a889c06d08069892db146541aa1f7d3c44
|
|
BLAKE2b-256 checksum How to use checksums |
518ee907f03e9a64fa4dda6a79d90f09b43be572acc93989018e226d1ad63294
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.6
|
Security for loopgrid 0.8.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.
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.