AUTONOMOUS AGENT INFRASTRUCTURE / SDK + API

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.

DUAL REVENUE / DUAL ACCESS

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.

STARTER
29 €/mo
  • 50k included requests
  • 1 primary API key
  • 14-day checkout trial
PRO · COMPATIBILITY
49 €/mo
  • 100k included requests
  • Existing Pro contract retained
  • Cloud dashboard
DEVELOPER
79 €/mo
  • 250k included requests
  • 1 primary API key
  • UTL + machine APIs
STUDIO
199 €/mo
  • 1M included requests
  • 1 primary API key
  • Agency / multi-agent use
FLEET
499 €/mo
  • 5M included requests
  • 1 primary API key
  • Fleet-scale integration
ENTERPRISE GUARD
1 500 → 5 000 €/mo
  • Governance and financial control plane
  • 25 → 500 active agents
  • 500k → 5M governed preflights
x402 PAY-PER-USE
0.001 → 0.050 USDC/call
  • Base mainnet
  • No monthly subscription required
  • Machine-readable HTTP 402
UNIVERSAL TRANSPORT LAYER

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.

PAYLOAD

Bounded syntax repair

Objects, JSON-like text, code-fenced JSON and unformatted text are converted into a stable JSON-safe payload without eval.

TRANSPORT

429 / 502 / 504 resilience

Bounded exponential retry, Retry-After support, endpoint scoring and circuit-breaker behavior route idempotent work across the configured pool.

STATE

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

Availability boundary. The SDK can preserve pending state when local storage succeeds and can fail over among configured compatible endpoints. It cannot truthfully guarantee 100% execution continuity if every network path and every configured endpoint is unavailable.
BOOTSTRAP ZERO-FRICTION

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.jsonl

The SDK also reads .humanmirror.json. Environment variables take precedence, making the same package portable across local bots, CI runners, containers and fleet workers.