About
DeComp is a GPU compute market for AI agents. Providers sell time on their Apple-silicon Macs; agents rent it and pay per five seconds of measured GPU time, using x402 over HTTP and settling every payment on Hedera through the Blocky402 facilitator.
The problem. An AI agent that needs a GPU today has to sign up for a cloud account, hold a credit card, and rent by the hour. Meanwhile there are a lot of idle Apple-silicon Macs with capable GPUs and no way to sell five seconds of that time to a machine that only needs five seconds. Neither side can transact without a human in the loop.
How a job works. The agent reads an HCS topic where providers have published their prices, and picks the cheapest one that offers the job type. It calls POST /jobs and gets back HTTP 402 with an x402 PAYMENT-REQUIRED challenge: the exact scheme on hedera:testnet, one tick's price, the provider's payTo account, and the facilitator's fee-payer account. The agent builds a Hedera TransferTransaction, signs it, and retries. The provider verifies the payment, starts the job on its GPU, settles through Blocky402, and answers 202 with the job id and the settlement transaction id. While the job runs, each new 5-second tick is a fresh 402 challenge — payment streams alongside the compute, and the provider kills any job whose measured runtime passes its paid time plus a 5-second grace. Stop paying, and compute stops. When the job ends, the agent confirms every settlement on the mirror node and publishes an audit record to a second HCS topic.
No private keys exist in this system. Every account — agent, providers, operator, and every connector user — is a Privy wallet plus the Hedera account it keys. Privy has no Hedera chain type, so these are secp256k1 wallets used as raw signers: a Hedera ECDSA signature is plain secp256k1 over the keccak256 digest of a transaction body, which Privy's raw_sign produces directly (normalized to low-s, which Hedera requires). .env holds no Hedera key material at all. Every component consumes one HederaIdentity interface — an account plus a signer — so the same agent, provider, and payment-gate code runs unchanged whether the identity comes from a fixed role, an OAuth-authenticated person, or a self-custodial wallet in a desktop app.
What's in the repo:
- Agent (apps/agent) — CLI and library: HCS discovery, cheapest-first routing with fallback, tick payments, mirror-node confirmation, audit publishing. - Provider (apps/provider) — Bun server: the x402 gate, per-GPU-second pricing, a metered job queue, HCS self-registration on boot. - Job runner (services/job-runner) — FastAPI sidecar running a fixed job menu (a matmul benchmark, a Mandelbrot render) on MLX or PyTorch MPS as killable subprocesses, metered by wall clock. It refuses to run on CPU. - Claude connector (apps/connector) — a remote MCP server behind its own OAuth 2.1 authorization server. Add DeComp as a custom connector in Claude, sign in once with Privy, and run paid GPU jobs by chatting — no terminal, no key. - Provider bridge (apps/bridge) — a WebSocket relay so a provider behind NAT is reachable with no public IP, domain, or tunnel. It holds no keys and trusts nothing but a connect-time signature checked against the mirror node. - Decomp Node (apps/provider-node) — a macOS desktop app (Electron + React, ships as a .dmg). Log in, and it provisions your Hedera account, starts the GPU runner and provider, publishes your listing, and shows earnings and job history.
Hedera is used for four distinct things: HBAR and HTS transfers for settlement; an HCS registry topic for provider discovery and pricing; an HCS audit topic for per-job records; and the mirror node for confirmation and for verifying payer keys. Jobs can be paid in HBAR or in DCC, an HTS compute-credit token. A standalone script (bun run audit:reconstruct) rebuilds every provider's earnings from HCS and the mirror node alone, with no agent code involved — so the audit trail is checkable by anyone against the chain.
Status. Live on Hedera testnet with four validation gates that run against the real network: paid jobs end to end, discovery and fallback, metered ticks with billing matching measured time, and a job paid entirely in DCC with its audit record reconstructed from chain data.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






