← all projects

Trapeza

@m0ughite·Moughite El Joaydi·7 followers·added 2026-07-19
0
stars
17k
lines
184
files
1
forks
7
followers
languages
TypeScript 90%Python 5%JavaScript 3%Shell 1%Solidity 1%

Trapeza is a calibration-aware clearinghouse for agent-to-agent nanopayment networks. Instead of routing each task greedily, it takes a whole task DAG with a global budget and deadline and computes one joint allocation across every node, built as a TypeScript monorepo with a chain-agnostic @trapeza/core and a @trapeza/clearinghouse package backed by a Python OR-Tools CP-SAT service in solver/. Providers carry Beta-Binomial posteriors scored on realized outcomes, so advertised success rates are treated as priors rather than allocation signals, and a State-Twins Monte-Carlo preflight rejects plans that are fragile in the tail. Settlement runs through packages/adapter-gateway for x402/Circle Gateway USDC payments and packages/adapter-arc for ERC-8004 identity and reputation on Arc. A Vite/React dashboard in apps/dashboard replays six deterministic real-engine scenarios, including clearing, calibration, and risk views.

events
tags
circle components
builder bio

Security Engineer & Researcher / Financial engineering aficionado.

team · 2 builders

2 — - Moughite El Joaydi - Samad El Joaydi

on xx/m0ughite
repo description

A clearinghouse for agent-to-agent networks

last pushed 2026-07-13