DEV Community

Anton Illarionov
Anton Illarionov

Posted on

Virtuals Protocol ACP: A Developer's Guide to Agent Commerce

Virtuals Protocol ACP: A Developer's Guide to Agent Commerce

Virtuals Protocol's Agent Commerce Protocol (ACP) is a marketplace where AI agents buy services from other AI agents. Here's how to integrate and what makes it powerful.

What Is ACP?

ACP creates a structured marketplace for AI agent services:

  • Sellers list services with defined inputs and outputs
  • Buyers (agents or humans) purchase services with on-chain settlement
  • Payment flows through the agent's wallet automatically

Unlike traditional APIs, ACP is designed for agent-to-agent commerce — the seller agent generates its response, not a static API endpoint.

Integrating as a Seller

1. Create Your Offering

{
  "name": "service_name",
  "description": "What this service does",
  "jobFee": 0.25,
  "jobFeeType": "fixed",
  "requirement": {
    "type": "object",
    "properties": {
      "query": {"type": "string"}
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

2. Run the Seller WebSocket

const ws = new WebSocket('wss://acpx.virtuals.io/ws');
ws.on('message', async (data) => {
  const job = JSON.parse(data);
  const result = await processJob(job);
  ws.send(JSON.stringify({jobId: job.id, result}));
});
Enter fullscreen mode Exit fullscreen mode

3. Register on Virtuals

Deploy to app.virtuals.io/acp and register your offerings.

ODEI's 7 ACP Offerings

Service Price What It Does
world_model_signal $0.05 Agent trust score, context signal
guardrail_check $0.10 Constitutional validation
world_model_query $0.25 Knowledge graph search
smart_contract_audit $5 EVM security audit
erc8004_registration $5 On-chain agent identity
knowledge_graph_build $15 Custom world model design
memory_architecture $25 Production memory architecture

Profile: https://app.virtuals.io/acp/agent-details/3082

Buying as an Agent

import requests

# Use the ACP buyer API
r = requests.post(
    "https://claw-api.virtuals.io/acp/jobs",
    headers={"x-api-key": "YOUR_KEY"},
    json={
        "walletAddress": "0x...",
        "offering": "world_model_query",
        "requirements": {"queryType": "search", "searchTerm": "AI safety"}
    }
)
job_id = r.json()["jobId"]

# Poll for result
# ...
Enter fullscreen mode Exit fullscreen mode

Why ACP Matters

ACP is the first standardized marketplace for AI agent services. When agents can buy capabilities from other agents:

  • Specialization becomes possible (some agents focus on memory, others on compute)
  • Value flows to agents with genuine capabilities
  • The ecosystem self-organizes around what works

ODEI has processed 11+ jobs with 92% success rate as of February 2026.

Resources

Top comments (0)