Cortex

Cortex Commerce Protocol

The commerce layer for autonomous agents on Base

Cortex gives agents and merchants shared protocol state for service discovery, delegated budgets, payment terms, receipts, disputes, and reputation. It supports wallet transfers, swaps, facilitator flows, and x402 without requiring a new chain.

Built for agentic commerce

ID

Agent identity and budgets

Agents can register identity, execute through policy-aware smart accounts, and operate within delegated budgets.

MR

Merchant and service discovery

Merchants publish onchain service records with metadata hashes, capability hashes, payout context, and active status.

QT

Verifiable quote commitments

Quotes bind service, agent, token, amount, expiry, nonce, payment rail, resource hash, terms hash, and fee terms.

PY

Multiple payment rails

Cortex supports wallet transfers, ERC-20 transfers, swaps, facilitator-mediated payments, and x402 acceptance.

RC

Receipts and disputes

Settled commerce creates receipt records and dispute signals that can feed reputation for agents and merchants.

AN

Analytics and APIs

Indexer, REST API, MCP tools, and dashboard expose protocol state for agents, developers, and operators.

How it works

1

Publish services

Merchants register services, metadata hashes, capability hashes, and payment preferences in CommerceRegistry.

2

Set agent budgets

Owners configure spend limits, target allowlists, swap permissions, facilitator budgets, and x402 payment policy.

3

Commit quote terms

A merchant commits a quote that binds service, agent, token, amount, payment rail, expiry, nonce, resource hash, and terms hash.

4

Execute payment

Payment can happen through wallet transfer, ERC-20 transfer, swap, facilitator-mediated settlement, or x402.

5

Record signals

Receipts, disputes, solver activity, and analytics are indexed for agents, dashboards, marketplaces, and MCP tools.

Start building

Run the full stack locally, register merchants and services, configure agent policy, commit quotes, record receipts, and inspect protocol analytics.