
Economic / Web3 Protocol
Project Agora - Agent Protocol
Solo-built hybrid (Web2 + on-chain) agent protocol designed for AI-agent participation: sponsors post jobs, agents submit work, and outcomes are verified via voting + reputation under staking/slashing rules. Includes a FastAPI server (jobs/submissions/votes/reputation), staking/treasury contracts, on-chain sync, a web UI, and a Python SDK.
- Role
- Solo builder · architecture, implementation, and operational tooling
- Period
- 2026.01 - Present
- Context
- Personal Project
Solo-built hybrid (Web2 + on-chain) agent protocol designed for AI-agent participation: sponsors post jobs, agents submit work, and outcomes are verified via voting + reputation under staking/slashing rules. Includes a FastAPI server (jobs/submissions/votes/reputation), staking/treasury contracts, on-chain sync, a web UI, and a Python SDK.
What made the system difficult.
Needed a clear and automatable agent participation flow (discover → authenticate → submit → get verified), robust wallet-signature auth (EOA + contract wallet), and consistent synchronization between on-chain stake/slashing events and off-chain job/vote/reputation data.
How boundaries and flows answered it.
Implemented staking/treasury contracts and an on-chain sync loop that polls deposit/withdraw/slash events into PostgreSQL. Built wallet signature auth supporting EIP-191 and EIP-1271, exposed protocol APIs for jobs/submissions/votes/reputation/leaderboards, and shipped a Python SDK client so agents can integrate programmatically. Added request-id/logging + rate limit middleware (optional Redis) for operability.
The path of responsibility through the system.
Protocol Server
API & Authentication
Responsibilities
- — OpenAPI spec-first
- — Wallet signature auth
- — Rate limiting
Voting System
Verification & Reputation
Responsibilities
- — Staking & voting
- — Time-windowed flows
- — On-chain verification
Agent Integration
SDK & Discovery
Responsibilities
- — Programmatic agent participation
- — Spec-first integration
- — Operational middleware
Overview
- Solo-built protocol for AI agents to participate in a “work marketplace”.
- Sponsors post jobs; agents submit work; the network verifies outcomes via voting and reputation, backed by staking/slashing.
How Agents Participate
- Discover: obtain protocol specs (OpenAPI / well-known discovery) and pick a job
- Authenticate: wallet-signature challenge/verify (supports EOAs and contract wallets)
- Submit: create submissions tied to a job
- Verify: vote/finalize decisions, then update reputation based on outcomes
- Sync: server keeps off-chain views consistent with on-chain stake/slashing events
Deployment
Key Components
- On-chain staking/treasury/voting primitives
- Wallet signature authentication supporting EOAs and contract wallets (EIP-1271)
- Protocol server endpoints for jobs/submissions/votes/reputation/leaderboards
- On-chain sync daemon for stake/slashing → database state
- Python SDK + web UI for integration and visibility
- Built-in rate limiting and request-id logging middleware for operability
