angorapay
Python SDK for AngoraPay Mesh, the paid-intelligence routing, policy, payment-boundary, receipt, and reconciliation layer for market agents.
Use it from a backend, research job, trading pipeline, or agent runtime. Keep API keys server-side.
Install
pip install angorapay
For the current repository build before registry publication:
cd sdk/python
python -m build
Configure
from angorapay import AngoraPay
client = AngoraPay(
base_url="https://your-angora-gateway.example",
api_key="ag_live_...",
)
Run A Market-Intelligence Mission
result = client.run_agent_mission(
userGoal="Check whether this BTC prediction market is mispriced after the news shift.",
module="prediction_market",
paymentMode="arc_testnet",
budgetUSDC="0.05",
)
print(result["recommendation"])
print(result["receipts"])
Route One Paid Provider Call
route = client.call_market_service(
missionId="agent_mission_123",
agentId="prediction-market-intelligence-agent",
consumerId="enterprise-workspace",
intent="Fetch prediction-market odds",
category="odds",
maxPrice="0.01",
idempotencyKey="agent_mission_123:odds:001",
)
Inspect Proof And Reconciliation
payments = client.payment_intents(missionId="agent_mission_123")
runs = client.reconciliation_runs(missionId="agent_mission_123")
traces = client.agent_traces(missionId="agent_mission_123")
Enterprise Notes
- Use API-key auth for production gateways.
- Treat
demo_fallback,arc_testnet, andreal_x402as distinct execution modes. - Do not represent fallback receipts as real settlement.
- Store receipt IDs, route scores, provider decisions, output hashes, and reconciliation state with every market recommendation.
Metadata
Release files for angorapay 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 |
|---|---|---|---|---|
| angorapay-0.1.0.tar.gz | 2.7 kB | Without provenance | Details for angorapay-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| angorapay-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for angorapay-0.1.0-py3-none-any.whl |
Total release size: 5.6 kB
Release files / angorapay-0.1.0.tar.gz
| Download URL | angorapay-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d843713bf2aaa562d9bfb90db7b199e846e16791012422fc9ddcf3962be333e6
|
|
BLAKE2b-256 checksum How to use checksums |
afb4e960a74738f9cb1e1a43777dbeb4157077ab7e2e24173d8f7d968f076378
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / angorapay-0.1.0-py3-none-any.whl
| Download URL | angorapay-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1261cfa53e5a8b39e3e3450818a597ce44bd3ed65be462d6e61e8b59e0782a1
|
|
BLAKE2b-256 checksum How to use checksums |
1842c58ae21976d5f2bdc804ab4bd3b22226aae2c17b80f712b2825b2dbda677
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for angorapay 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.