The HTTP of AI Shopping / AI ่ดญ็ฉ็ HTTP ๅ่ฎฎ
Open standard for AI-to-AI commerce. Let buyer agents and seller agents negotiate directly, no platform needed.
AI ๅฏน AI ่ดญ็ฉ็ๅผๆพๆ ๅๅ่ฎฎใ่ฎฉไนฐๅฎถไปฃ็ไธๅๅฎถไปฃ็็ดๆฅๅๅ๏ผๆ ้ๅนณๅฐไธญไปใ
ACP0 is NOT a blockchain e-commerce platform.
It's a high-speed off-chain protocol with optional on-chain anchoring:
- ๐จ 99% traffic: MQTT/HTTP messaging (< 50ms latency)
- โ๏ธ 1% traffic: Blockchain hashes for dispute resolution
- ๐ซ 0% dependency: Works without any blockchain at all
Think of it as:
- ๐ก Broadcast: MQTT (like WhatsApp for agents)
- ๐๏ธ Trust: Blockchain (like notary, only used when disputes happen)
Example - Buying a $500 laptop:
1. Your agent broadcasts intent via MQTT โ 0ms, $0
2. 10 sellers respond in 50ms โ Off-chain
3. You buy with Stripe โ Off-chain
4. Optional: Store deal hash on Arbitrum โ $0.0002
Blockchain is the "stone tablet on the roadside", not the highway.
What's Ready:
- โ Complete protocol specification (Intent/Offer/Deal)
- โ ECC signature and verification
- โ Reference implementation with 32 passing tests
- โ Working demo (1-2s transaction time)
What's Coming in v1.0 (Q1 2025):
- ๐ง MQTT network layer (real-time broadcast)
- ๐ง HTTP Indexer (distributed discovery)
- ๐ง Blockchain anchoring (optional trust layer)
- ๐ง Async/await refactoring
What This Means: v0.9.0 proves the protocol works. It's ready for:
- โ Protocol discussion and feedback
- โ Academic research
- โ Building proof-of-concepts
- โ Not yet for production e-commerce (wait for v1.0)
See ROADMAP.md for the full plan.
In November 2024, Amazon sued Perplexity for building "Comet" - an AI agent that logs into Amazon, compares products, and buys based on real user needs instead of paid ads.
Amazon's lawsuit revealed a fundamental conflict:
- Platforms want control: They make money from ads and recommendations
- Users want agents: AI that works for them, not for advertisers
ACP0 is the answer: What if agents don't need platforms at all?
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โ Buyer Agent โโโโโโโโ 1. Broadcast Intent โโโโโโโโถโ MQTT/HTTP โ
โ (User AI) โ โ Network โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โฒ โ
โ โ 2. Forward
โ โผ
โ โโโโโโโโโโโโโโโ
โ โSeller Agent โ
โ โSeller Agent โ
โ โSeller Agent โ
โ โโโโโโโโโโโโโโโ
โ โ
โ โ 3. Send Offers
โ โผ
โโโโโโโโโโโโโโ 4. Compare & Select โโโโโโโโโโโโโโโโ
โ
โ 5. Payment & Delivery
โผ
[Transaction Complete]
Core Components:
- Intent: Structured shopping request (JSON)
- Offer: Merchant's response with price, stock, delivery
- Deal: Payment and fulfillment confirmation
- Signature: ECC-based verification (no middleman needed)
pip install acp0from acp0 import BuyerAgent
agent = BuyerAgent()
offers = agent.broadcast(
category="laptop",
budget_range=(4000, 6000),
currency="CNY",
location="shanghai"
)
best = agent.select_best(offers)
agent.purchase(best)from acp0 import SellerAgent
agent = SellerAgent(
name="MyShop",
inventory="./products.json",
location="shanghai"
)
agent.listen() # Start receiving intents and auto-respondThat's it! Two agents just completed a transaction without any platform.
# Clone the repository
git clone https://github.com/acp0/acp0.git
cd acp0
# Install dependencies
pip install -e .
# Run minimal demo
python examples/minimal_demo.pyExpected output:
๐ ACP0 Minimal Demo Starting...
๐ฆ Setting up Seller Agent...
โ Seller is listening for Intents...
๐๏ธ Setting up Buyer Agent...
โ Buyer is ready
๐ข Buyer broadcasting Intent...
๐ฌ Received 1 offer(s)
๐ Best Offer Selected
๐ณ Buyer confirming purchase...
โ
Deal confirmed
๐ Transaction Complete!
- Works with WeChat shops, Shopify stores, 1688 suppliers, or any merchant
- No listing fees, no commission cuts
- Structured JSON for AI agents (not keyword search for humans)
- Real-time negotiation between buyer AI and seller AI
- Cryptographic signatures verify every message
- Optional blockchain anchoring for disputes
- Decentralized reputation (coming in v1.0)
- Core spec: 3 message types, <500 lines of code
- Plug in any payment method (Stripe, Alipay, crypto)
- Add custom fields without breaking compatibility
Core Documents:
- Protocol Specification - Message formats and security
- Design Philosophy - Why 99% off-chain + 1% on-chain
- Implementation Guide - How to build it
- FAQ - Common questions
- ROADMAP - What's next
For Developers:
- CONTRIBUTING.md - How to contribute
- API Documentation - Python SDK reference
- Examples - Code samples
Problem: 1M+ WeChat shops have great products but no way to be discovered by AI agents
Solution: Shops implement ACP0, agents can find them via intent broadcast
Problem: Alibaba/1688 suppliers pay high platform fees
Solution: Direct agent-to-agent negotiation, no middleman
Problem: Influencers sell via manual messages (inefficient)
Solution: Deploy a seller agent, handle inquiries 24/7
Problem: Today's AI can only search Amazon/Taobao (controlled by ads)
Solution: Access decentralized merchant network with better prices
| Component | Status | Notes |
|---|---|---|
| Core Protocol | โ Complete | Intent/Offer/Deal messages |
| Signatures | โ Complete | ECC-based verification |
| Agents | โ Complete | Buyer and Seller logic |
| In-Memory Network | โ Complete | Demo/testing only |
| MQTT Network | ๐ง Planned v1.0 | Real-time broadcast |
| HTTP Indexer | ๐ง Planned v1.0 | Distributed discovery |
| Blockchain | ๐ง Planned v1.0 | Optional anchoring |
| Smart Contracts | ๐ Planned v2.0 | Dispute resolution |
See ROADMAP.md for detailed plans.
# Run all tests
pytest tests/ -v
# Run with coverage
pytest tests/ --cov=acp0 --cov-report=term-missing
# Run specific test
pytest tests/test_messages.py -vCurrent Test Status:
- โ 32 tests passing
- โ 100% pass rate
- โ Core protocol fully tested
We welcome contributions from everyone! Here's how to get started:
- Read CONTRIBUTING.md - Guidelines and workflow
- Check Good First Issues - Easy tasks for newcomers
- Join the discussion - GitHub Issues or Discussions
- Submit a PR - We review within 48 hours
Priority Areas for v1.0:
- ๐ด MQTT network layer implementation
- ๐ด HTTP Indexer service
- ๐ด Async/await refactoring
- ๐ก Additional language SDKs (Node.js, Rust, Go)
- ๐ก Documentation improvements
- GitHub Issues - Bug reports, feature requests, RFCs
- GitHub Discussions - General questions and ideas
- Discord - Real-time chat (coming soon)
- Twitter - @acp0protocol
- ไธญๆ็คพๅบ - ๅณๅป | ็ฅไน
When: First Saturday of each month, 10:00 AM UTC
Where: Zoom (public, link in Discussions)
What: Protocol discussions and RFC voting
๐ฅ First Production Deployment: [Waiting for you]
๐ฅ First Cross-Border Transaction: [Waiting for you]
๐ฅ First 1M GMV Milestone: [Waiting for you]
Want your name here? Ship something awesome with ACP0!
ACP0 was designed by @deloog, a non-technical founder, working with Claude (Anthropic), DeepSeek, and KIMI. This project itself is a proof that:
If humans and AI can design protocols together, imagine what agents can achieve in commerce.
ๅฆๆไบบ็ฑปๅ AI ่ฝไธ่ตท่ฎพ่ฎกๅ่ฎฎ๏ผๆณ่ฑกไปฃ็ๅจๅไธไธญ่ฝๆๅฐฑไปไนใ
This project was inspired by the Perplexity vs Amazon case, which showed that:
- AI agents can challenge traditional platforms
- Users want agents that work for them, not for advertisers
- The future needs open protocols, not closed platforms
- Protocol Specification: CC0-1.0 (Public Domain) - Use freely, modify freely
- Reference Implementation: MIT License
- Documentation: CC-BY-4.0
- GitHub: https://github.com/acp0/acp0
- Documentation: https://github.com/acp0/acp0/tree/main/docs
- Releases: https://github.com/acp0/acp0/releases
- Issues: https://github.com/acp0/acp0/issues
- Discussions: https://github.com/acp0/acp0/discussions
Built with โค๏ธ by the ACP0 Community
"The future of shopping is agent-to-agent, not human-to-platform."
"่ดญ็ฉ็ๆชๆฅๆฏไปฃ็ๅฏนไปฃ็๏ผ่้ไบบ็ฑปๅฏนๅนณๅฐใ"
- Protocol Version: v0.9.0
- Tests: 32 passing
- Transaction Time: 1-2 seconds
- Lines of Code: ~2,000 (core)
- Languages: Python (more coming)
- License: MIT
Ready to build the future of commerce? ๐