- 50k included requests
- 1 primary API key
- 14-day checkout trial
One integration layer for agents that cannot afford brittle transport.
HumanMirror combines recurring API capacity, machine-native x402 pay-per-use and a Universal Transport Layer for payload repair, bounded retry, endpoint failover, telemetry and durable local replay.
Subscribe for capacity. Pay per call when that is better.
Subscriptions and x402 are both first-class. An agent can use HumanMirror without a monthly plan through x402, while teams and fleets can buy predictable recurring capacity and still use x402 for extra or isolated machine calls.
- 100k included requests
- Existing Pro contract retained
- Cloud dashboard
- 250k included requests
- 1 primary API key
- UTL + machine APIs
- 1M included requests
- 1 primary API key
- Agency / multi-agent use
- 5M included requests
- 1 primary API key
- Fleet-scale integration
- Governance and financial control plane
- 25 → 500 active agents
- 500k → 5M governed preflights
- Base mainnet
- No monthly subscription required
- Machine-readable HTTP 402
Normalize → route → retry → fail over → preserve → replay.
The SDK stays client-side, so HumanMirror does not become an arbitrary open proxy. Compatible endpoints are explicitly configured by the developer or agent runtime.
Bounded syntax repair
Objects, JSON-like text, code-fenced JSON and unformatted text are converted into a stable JSON-safe payload without eval.
429 / 502 / 504 resilience
Bounded exponential retry, Retry-After support, endpoint scoring and circuit-breaker behavior route idempotent work across the configured pool.
Durable local fallback
Node journals pending work to JSONL. Python uses SQLite WAL. Replay preserves the original request ID to reduce duplicate execution risk.
Node / TypeScript
import { createHumanMirror } from "@humanmirror/sdk";
const hm = createHumanMirror();
const result = await hm.request("/api/one/run/", {
method: "POST",
payload: task,
idempotent: true
});Python
from humanmirror import create_humanmirror
hm = create_humanmirror()
result = hm.request(
"/api/one/run/",
method="POST",
payload=task,
idempotent=True,
)X-Metrics-Sync: 1X-Request-IdIdempotency-Keylocal replayPANGI-ready
Environment-aware by default.
HUMANMIRROR_API_KEY=...
HUMANMIRROR_BASE_URL=https://humanmirror.fr
HUMANMIRROR_FAILOVER_URLS=https://edge-a.example,https://edge-b.example
HUMANMIRROR_QUEUE_PATH=.humanmirror/transport-queue.jsonlThe SDK also reads .humanmirror.json. Environment variables take precedence, making the same package portable across local bots, CI runners, containers and fleet workers.