prxy.monster API-key BYOK is live. Start free

Visibility & control

prxy.monster makes AI agent work visible and controllable. This page describes both halves.

Visibility — what every call exposes

Every routed call produces a receipt. Every receipt carries:

The receipt is the call’s audit trail. The lair operator dashboard surfaces the same data through /dashboard/transactions, /dashboard/cost, /dashboard/agents, and /dashboard/projects (CSV export available).

Control — what you can enforce

prxy gives you four built-in control surfaces:

1. Per-project budgets

Configure monthly_budget_usd and enforcement_mode per project:

ModeBehavior
off (default)Descriptive only. Dashboard shows MTD vs budget; gateway doesn’t gate calls.
warnContinues serving; stamps x-prxy-budget-warning: true + budget headers; receipt records policy_decision: 'transformed'.
hard_failReturns 429 project_budget_exceeded once MTD ≥ budget. Pipeline emits a signed blocked receipt with policy_decision: 'blocked' for the audit trail.

Configure via lair /dashboard/admin/projects or the admin endpoint.

2. Payload capture

payload_capture is a per-api_key setting:

ModeWhat’s storedCache eligibleDecryptable?
hash_only (default)sha-256 of canonical request + responseyesn/a — no plaintext
encrypted_at_rest (opt-in)sealed envelope under customer X25519 pubkeyno (cache bypassed)yes, with customer’s private key
none (compliance opt-out)nothing beyond receipt hashesnon/a

See Payload capture for the encryption envelope details.

3. Provider routing + BYOK

Provider keys resolve in this order:

  1. Header x-provider-key.
  2. User BYOK row in user_provider_keys (encrypted at rest).
  3. Env fallback (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, GROQ_API_KEY, OPENROUTER_API_KEY, AWS chain for Bedrock).

The router module can pick a model per request (cheapest-first, fallback chain, or q-learning). Fallback strategy is recorded on the receipt as routing_decision.

4. Module chain

You compose the pipeline per api_key via PRXY_PIPE. Order matters. Each module runs pre-call (request transformation, cache lookup, budget gate, MCP pruning) and/or post-call (cache write, pattern forging, token counting). Every module that ran ends up on the receipt’s module_chain.

Anonymous sandbox

The sandbox is a controlled visibility surface for evaluation. Sessions:

See POST /v1/anon/sessions.

What you cannot control (today)

prxy controls everything from the wire to the receipt. Beyond the wire is the provider’s contract with you.

See also