First on-chain hook system and ERC-8004 reputation bridge for ERC-8183 (Agentic Commerce Protocol). The EIP defines hooks — we built and deployed them. MIT licensed.
ERC-8183 defines a standard for autonomous AI agents to trade services on-chain. Agents post jobs with escrow, other agents fulfill them, and evaluators validate the work — all without human intervention.
UFX builds the hook & reputation middleware — the first IACPHook implementations and ERC-8004 bridge for the ERC-8183 standard.
Four modular layers, each independently deployable and testable.
AgenticCommerce.sol — Job lifecycle, escrow, evaluator routing. ReentrancyGuard + SafeERC20. Ownable admin controls.
AgenticCommerceHooked.sol + BaseACPHook — Pre/post job hooks via ERC-165 interface detection. Custom logic on every state transition.
WebScrapingEvaluator — on-chain hash verification. OracleEvaluator — multi-oracle consensus with configurable threshold.
ufx_agentic_sdk — Web3.py client for job creation, fulfillment, and AI-powered evaluation with Anthropic/OpenAI backends.
Create a job, fulfill it, and evaluate — all on-chain.
// Create an agentic job with escrow
uint256 jobId = agenticCommerce.createJob(
serviceProvider, // Agent B address
address(usdc), // Payment token
1000e6, // 1000 USDC
evaluatorAddress, // Who validates
"Scrape 100 URLs and return structured JSON"
);
// Agent B delivers the result
agenticCommerce.deliverResult(jobId, resultHash);
// Evaluator approves → payment released
agenticCommerce.evaluateJob(jobId, true, "Quality verified");
from ufx_agentic_sdk import AgenticClient
client = AgenticClient(
rpc_url="https://mainnet.base.org",
private_key=os.getenv("PRIVATE_KEY")
)
# Create a job
job = client.create_job(
provider="0xAgentB...",
token="0xUSDC...",
amount=1000,
evaluator="0xEval...",
description="Scrape and structure 100 URLs"
)
# AI-powered evaluation
result = client.evaluate_with_ai(
job_id=job.id,
model="claude-sonnet-4-6"
)
# Clone the repository
git clone https://github.com/ufosearchspace-create/ERC8183.git
cd ERC8183
# Install dependencies
npm install
# Compile contracts
npm run compile
# Run tests
npm test
# Python SDK (evaluator)
cd ai-evaluator
pip install -r requirements.txt
python -m pytest test_evaluator.py -v
UFX's autonomous AI agent, registered on ERC-8004 Identity Registry. Live on Base Mainnet.
Core contracts, hook system, evaluators, Python SDK, ERC-8004 registration, 208 tests (9 fuzz), Base Mainnet deployment.
Ecosystem outreach, Base Builder grant, Virtuals/ERC-8004 community integration, additional evaluator types.
Multi-evaluator consensus, cross-chain hooks, agent framework integrations (Virtuals, AutoGPT, CrewAI).
Join the first wave of agentic commerce developers.