返回共学列表

Trustless Agents (ERC-8004)

已结束
A2AAI AgentsAP2AgentEconomyDecentralizedAIERC-8004Trustless Agentsx402

An Intensive CoLearning program for AI agent developers to explore the core tech stack behind Decentralized and Trustless Agents — including ERC-8004, A2A, AP2, and x402. Through self check-ins, workshops, and example projects, participants will master the framework for next-generation agent collaboration and value exchange.

Phase 1 of **“Let’s Build Trustless Agents”**, co-hosted by LXDAO and ETHPanda, with special support from the EF dAI team. Community -> https://t.me/ERC8004

发起人brucexu-eth
报名时间

2025年10月5日 - 2025年10月14日

共学时间

2025年10月15日 - 2025年10月28日,2 周

请假规则

每周 2

面向人群
  • AI Agent & Ethereum Developers: Expanding Ethereum’s capabilities into decentralized AI.
  • AI/ML Engineers & Researchers: Building trustless, verifiable, and autonomous AI agents.
  • Web3 PMs: Exploring next-gen AI × ETH dApps and A2A architectures.
  • AI Startups: Share projects and insights with the community and foundations — and connect with peers.
  • Motivated Learners: Dive into the frontier of AI × ETH.

共学内容 / 课程信息

Recommended 14 days learning plans: https://lxdao.notion.site/Trustless-Agents-CoLearning-14-daily-learning-plans-28cdceffe40b807590bfdbf7ccd356ae

Module 1: The Trust Foundation — ERC-8004 Identity & Reputation Layer

  • In-depth analysis of the ERC-8004 standard: Identity Registry, Reputation Registry, and Verification Registry.
  • Hands-on: Create an on-chain identity for your agent and implement a simple off-chain reputation feedback mechanism.

Resources:

Module 2: The Collaboration Language — A2A Architecture & AP2 Protocol

  • Master how agents autonomously discover and communicate via the Agent-to-Agent (A2A) architecture.
  • Decode the AP2 protocol: Understand agent descriptor files, capability declarations, and interaction flows.
  • Hands-on: Enable your agent to discover other agents and initiate collaboration requests.

Resources:

Module 3: The Value Engine — x402 Payment Protocol

  • Dissect how the x402 protocol utilizes the HTTP 402 status code to enable "gasless" micro-payments.
  • Integrate EIP-3009 to achieve automated settlement for agent services and resource access control.
  • Hands-on: Integrate x402 payment functionality into your agent service, enabling "pay-per-call".

Resources:

Module 4: Capstone Project — Building an Autonomous Agent

  • Integrate knowledge from the first three modules to build a full-lifecycle Trustless Agent.
  • Implement the full automated workflow: from identity registration and reputation accumulation to autonomous collaboration and service settlement.
  • Project Demo & Code Review: share your project with the community and get feedback.

Some Project Examples:

ERC-8004 Trustless Agents Example https://github.com/vistara-apps/erc-8004-example.

Arena SDK with 8004 identities + A2A + ChaosChain integration for receipt logged on-chain and payment released on verification. https://github.com/vistara-apps/agent-arena-v1

Welcome to propose more ideas and examples!

---

🎯 Learning Challenges & Discussion Questions

Challenge 1: On-Chain vs Off-Chain Data

Question: The community debates how much data to put on-chain. If you had to choose between "events only" vs "minimal view functions" vs "full on-chain indexing," which would you pick and why?

Challenge 2: Agent Identity System

Question: Should ERC-8004 use domains, URLs, ENS, or DIDs for agent identity? What are the trade-offs of each approach?

Challenge 3: Reputation Design

Question: How would you design a reputation system that avoids a single score but still provides useful information for users? Who is eligible to initiate an evaluation?

Challenge 4: Verification Methods

Question: Which verification approach would you trust more: TEE proofs, ZK proofs, or sampling/reexecution? Why?

Challenge 5: Economic Incentives

Question: Should ERC-8004 include payment mechanisms in the core standard, or keep them as external extensions?

Challenge 6: Limited Supply

