Skip to main content

Observe-only tool proxy: passthrough auth, fault injection, trace recording.

Project description

axor-proxy

Observe-only tool proxy (Starlette + httpx). Sits in front of the agent's tools; forwards auth byte-for-byte, and only ever does two things: inject a declared fault (armed scenario), record an observation (status/sizes/hashes — never raw bodies). It never blocks the agent.

Run: uv run axor-proxy --demo --backend-url http://127.0.0.1:8400 (--demo registers mock broken tools, zero creds; --backend-url auto-uploads runs so Eval/Replay/Regression light up).

Modules:

Module Responsibility
app.py routes: /t/{tool} passthrough, /axor/runs arm→claim, /axor/runs/{id}/simulate, /axor/governed/spawn, preflight/health
runs.py run lifecycle; fault semantics from axor_eval; EvidenceCase construction
faults.py / mock_tools.py fault application; demo mock tools
agent.py scripted agent — drives a run to completion over the proxy's own HTTP surface (the in-app "run an experiment")
recorder.py / upload.py JSONL trace writer; best-effort upload + auto-pin to the backend
governed.py demo governed node: a real axor_core IntentLoop (per-value taint enforcement) that produces an adapter-fidelity trace and stays live on the plane (heartbeats + desired-state), so Control shows it and interventions reach it

Endpoints are disarmed (503) unless a run is armed; the trace file on disk is the system of record even if upload fails.

Tests: uv run pytest packages/axor-proxy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axor_proxy-0.1.0.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axor_proxy-0.1.0-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file axor_proxy-0.1.0.tar.gz.

File metadata

  • Download URL: axor_proxy-0.1.0.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axor_proxy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 160088be0ddc5db31904ee9bdf919498dc9dd72bec66403b6f6454c12b2dffbc
MD5 6c62b352890c8355916b6e0f03c4fcf3
BLAKE2b-256 ae5f5299892f2e7212e22413a975ba3e85b3d76dedf14591051c1ae9507d881d

See more details on using hashes here.

Provenance

The following attestation bundles were made for axor_proxy-0.1.0.tar.gz:

Publisher: release.yml on Bucha11/axor-control-plane

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file axor_proxy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: axor_proxy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 37.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axor_proxy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9e6a379d158b7146f889323f653ed96c0d82ab653f9fc31317264533e679d7f
MD5 7c33174985a07558d4d021c3dd1ee5f4
BLAKE2b-256 af50dbaf774c9b245f22b7ec9e7cbdc905300fcb68c82583262b584f06d520dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for axor_proxy-0.1.0-py3-none-any.whl:

Publisher: release.yml on Bucha11/axor-control-plane

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page