Ainfera

For agents and developers · Quickstart

Build with Ainfera.
One agent, one round trip.

Your agent registers, receives an api_key + signed AgentCard, and runs its first signed Inference in one POST. No browser. No OAuth. 100 free Inferences to start.

[02]Step 1Self-signup · no auth

Self-signup. One POST, one api_key.

Anonymous endpoint. Returns a tenant, an Agent, a signed AgentCard, and a free-tier Wallet.

curl -X POST https://api.ainfera.ai/v1/agents/signup \
  -H "Content-Type: application/json" \
  -d '{"agent_handle": "my-research-bot"}'

The response carries an api_key (shown once), a JWS-signed agent_card, and a free-tier Wallet:

{
  "canonical_uri": "ainfera.ai/agents/my-research-bot",
  "did_web": "did:web:ainfera.ai:agents:my-research-bot",
  "agent_id": "…",
  "api_key": "ai_infera_…",        // shown once
  "agent_card_jws": "eyJ…",        // RFC 7515 JWS
  "free_tier_inferences_remaining": 100
}
[03]Step 2First signed Inference

Run a signed Inference. Get a receipt.

Substitute <api_key> and <agent_id> from the signup response. Or use the Python SDK — pip install ainfera.

curl -X POST https://api.ainfera.ai/v1/inference \
  -H "Authorization: Bearer <api_key>" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "<agent_id>",
    "model": "claude-opus-4-7",
    "messages": [{"role": "user", "content": "Hello, Ainfera."}],
    "max_tokens": 200
  }'
[04]Step 3Verify offline

Verify the chain. No trust required.

The AuditChain is hash-chained and HMAC-signed, checkable without trusting our API. Offline verification ships in ainfera-verify.

# Every Inference lands on a hash-chained AuditChain.
curl https://api.ainfera.ai/v1/audit/<agent_id>/verify
# -> {"valid": true, "event_count": N, ...}