nerq-commerce
Trust verification for agentic commerce. Verify AI shopping agents before they transact on your behalf.
Built on the Nerq Trust Protocol.
Install
pip install nerq-commerce
Quick Start — 3 Lines
from nerq_commerce import verify_transaction
result = verify_transaction("my-agent", "vendor-agent", "purchase", "medium")
if result.approved:
execute_transaction()
CommerceGate — Production Use
from nerq_commerce import CommerceGate
gate = CommerceGate(default_threshold=70, cache_ttl=300)
# Verify before purchase
result = gate.verify("shopping-assistant", "amazon-agent", "purchase", "high")
print(result.verdict) # "approve", "review", or "reject"
print(result.agent_trust_score) # 88.5
print(result.risk_factors) # []
print(result.approved) # True
# Batch verify
results = gate.verify_batch([
{"agent_id": "a1", "counterparty_id": "b1", "transaction_type": "purchase", "amount_range": "low"},
{"agent_id": "a2", "counterparty_id": "b2", "transaction_type": "payment", "amount_range": "critical"},
])
Transaction Types
| Type | Description | Threshold Range |
|---|---|---|
purchase |
Agent buying goods/services | 60-90 |
delegation |
Delegating tasks to another agent | 50-85 |
data_exchange |
Sharing data between agents | 40-80 |
payment |
Financial transactions | 65-95 |
Amount Ranges
| Range | Description | Effect |
|---|---|---|
low |
< $100 equivalent | Lowest thresholds |
medium |
$100-$1,000 | Standard thresholds |
high |
$1,000-$10,000 | Stricter verification |
critical |
> $10,000 | Maximum scrutiny |
Links
Metadata
Release files for nerq-commerce 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 | |
|---|---|---|---|---|
| nerq_commerce-0.1.0.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nerq_commerce-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / nerq_commerce-0.1.0.tar.gz
| Download URL | nerq_commerce-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0f26ef807682d1be18de219504c78621d7ca1cd9d1c999ff35431a5059d5506
|
|
BLAKE2b-256 checksum How to use checksums |
441297fbdb4f300df789351467a6a267fa4693b4094c4e723074ba5d8b90aa30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / nerq_commerce-0.1.0-py3-none-any.whl
| Download URL | nerq_commerce-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0ac16731befa7b36cd32777d61c766f6f4ab36215aee12e0b12cfcbb0ca9e23
|
|
BLAKE2b-256 checksum How to use checksums |
2ceb29ce239fcefea907e9a5323244e5c3b43a1760ce5f448a37804ba35ce93b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for nerq-commerce 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.
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.