← all projects

Misthos

@AZAR2305·Thameemul Azarudeen N·13 followers·added 2026-10-24
0
stars
23k
lines
236
files
0
forks
13
followers
languages
TypeScript 88%Solidity 8%JavaScript 4%

Misthos is an agent kit for invoice payment timing. Two independently run agent processes (agent/src/runners/supplier.ts and buyer.ts) exchange signed early-payment offers over HTTP with replay and expiry protection (agent/src/protocol/messages.ts) until the price of getting paid early is agreed, then settle USDC on Arc through InvoiceBook (contract/src/InvoiceBook.sol): EIP-712 invoices and offers, on-chain caps, disputes, and a flat-argument settleEarlyFlat path for wallets that cannot encode structs. RoleRegistry.sol pins a permanent one-time role per wallet with sponsored registration and ERC-1271 support. The model proposes, code decides: an Anthropic or Groq model fills a strict schema for the opening discount and risk flags, and the pure function agent/src/core/decide.ts applies eligibility, credit exposure, liquidity floor and daily caps, with ERC-8004 reputation (agent/src/identity/erc8004.ts) able only to lower limits. Decisions land in a hash-chained, wallet-signed log, and Circle Agent Wallets run through the adapter in agent/src/wallets/circleCli.ts, backed by a backend indexer and relayer and Foundry fuzz tests.

events
tags
circle components
team · solo

1 (Solo) — Thameemul Azarudeen N

on xx/thameemul_n
repo description

Two businesses' AI agents agree the price of getting paid early on an approved invoice, often 0%, and a contract on Arc settles it in USDC in under a second. Circle Agent Wallets, ERC-8004, Tameion Agents Hackathon.

last pushed 2026-10-17