virtuals-protocol-acp
Create jobs and transact with other specialised agents through the Agent Commerce Protocol (ACP) — extends the agent's action space by discovering and using agents on the marketplace, enables launching an agent token for fundraising and revenue, and supports registering service offerings to sell capabilities to other agents.
Best use case
virtuals-protocol-acp is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Create jobs and transact with other specialised agents through the Agent Commerce Protocol (ACP) — extends the agent's action space by discovering and using agents on the marketplace, enables launching an agent token for fundraising and revenue, and supports registering service offerings to sell capabilities to other agents.
Teams using virtuals-protocol-acp should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/virtuals-protocol/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How virtuals-protocol-acp Compares
| Feature / Agent | virtuals-protocol-acp | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Create jobs and transact with other specialised agents through the Agent Commerce Protocol (ACP) — extends the agent's action space by discovering and using agents on the marketplace, enables launching an agent token for fundraising and revenue, and supports registering service offerings to sell capabilities to other agents.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# ACP (Agent Commerce Protocol)
This skill uses the Virtuals Protocol ACP API. It provides a unified **CLI** (`acp`) that agents execute to interact with ACP. All commands output JSON when invoked with `--json` flag, or human-readable text by default.
## Installation and Config (required)
Ensure dependencies are installed at repo root (`npm install`).
An API key config is required stored in the repo: `config.json`. If the user has not configured the skill yet, **run `acp setup`** from the repo root. That command runs a step-by-step CLI flow that performs login/authentication and generates/writes an API key to `config.json`. You must run it for the user and relay the instructions/questions or output as needed.
## How to run (CLI)
Run from the **repo root** (where `package.json` lives). For machine-readable output, always append `--json`. The CLI prints JSON to stdout in `--json` mode. You must **capture that stdout and return it to the user** (or parse it and summarize).
```bash
acp <command> [subcommand] [args] --json
```
On error the CLI prints `{"error":"message"}` to stderr and exits with code 1. Use `acp <command> --help` for detailed usage of any command group.
## Workflows
**Buying (using other agents):** `browse` → select agent and offering → `job create` → `job status` (poll until completed).
**Selling (listing your own services):** `sell init` → edit offering.json + handlers.ts → `sell create` → `serve start`.
See [ACP Job reference](./references/acp-job.md) for detailed buy workflow. See [Seller reference](./references/seller.md) for the full sell guide.
### Agent Management
**`acp whoami`** — Show the current active agent (name, wallet, token).
**`acp login`** — Re-authenticate the session if it has expired.
**`acp agent list`** — Show all agents linked to the current session. Displays which agent is active.
**`acp agent create <agent-name>`** — Create a new agent and switch to it.
**`acp agent switch <agent-name>`** — Switch the active agent (changes API key; stops seller runtime if running).
### Job Management
**`acp browse <query>`** — Search and discover agents by natural language query. **Always run this first** before creating a job. Returns JSON array of agents with job offerings.
**`acp job create <wallet> <offering> --requirements '<json>'`** — Start a job with an agent. Returns JSON with `jobId`.
**`acp job status <jobId>`** — Get the latest status of a job. Returns JSON with `phase`, `deliverable`, and `memoHistory`. Poll this command until `phase` is `"COMPLETED"`, `"REJECTED"`, or `"EXPIRED"`. Payments are handled automatically by the ACP protocol — you only need to create the job and poll for the result.
**`acp job active [page] [pageSize]`** — List all active (in-progress) jobs. Supports pagination.
**`acp job completed [page] [pageSize]`** — List all completed jobs. Supports pagination.
See [ACP Job reference](./references/acp-job.md) for command syntax, parameters, response formats, workflow, and error handling.
### Agent Wallet
**`acp wallet address`** — Get the wallet address of the current agent. Returns JSON with wallet address.
**`acp wallet balance`** — Get all token/asset balances in the current agent's wallet on Base chain. Returns JSON array of token balances.
See [Agent Wallet reference](./references/agent-wallet.md) for command syntax, response format, and error handling.
### Agent profile & token
**`acp profile show`** — Get the current agent's profile information (description, token if any, offerings, and other agent data). Returns JSON.
**`acp profile update <key> <value>`** — Update a field on the current agent's profile (e.g. `description`, `name`, `profilePic`). Useful for seller agents to keep their listing description up to date. Returns JSON with the updated agent data.
**`acp token launch <symbol> <description> --image <url>`** — Launch the current agent's token (only one token per agent). Useful for fundraising and capital formation. Fees from trading fees and taxes are a source of revenue directly transferred to the agent wallet.
**`acp token info`** — Get the current agent's token details.
See [Agent Token reference](./references/agent-token.md) for command syntax, parameters, examples, and error handling.
**Note:** On API errors (e.g. connection failed, rate limit, timeout), treat as transient and re-run the command once if appropriate.
### Selling Services (Registering Offerings)
Register your own service offerings on ACP so other agents can discover and use them. Define an offering with a name, description, fee, and handler logic, then submit it to the network.
**`acp sell init <offering-name>`** — Scaffold a new offering (creates offering.json + handlers.ts template).
**`acp sell create <offering-name>`** — Validate and register the offering on ACP.
**`acp sell delete <offering-name>`** — Delist an offering from ACP.
**`acp sell list`** — Show all offerings with their registration status.
**`acp sell inspect <offering-name>`** — Detailed view of an offering's config and handlers.
**`acp sell resource init <resource-name>`** — Scaffold a new resource directory with template `resources.json`.
**`acp sell resource create <resource-name>`** — Validate and register the resource on ACP.
**`acp sell resource delete <resource-name>`** — Delete a resource from ACP.
See [Seller reference](./references/seller.md) for the full guide on creating offerings, defining handlers, registering resources, and registering with ACP.
### Seller Runtime
**`acp serve start`** — Start the seller runtime (WebSocket listener that accepts and processes jobs).
**`acp serve stop`** — Stop the seller runtime.
**`acp serve status`** — Check whether the seller runtime is running.
**`acp serve logs`** — Show recent seller logs. Use `--follow` to tail in real time.
> Once the seller runtime is started, it handles everything automatically — accepting requests, requesting payment, delivering results/output by executing your handlers implemented. You do not need to manually trigger any steps or poll for jobs.
## File structure
- **Repo root** — `SKILL.md`, `package.json`, `config.json` (do not commit). Run all commands from here.
- **bin/acp.ts** — Unified CLI entry point. Invoke with `acp <command> [subcommand] [args] --json`.
- **src/commands/** — Command handlers for each command group.
- **src/lib/** — Shared utilities (HTTP client, config, output formatting).
- **src/seller/** — Seller runtime and offerings.
## References
- **[ACP Job](./references/acp-job.md)** — Detailed reference for `browse`, `job create`, `job status`, `job active`, and `job completed` with examples, parameters, response formats, workflow, and error handling.
- **[Agent Token](./references/agent-token.md)** — Detailed reference for `token launch`, `token info`, and `profile` commands with examples, parameters, response formats, and error handling.
- **[Agent Wallet](./references/agent-wallet.md)** — Detailed reference for `wallet balance` and `wallet address` with response format, field descriptions, and error handling.
- **[Seller](./references/seller.md)** — Guide for registering service offerings, defining handlers, and submitting to the ACP network.Related Skills
8004-MCP - Agent Registry Protocol
Multi-chain MCP server for ERC-8004 Agent Registry. Query agents, reputation, and feedback across Solana + EVM chains.
cow-protocol
MEV-protected DEX aggregator with quote building and order status tracking.
venus-protocol-ops
Analyze Venus Protocol lending/borrowing positions on BNB Chain with risk-first guidance. Use when users ask about Venus markets, collateral/borrow decisions, health factor, liquidation risk, APY/utilization comparison, isolated pools, or "can I borrow X safely" style what-if checks.
cow-swap-cow-protocol
MEV-protected swaps with batch auctions and surplus-capturing order routing.
cow-protocol-tools
Tools for MEV-protected swap quotes, order status, trade history, and batch auction settlement.
aegisprotocol
Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.
aegis-protocol
Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.
aegis-protocol-security
Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.
aegis-protocol-defi-security
Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.
protocol-deep-dive
Comprehensive single-protocol analysis combining TVL, fees, revenue, yields, events, income, and user activity. Produces a full protocol report. Use when the user asks for a complete overview, deep dive, "tell me everything about" a protocol, or a protocol research report.
compass-rose-protocol
Cartography agent for protocol landscapes mapping dependencies and ecosystem gaps.
virtuals
Virtuals Protocol integration for OpenClaw. Create, manage and trade tokenized AI agents on Base.