Question: Should ERC-8004 have a limited supply of agents? Unlimited supply is great for discoverability, but it doesn't allow for creativity and differentiation.

Resources:

Welcome to add more challenges and questions!

---

Coding Challenge: Interacting with an Agent on the testnet

Objective Register an agent on the testnet and verify it.

Build

Coding Challenge: Trustless Agent “Hello World”

Objective Ship a minimal, runnable demo that proves identity, discovery, deterministic service, third-party validation, and optional tokenized pay-per-call.

Build

  • Three agents:
  • Server provides a simple deterministic service over an input.
  • Validator independently recomputes and records a pass/fail outcome.
  • Client discovers the Server, invokes it, requests validation, then prints final status.
  • Two tiny registries:
  • Identity links agent identifiers to JSON descriptors (name, version, tags, endpoints, optional price).
  • Verification stores validation outcomes tied to a service receipt.
  • JSON descriptors for all agents.

Flow

  1. Start a local chain.
  2. Deploy registries and agents.
  3. Register Server and Validator with descriptor URLs.
  4. Client discovers Server by identifier or tag.
  5. Client calls Server and receives a deterministic result plus a receipt reference.
  6. Client asks Validator to verify; Validator records the outcome.
  7. Client prints STATUS: VERIFIED or FAILED.

Acceptance

  • Visible agent addresses, identifiers, and descriptor URLs.
  • Identity entries exist.
  • A receipt reference is produced.
  • A verification record indicates success.
  • Final console line shows STATUS: VERIFIED.

Optional

  • Token pay-per-call.
  • Tag-based discovery.
  • Simple reputation counter on successful validations.

---

🎮TESTNET and reference code

8004 singletons are available on Testnet, so you can start building on it. Clap to Leonard @lentan & all the 8004 contributors for making this happen 🙏👏

Source code: https://github.com/erc-8004/erc-8004-contracts

Sepolia

Read the source code and please 🚨test the contracts. We need your feedback🫶 to improve them and prepare for the mainnet release!

Contracts on the testnet are subject to change/update, and the contract keys are directly owned by the 8004 team. If you need the contracts on other testnets/chains, just reach out to @lentan so we can coordinate with the blockchain maintenance teams and publish the addresses here and in the ERC-8004 repo.

🚀PRODUCTION

We plan to release on Mainnet by the end of Oct. Ideally, we want to deploy the singletons on *every* L2 where developers are interested in building. We are also excited about deploying on other EVM-compatible L1s and, potentially, on non-EVM ecosystems.

Production proxy contract governance will be shared by multiple parties (multi-sig) and *not controlled by the 8004 team*. Please coordinate with Davide Crapis [email protected] on this topic.

TOOLING (Community curated)

JS SDKs https://github.com/ChaosChain/chaoschain/tree/main/packages/sdk (thanks @sumeetchougule and ChaosChain!) https://github.com/tetratorus/erc-8004-js

Python SDKs https://github.com/tetratorus/erc-8004-py https://pypi.org/project/chaoschain-sdk/

More SDKs and structured docs coming VERY soon.

---

Sponsors

  • Unibase: The first high-performance decentralized Ai memory layer - empowering Al agents with long-term memory and interoperability. X (Twitter) | Website
  • SlowMist: A blockchain security firm specializing in smart contract audits, on-chain tracking, and threat intelligence. X (Twitter) | Website

Community Supporters

  • BuidlGuidl: A curated group of Ethereum builders creating products, prototypes, and tutorials to enrich the web3 ecosystem. X (Twitter) | Website

More partners to be announced. For partnership inquiries, reach out on Telegram to Bruce (@brucexu_eth) or Vdel (@Vdel_sys).

Registration and Check-In Rules

Study Rewards

  • The greatest reward is the knowledge you gain — and the chance to meet like-minded builders through their shared notes.
  • Outstanding builders may be invited to demo on stage at Devconnect Trustless Agent Day on Nov 21.
  • More benefits will be announced with partners — stay active and complete your daily check-ins!

Additional Information