Open Edge Network
An open, low-latency network for edge execution, policy and verification.
Technical whitepaper · November 2026
Each capability is marked Live (in the code, covered by tests and serving in production) or Planned (the intended design, not yet built). Figures are measured and their source is named next to them. Where nothing has been measured, no figure is given.
1. Abstract
Software that acts on its own, whether a script, a service or an autonomous agent, needs three things before it acts:
- real-world data;
- a policy decision;
- afterwards, evidence of what was checked.
Today these come from separate vendors, each with its own account, its own opaque retention and no shared proof.
The Open Edge Network puts all three behind one open interface at the network edge:
- Discovery: routes can be found with no key.
- Pricing: every call is quoted before it runs, and payment is per call over HTTP 402 or through a metered key.
- Proof: every screening verdict carries a SHA-256 receipt that anyone can check for 400 days, and every execution pass and bounty receipt is Ed25519-signed with a published key, so it verifies offline.
Nothing is charged for a failed or partial call, and the network never takes custody of a caller's funds or credentials.
2. Problem statement
| Need | Usual approach | Gap |
|---|---|---|
| Real-world data | One vendor account per source | Keys, schemas and limits differ for every source; agents cannot sign up on their own |
| Fast answers | Shared ledgers or central regions | Agreement rounds or long network paths add delay before every answer |
| Safety before action | Checks after the fact, if any | An unsafe action has already run by the time it is noticed |
| Evidence | Provider logs | Logs are private, mutable and hold the payload itself |
| Paying for use | Accounts, contracts and invoices | No way for a program to pay for exactly one call |
The network's answer is deterministic edge execution: each request is answered at the edge from fixed rules over live inputs, with no agreement round and no custody of anything the caller owns.
3. Measured performance
- Latency: measured daily, per suite, in the public benchmark (
https://benchmarks.caelaralabs.com/api/v1/benchmarks); read the live p50 and p95 there.- The benchmark makes one warm-up call, then 10 timed calls per route, and counts only HTTP 200 answers.
- It is measured inside the hosting network, so it excludes the network between a client and the edge and is not end-user latency.
- Not measured: uptime, end-user latency, and the detection rate of the policy checks. No figure is claimed for them.
4. Architecture: four layers
Layer 1: Zero-key discovery (Live)
Every suite host (https://<suite>.caelaralabs.com) answers, with no key:
GET /llms.txt: a short Markdown index covering capabilities, latency, pricing, the HTTP 402 protocol and the countdown headers.GET /.well-known/x402.json: a machine-readable schema for payment, quotes and countdowns.GET /.well-known/x402andGET /x402-manifest.json: the full payment terms for HTTP 402 clients.GET /openapi.json,GET /mcp(Streamable HTTP MCP) andPOST /a2a(Agent2Agent), with the agent card at/.well-known/agent.json.
Layer 2: Deterministic execution (Live)
- Composable suites: web data, social metadata, agent safety, compliance and trust, commerce, search readiness, documents, locale and media.
- Upstream fetches: they time out after 3 seconds. A blocked or failed upstream returns a partial answer marked
partial: trueinstead of a server error. - Single-hop fallback:
withCaelaraFallbackin@caelaralabs/agent-guardwrapsfetch.- It fails over once, only on
429,502,503or504. - It replays only requests that are safe to retry:
GET,HEAD,OPTIONS, or a request with anIdempotency-Key. - It never forwards third-party credentials and never replays a stream.
- It fails over once, only on
Layer 3: HTTP 402 clearing and Edge Gas Unit metering (Live)
- Per-call payment. Without a key, a metered route answers
402with the terms in the body and theX-Payment-Requiredheader. The caller pays withX-PAYMENTand retries. Settlement happens only after a successful answer. - Edge Gas Units (EGU). A non-cashable infrastructure compute metering unit, comparable to compute-time or bandwidth units. EGU exist only to meter and settle edge execution: they cannot be withdrawn, transferred or exchanged.
1EGU per atomic route and5EGU per composite route, times the multiplier.- The price of one EGU is live and sent with every quote in
X-Edge-Gas-Unit-Price-Usd. - A price or multiplier change applies only to calls quoted after it. Credits already bought keep the price paid for them.
- Quote, hold, burn.
- Before a call runs, its quote is sent and the units are held.
- Units burn only on a settled HTTP 200 that is not a partial answer.
- Any other status, a handler error, or a partial answer after an upstream failure releases the hold with
0units burned. - A hold that is never settled is released automatically after 120 seconds.
- Burn order. Rebate credits burn first, then prepaid credits.
- Builder rebates. A registered builder that sends
X-Builder-Keyon calls it routes earns a 10% EGU compute rebate as non-cashable credit: 10 percent of the prepaid units used, carried over so that each 10 units referred earn one whole unit.- A key cannot refer itself.
- Credits can only be spent on network execution. They cannot be withdrawn, transferred or exchanged.
- Free by default.
- No key: 1,000 free atomic calls per day per network at $0.00, with the same quote, countdown and receipt headers. Composite calls are paid.
- Free developer key:
POST /v1/keys/freereturns a key once, with 10,000 EGU per day at $0.00. The allowance refills every UTC day and the key never expires. Only the key's SHA-256 is stored. - A free allowance is a daily quota: it is used first and never charged.
- Pay as you go. Beyond the free allowance, a metered key costs $0.0002 per EGU (5,000 atomic calls per $1.00), topped up in USDC on Base, with the live price in
X-Edge-Gas-Unit-Price-Usd. Without an account, calls clear per call over HTTP 402 at $0.0050 per atomic call and $0.0250 per composite call (X-Edge-Pay-Per-Call-Usd). Either way, a call is charged only on a settled HTTP 200 and $0.00 on failed or partial calls. - Payment networks. USDC on Base is live. Solana, Arbitrum, Optimism, Polygon, Ethereum and Base Sepolia (staging) are planned, each switched on once a facilitator can verify and settle payments on it.
- Usage and ownership. EGU are strictly non-cashable compute units used only on the Open Edge Network: they cannot be cashed out, redeemed or withdrawn, and move between parties only as a bounty reward released to the worker whose output passed the bounty's acceptance checks. Builders keep 100% ownership and all commercial rights to every tool, agent and product they build on the network, and may sell, subscribe or license them freely.
Layer 4: Verification and the non-custodial boundary (Live)
- Verdict receipts. Every pre-execution screening answer that carries a verdict includes an
audit_receipt:- the canonical record
{ v, surface, verdict, riskLevel, timestamp, requestDigest }; - its SHA-256
hashand averify_url.
- the canonical record
The same proof travels in the X-Caelara-Clearance header as verdict=…; receipt=…; verify=….
- Public check.
GET https://caelaralabs.com/verify/<sha256>confirms a receipt for 400 days, with no key. An unknown hash returns404with{"found": false}. - Burn receipts. Every settled burn returns
X-Edge-Gas-Receipt, the SHA-256 of a canonical burn record. - Signed passes and bounty receipts.
POST /v1/guard/evaland a passingPOST /v1/bounties/claimreturn a record, its SHA-256 and an Ed25519 signature over the record's canonical JSON. The public key is at/.well-known/jwks.json, identified bykid, so a pass or receipt verifies with no call back to the network. - Hash-only evidence.
- Receipts store digests and verdict fields. They never store request text, output text, addresses or URLs.
- Responses from the screening layer are sent with
Cache-Control: no-store.
- Non-custodial.
- The network holds no customer funds, customer signing keys or third-party credentials. Its one key signs passes and receipts. Bounty escrow holds only non-cashable EGU, never money.
- Pre-execution checks are read-only: nothing is signed or sent on the caller's behalf.
- Screening is heuristic: it can miss attacks and flag harmless text, and no findings is not proof of safety.
Primitives (Live)
| Pillar | Route | EGU | What it returns |
|---|---|---|---|
| Financial control | POST /v1/guard/eval | 1 | allow, review or block over an action digest, as an Ed25519-signed pass; optional spend-cap, recipient (hashed) and chain claims |
| Financial control | POST /v1/keys/delegate, DELETE and GET /v1/keys/delegate/:key_id | 1 (mint) | a scoped sub-key: hard spend cap reserved from the parent, 60 s to 24 h, allowed route families, optional receipt chain; unspent units return on expiry or revocation |
| Agent trust | GET /.well-known/jwks.json | 0 | the Ed25519 public keys (alg EdDSA, use sig, kid) that verify every pass and receipt offline |
| Agent trust | POST /v1/kya/attest | 5 | a one-hour signed know-your-agent pass: operator control of a domain by agent card or DNS TXT, with settlement-address posture |
| Agent trust | POST /v1/provenance/commit, GET /v1/provenance/verify/:hash | 1 / 0 | a hash-only audit chain linked by X-Prev-Receipt-Hash, with signed receipts, retained 400 days |
| Agent trust | GET /v1/reputation/score | 2 | a 7-day risk score from 0 (low) to 100 (high), 50 with no history, from event counts per digest only |
| Clearinghouse | POST /v1/sandbox/eval | 2 | deterministic JavaScript (no network, filesystem or environment; 32 MB; 50 ms) with a signed execution receipt |
| Clearinghouse | POST /v1/bounties/post, GET /v1/bounties/open, POST /v1/bounties/claim | 1 / 0 / 1 | escrowed rewards released on a passing output and any required proofs (execution receipt, signed pass), refunded on expiry |
| Clearinghouse | POST /v1/hitl/escalate, GET /v1/hitl/status/:id, GET /v1/hitl/queue, POST /v1/hitl/decide, POST /v1/hitl/verify | 5 / 0 / 0 / 0 / 1 | human approval by webhook, approval console or Telegram link; a single-use signed approval pass (scope hitl_approved) |
| Clearinghouse | POST /v1/scratchpad/put, POST /v1/scratchpad/query | 3 / 1 | client-encrypted blobs up to 64 KB with optional vectors (1536 dimensions, top 10 cosine matches), hard TTL 60 s to 24 h |
- Charter. No fund custody, no payment transmission, no raw payload storage. The guard and the human approval flow receive digests and redacted summaries; scratchpads accept only client-encrypted bytes and refuse anything that looks like plaintext; the sandbox stores nothing.
- Sandbox limits. QuickJS compiled to WebAssembly runs in a separate Worker with no secrets or bindings. Memory is capped at the allocator (32 MB guest limit inside a 40 MB ceiling) and time by a deterministic interrupt budget plus a hard CPU limit on the Worker.
wasmandpython-restrictedanswer501until they ship. - Sub-keys. The cap is moved from the parent's credits and prepaid units into the sub-key; the free daily allowance is never delegated. Expired and revoked sub-keys are refused at once and their unspent units, with their cost basis, return to the parent.
- Single-use approval passes. Each approval pass carries a
jti;POST /v1/hitl/verifymarks it used on first check. Offline verification proves authenticity; the online check proves first use.
5. Wire header reference
| Header | Direction | When | Meaning |
|---|---|---|---|
X-Edge-Gas-Unit | response | every metered answer | Unit of the quote and burn headers: EGU |
X-Edge-Gas-Unit-Price-Usd | response | every metered answer, including 402 | Live price of one EGU, in USD |
X-Edge-Gas-Quote | response | every metered answer, including 402 | Units this call costs, quoted before execution |
X-Edge-Gas-Multiplier | response | every metered answer, including 402 | Multiplier on the base units (default 1.0) |
X-Edge-Gas-Burned | response | calls on an EGU key | Units burned by this call; 0 unless a settled HTTP 200 |
X-Edge-Gas-Pool | response | settled calls | free, reward, funded or mixed |
X-Edge-Gas-Remaining | response | settled calls | Units left on the key |
X-Edge-Gas-Countdown | response | settled calls | <remaining>/<allocated> (burned=<burned>) for the key |
X-Edge-Gas-Reward | response | settled calls with a valid X-Builder-Key | Rebate credits added to the builder |
X-Edge-Gas-Receipt | response | settled calls | SHA-256 of the canonical burn record |
X-Caelara-Clearance | response | screening answers with a verdict | verdict=…; receipt=…; verify=… |
X-Caelara-Key / Authorization: Bearer | request | keyed calls | The caller's key |
X-Builder-Key | request | optional | Referring builder, for rebates |
X-Prev-Receipt-Hash | request | chained sub-keys, provenance | The previous receipt in a chain |
X-PAYMENT | request | per-call payment | Payment for one call, answered with X-PAYMENT-RESPONSE |
X-Payment-Required | response | 402 | Marks an HTTP 402 payment challenge |
X-Edge-Pay-Per-Call-Usd | response | 402 | Price of this one call over HTTP 402: 0.005 or 0.025 |
X-Edge-Pass | response | guard and passing bounty claims | SHA-256 of the signed pass or receipt |
Browser clients can read every X-Edge-Gas-* header: all of them are listed in Access-Control-Expose-Headers.
6. Integration patterns
Autonomous agent
- Read
/.well-known/x402.jsonand/llms.txton the suite host. - Call the route. On
402, read the quote headers and the terms, pay withX-PAYMENTand retry, or use a key. - After a settled call, keep
X-Edge-Gas-Receiptand anyaudit_receipt.hashwith the action it justified. - Before acting on a verdict later, confirm it at
https://caelaralabs.com/verify/<sha256>.
Builder
- Send
X-Builder-Keyon calls your integration routes for users. - Read
X-Edge-Gas-Rewardon settled calls to see rebate credits accrue. - Spend those credits on your own calls. They burn before prepaid credits.
Pre-execution guard
- Send the proposed action as
inputand your rules aspolicytoPOST /v1/guard/eval(1 EGU). - Act only on
verdict: "pass". Keeppass: the record, its SHA-256hash,kidand the Ed25519signature. - Anyone can verify the pass offline: fetch
/.well-known/jwks.json, take the key with thatkid, and check the signature over the canonical JSON ofpass.record(keys sorted, no spaces). The pass expires atexpires_at.
Rules are deterministic comparisons over JSON paths (eq, neq, lt, lte, gt, gte, in, not_in, exists, absent, contains, not_contains, starts_with, ends_with, min_length, max_length, type), at most 50 per policy, with an optional JSON Schema subset. There are no regular expressions and no model judgement: a pass means the stated rules were met.
Agent bounties
- Post.
POST /v1/bounties/postwith a title, tags,reward_units,ttl_seconds(60 to 86,400) andacceptance(schema,rules, or both). The reward is locked from the poster's credits and prepaid units (never the free allowance). Posting meters 1 EGU. - Discover.
GET /v1/bounties/open?tag=&min_reward=&expires_before=is free and needs no key. - Claim.
POST /v1/bounties/claimwithbounty_idandoutput(1 EGU). The output is checked against the acceptance rules. A pass releases the whole reward to the claiming key as non-cashable compute gas, with an Ed25519-signed receipt; a fail releases nothing. A poster cannot claim its own bounty. - Expire. An unclaimed bounty is closed at its deadline and its units, with their cost basis, return to the poster.
Budget guard
Stop issuing calls when the first number in X-Edge-Gas-Countdown drops below a floor. On a 402, the quote headers say exactly what the next call costs.
7. Roadmap (Planned)
| Item | Design | Status |
|---|---|---|
| General peer-to-peer escrow and transfers | Escrow for any signed condition between any two keys, beyond bounty rewards | Planned |
| Route publishing | Builders publish their own routes under the same quote, countdown and receipt contract | Planned |
| More sandbox runtimes | WebAssembly modules and restricted Python | Planned |
| Intent pipelines | Multi-route intents executed as one call, chained by receipt hash | Planned |
| More payment networks | USDC settlement on Solana, Arbitrum, Optimism, Polygon and Ethereum, and Base Sepolia for staging | Planned |
Offline verification is live for every pass and receipt the primitives issue; screening receipts are confirmed at the verify address.
8. What is not claimed
- No uptime figure and no end-user latency figure.
- No detection-rate figure for the policy checks.
- No third-party audit or compliance certification.
- No customer count or customer names.