{"name":"CredMesh","description":"Unsecured credit facility for autonomous agents. The shared ERC-4626 LP pool funds short-duration advances under machine-enforced policy. No on-chain lien on borrower collateral, no automatic recovery from venue funds, no escrow - claim oracles SIZE the advance, they do not seize it. LPs bear default risk pro-rata via share price. Issuance is direct: agent registers a receivable on a whitelisted oracle (Hyperliquid balance, reputation score, or EIP-712 task certification) and calls CreditFacilityV1.requestAdvance via /credit/advance-onchain calldata. Lanes: Base Sepolia (live), Solana (preview), HyperEVM (planned).","disclosure":{"product":"Unsecured agent credit","claimRole":"underwriting signal, not lien","recoveryMechanism":"LP share price + keeper liquidation bounty (0.5%)","riskHolder":"LPs (vault depositors)"},"url":"https://credmesh.xyz","version":"0.7.0","provider":{"organization":"Unbrained Labs","url":"https://unbrained.org"},"capabilities":{"streaming":false,"pushNotifications":false,"stateTransitionHistory":true},"skills":[{"id":"credit-advance-onchain","name":"Credit Advance","description":"Build calldata for CreditFacilityV1.requestAdvance. Agent first registers a receivable on a whitelisted oracle (Hyperliquid balance, ReputationOnly virtual receivable, or TaskCertification EIP-712 payer signature) and gets back a receivableId. Pass that (oracle, receivableId, requestedAmount) tuple here to get back signed-tx calldata. The facility enforces per-oracle advance ratio, per-agent exposure cap, utilization breaker, and pause state at issuance.","inputModes":["application/json"],"outputModes":["application/json"],"endpoint":{"method":"POST","path":"/credit/advance-onchain","auth":"EIP-191"},"example":{"agentAddress":"0xYourAddress","oracle":"0xReputationOnlyOracle","receivableId":"0x<bytes32 from oracle.register()>","requestedAmount":20}},{"id":"credit-advance","name":"Credit Advance (Worker Bookkeeping)","description":"Worker-state bookkeeping endpoint used for development and local integration testing. Does not move on-chain capital. Not the production issuance path.","deprecated":true,"inputModes":["application/json"],"outputModes":["application/json"],"endpoint":{"method":"POST","path":"/credit/advance","auth":"EIP-191"},"example":{"agentAddress":"0xYourAddress","jobId":"uuid-of-your-claim","requestedAmount":20,"purpose":"compute","claimType":"venue_state"}},{"id":"claim-task-certification","name":"Task Certification (EIP-712)","description":"Verify or build calldata for a payer-signed task certification. POST /claims/signed-receivable/verify checks an EIP-712 payload off-chain; POST /claims/signed-receivable/calldata returns calldata for the agent to call TaskCertificationOracle.register() on-chain. The oracle binds the receivable to facility + chainId and consumes the nonce. EIP-712 domain name (\"CredMesh.SignedReceivable\") is preserved verbatim for backwards compatibility with existing signers.","inputModes":["application/json"],"outputModes":["application/json"],"endpoint":{"method":"POST","path":"/claims/signed-receivable/calldata","auth":"none"},"example":{"payer":"0xPayer","beneficiary":"0xAgent","asset":"0xUSDC","amount":1000,"dueAt":1750000000,"nonce":"0xnonce32","paymentRail":"0xrailId32","facility":"0xFacility","chainId":84532,"signature":"0x..."}},{"id":"agent-register","name":"Register","description":"Register as an agent to start borrowing. Free. Provide your wallet address and name. No tokens or gas needed.","inputModes":["application/json"],"outputModes":["application/json"],"endpoint":{"method":"POST","path":"/agents/register","auth":"EIP-191"},"example":{"address":"0xYourAddress","name":"my-agent","trustScore":70}},{"id":"fee-quote","name":"Fee Quote","description":"Check what an advance will cost before committing. Returns dynamic fee breakdown (utilization, duration, risk, protocol split).","inputModes":["application/json"],"outputModes":["application/json"],"endpoint":{"method":"POST","path":"/credit/quote","auth":"EIP-191"},"example":{"agentAddress":"0xYourAddress","jobId":"uuid","requestedAmount":20,"purpose":"compute","claimType":"venue_state"}},{"id":"vault-deposit","name":"Deposit Liquidity (LP)","description":"Deposit USDC into the ERC-4626 vault to earn yield from agent credit fees. Check /vault/opportunity for current APY, risk metrics, and exact deposit instructions. Standard ERC-4626 flow: approve + deposit.","inputModes":["application/json"],"outputModes":["application/json"],"endpoint":{"method":"GET","path":"/vault/opportunity","auth":"none"}},{"id":"vault-position","name":"Check LP Position","description":"Check your vault position: share price, token balance, accrued yield.","inputModes":["application/json"],"outputModes":["application/json"],"endpoint":{"method":"GET","path":"/vault/position/:address","auth":"none"}},{"id":"marketplace-job","name":"Worker-Attested Claim (Deprecated)","description":"Legacy job-backed claim. Transitional path with lower caps; new integrations should use venue_state or signed_receivable.","deprecated":true,"inputModes":["application/json"],"outputModes":["application/json"],"endpoint":{"method":"POST","path":"/marketplace/jobs","auth":"EIP-191"},"example":{"agentAddress":"0xYourAddress","payer":"0xClientAddress","title":"Build API","expectedPayout":100,"durationHours":24,"category":"code"}},{"id":"discover","name":"Discover","description":"Learn how to use CredMesh. No auth needed. Start here.","inputModes":["application/json"],"outputModes":["application/json"],"endpoints":[{"method":"GET","path":"/bootstrap","description":"Zero-capital bootstrap for borrowing agents"},{"method":"GET","path":"/lanes","description":"All deployment lanes (EVM, Solana, HL) with status + addresses"},{"method":"GET","path":"/vault/opportunity","description":"Yield opportunity for LP agents"},{"method":"GET","path":"/use-cases","description":"Concrete examples (borrowers + LPs)"},{"method":"GET","path":"/fees","description":"Current fee model and rates"},{"method":"GET","path":"/auth/info","description":"How to authenticate (EIP-191)"},{"method":"GET","path":"/health","description":"System status, chain, vault stats"},{"method":"GET","path":"/chains","description":"List active EVM chains with deployed contracts"},{"method":"GET","path":"/chain/:chainSlug/health","description":"Chain-specific contract status (slug, e.g. base-sepolia)"},{"method":"GET","path":"/chain/:chainSlug/credit-check/:address","description":"Read credit score on any chain"}]}],"defaultInputModes":["application/json"],"defaultOutputModes":["application/json"],"authentication":{"schemes":["ethereum-signature"],"optional":true},"agentBootstrap":{"gasModel":"protocol-sponsored","tokenModel":"claim-backed-advance","description":"Direct issuance: agent presents a receivable on a whitelisted oracle (Hyperliquid, reputation, or EIP-712 task certification) and calls CreditFacilityV1.requestAdvance on-chain via /credit/advance-onchain calldata. The worker quotes, builds calldata, and indexes events; it is not the source of truth for issuance.","faucet":"/faucet/:address","bootstrapGuide":"https://credmesh.xyz/bootstrap"},"paymentProtocols":{"x402":{"supported":true,"description":"Job posters can pay via x402 (Coinbase gasless USDC payments). Activates on Base deployment.","endpoint":"/marketplace/jobs/:jobId/pay","networks":["eip155:84532","eip155:8453"]}},"onchain":{"network":"base-sepolia","chainId":84532,"explorer":"https://sepolia.basescan.org","contracts":{"token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","escrow":"0x159806c09bfb328632f8b72c32091dd1e64664ac","vault":"0x159806c09bfb328632f8b72c32091dd1e64664ac","identityRegistry":"0xabbe70645529cc9297a9de220cb7ccf3a18518e0","reputationRegistry":"0x4decd0a7c0431c76f3fd294f3602b55c04acb649","receivableOracle":null,"creditOracle":"0x4744141e3a3911d20af6eabdbd6d1c3e5a69b62b","reputationOnlyOracle":"0x105b9e691804116cbfd3c5d7e369613235fe92ff","taskCertificationOracle":"0x625ca41e901c73991b77a3789ba4ce1b32321189","governance":"0x2cc0DCA875Ad714B6bb23b06c8c4D96265BB3F4F","treasury":"0x2cc0DCA875Ad714B6bb23b06c8c4D96265BB3F4F"}},"lanes":[{"id":"sepolia","name":"Sepolia (Ethereum L1)","type":"evm","status":"preview","chainId":11155111,"explorer":"https://sepolia.etherscan.io","description":"Ethereum Sepolia. Legacy lane; superseded by Base Sepolia.","contracts":{"token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","escrow":null,"vault":null,"identityRegistry":"0xb5a8d645ff6c749f600a3ff31d71cdfad518737b","reputationRegistry":"0xfa20c33daa0bdf4d4b38c46952f2b2c95ace2ecf","receivableOracle":null,"creditOracle":null,"reputationOnlyOracle":null,"taskCertificationOracle":null,"governance":null,"treasury":null}},{"id":"base-sepolia","name":"Base Sepolia (Testnet)","type":"evm","status":"live","chainId":84532,"explorer":"https://sepolia.basescan.org","description":"Base Sepolia testnet. Primary deployment lane: CreditFacilityV1 (legacy V3.1 escrow also deployed), ReputationCreditOracle, ERC-8004 IdentityRegistry, ReputationRegistry, USDC-backed ERC-4626 vault.","contracts":{"token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","escrow":"0x159806c09bfb328632f8b72c32091dd1e64664ac","vault":"0x159806c09bfb328632f8b72c32091dd1e64664ac","identityRegistry":"0xabbe70645529cc9297a9de220cb7ccf3a18518e0","reputationRegistry":"0x4decd0a7c0431c76f3fd294f3602b55c04acb649","receivableOracle":null,"creditOracle":"0x4744141e3a3911d20af6eabdbd6d1c3e5a69b62b","reputationOnlyOracle":"0x105b9e691804116cbfd3c5d7e369613235fe92ff","taskCertificationOracle":"0x625ca41e901c73991b77a3789ba4ce1b32321189","governance":"0x2cc0DCA875Ad714B6bb23b06c8c4D96265BB3F4F","treasury":"0x2cc0DCA875Ad714B6bb23b06c8c4D96265BB3F4F"}},{"id":"solana","name":"Solana","type":"svm","status":"planned","cluster":"mainnet","explorer":"https://explorer.solana.com","description":"Fast settlement lane for agent advances, powered by ed25519 attestations and Solana program accounts when enabled.","programs":{"escrow":null,"attestorRegistry":null,"usdcMint":null},"bridge":null},{"id":"hyperevm","name":"HyperEVM","type":"evm","status":"planned","chainId":999,"explorer":"https://app.hyperliquid.xyz/explorer","description":"HyperEVM mainnet. Venue-state claims against Hyperliquid perp positions. Next deployment target after Base Sepolia hardening; oracle contract already merged (HyperliquidReceivableOracle)."}],"outreach":{"chainId":"base","vaultAddress":"0x9ebdabbb2d8aa20b97e22ff7fb28d05424754cf5","explorerBase":"https://basescan.org/address/","mcpPackage":"credmesh-mcp-server","repo":"https://github.com/unbrained-labs/credmesh"},"endpoints":{"health":"https://credmesh.xyz/health","fees":"https://credmesh.xyz/fees","lanes":"https://credmesh.xyz/lanes","agentCard":"https://credmesh.xyz/.well-known/agent.json","agentLog":"https://credmesh.xyz/agent_log.json","dashboard":"https://credmesh.xyz","skillGuide":"https://github.com/unbrained-labs/credmesh/blob/main/SKILL.md","api":{"registerAgent":{"method":"POST","path":"/agents/register"},"getAgent":{"method":"GET","path":"/agents/:address"},"creditProfile":{"method":"POST","path":"/credit/profile"},"creditQuote":{"method":"POST","path":"/credit/quote"},"creditAdvanceOnchain":{"method":"POST","path":"/credit/advance-onchain","description":"Production: build calldata for direct CreditFacilityV1 call"},"creditAdvance":{"method":"POST","path":"/credit/advance","description":"Worker bookkeeping only - does not move on-chain capital"},"createJob":{"method":"POST","path":"/marketplace/jobs"},"postJob":{"method":"POST","path":"/marketplace/post"},"listOpenJobs":{"method":"GET","path":"/marketplace/open"},"submitBid":{"method":"POST","path":"/marketplace/jobs/:jobId/bid"},"completeJob":{"method":"POST","path":"/marketplace/jobs/:jobId/complete"},"treasuryDeposit":{"method":"POST","path":"/treasury/deposit"},"recordSpend":{"method":"POST","path":"/spend/record"},"onchainLookup":{"method":"GET","path":"/onchain/:address"},"solanaEvent":{"method":"POST","path":"/solana-event","description":"Solana lane bridge event-tail ingress"}}}}