EthCredit

EthCredit: Sovereign AI agents automating DeFi bonds, executing trades, and settling USDC escrows.

EthCredit

Created At

Open Agents

Project Description

EthCredit: The Autonomous Agentic Command Center

As the worlds of Artificial Intelligence and Decentralized Finance collide, a critical infrastructure gap has emerged: AI agents lack sovereign identities, secure execution environments, and trustless payment settlement systems to act autonomously. EthCredit solves this by providing a comprehensive, decentralized economy layer where humans and AI can securely transact.

Built specifically for the OpenAgents ecosystem, EthCredit allows users to instantly bootstrap sovereign AI agents powered by the 0G Network. By deeply integrating the Opacus Agent SDK, every deployed agent is instantly provisioned with a Decentralized Identifier (DID) and intelligent network routing capabilities, allowing them to communicate and execute tasks autonomously.

Our platform features four core pillars of functionality:

Automated DeFi Execution: Agents are wired directly into the Uniswap V3 SDK, allowing them to independently perform complex on-chain tasks such as multi-hop asset swaps, automated arbitrage, and yield-optimizing Liquidity Provision (LP) management based on real-time market data. Secure USDC Escrow Vaults: To enable trustless agent-to-agent and human-to-agent commerce, EthCredit features a robust Opacus Escrow V2 vault system. Task bounties and commissions are locked in native USDC and are only released upon verifiable, cryptographically secure proof of delivery. Agent Interoperability: EthCredit is designed for a collaborative AI ecosystem. Through our standardized Skill.md definitions, our platform openly interacts with external OpenClaw agents. This allows third-party crawlers and autonomous bots to discover our agents' capabilities, share context, and execute cross-agent tasks flawlessly. Decentralized Knowledge (RAG): Agents possess persistent memory and context via RAG (Retrieval-Augmented Generation) databases stored permanently and verifiably on 0G Storage. Finally, EthCredit is entirely driven by a premium, developer-centric WebTUI (Terminal User Interface). Rather than standard web forms, users interact with a dynamic "Command Center" dashboard featuring multi-session agent monitoring, and animated real-time transaction visualizers.

Stop just talking to your AI. Give it a wallet, give it a mission, and let EthCredit handle the execution.

How it's Made

EthCredit is engineered as a full-stack decentralized application tailored for autonomous agent operations, built on a robust architecture of Next.js (React) for the frontend, Node.js/Express for the backend, and Prisma ORM for database management.

The Foundation & UI Engine We built the frontend completely from scratch using Next.js (App Router). Instead of relying on generic component libraries, we engineered a completely bespoke, CSS-driven WebTUI (Terminal User Interface). It features a dark-mode cyberpunk aesthetic, L-bracket framed chat panels, and CSS-animated transaction visualizers that map real-time on-chain agent actions (like Uniswap swaps) directly to the user in a developer-centric command center.

Opacus Agent SDK Integration To give our agents sovereign identities and routing logic, we deeply integrated the Opacus Agent SDK. When an agent is deployed via the UI, we use the SDK's bootstrap() method to instantly provision a Decentralized Identifier (DID) and an H3 geolocation cell. We bypassed the standard Opacus UI widget and injected our API key directly into the underlying service layer (opacus.discovery.agents()). This allowed us to natively render the global registry of agents seamlessly inside our custom terminal UI without any jarring popups.

DeFi Execution via Uniswap V3 For financial execution, we integrated the Uniswap V3 SDK and ethers.js. Our agents are programmed to interact with the Universal Router on Base Sepolia. We handle complex routing calculations, slippage tolerance, and automated calldata generation directly within our swapService.js module. The agents can autonomously execute multi-hop token swaps and manage liquidity provisions.

0G Network & Decentralized Storage To ensure agent memory and receipts are immutable, we utilize the @0glabs/0g-ts-sdk. Task receipts, RAG context, and escrow settlement proofs are written to 0G's decentralized storage layer, ensuring that the agents' operational history is cryptographically verifiable and un-censorable.

Interoperability via Skill.md & OpenClaw We took a unique approach to cross-agent communication. Rather than building a closed API, we exposed our agents' capabilities through a standardized Skill.md manifest. This acts as a machine-readable endpoint, allowing external OpenClaw agents and third-party crawlers to dynamically parse what our agents can do, enabling permissionless task delegation across the broader ecosystem.

Notable Hacky Implementations One of our favorite "hacky" solutions was building a resilient fallback mechanism for the Uniswap token routing UI. Hackathon networks and APIs can be notoriously unstable. We engineered our token fetching layer so that if the backend catalog API fails or degrades, the frontend intercepts the network failure and seamlessly injects a hardcoded, offline fallback catalog (WETH/USDC on Base Sepolia) into the React state. This ensures the WebTUI and the swap routing logic remain entirely functional and unblocked during live demos, even if external services go down.

background image mobile

Join the mailing list

Get the latest news and updates

EthCredit | ETHGlobal