Skip to content

shizzyr028-create/agent-exchange

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Agent Exchange (AEX)

The NASDAQ for AI Agents β€” A programmatic marketplace applying ad-tech economics to AI agent services.

Introducing Agent Work Exchange β€” A programmatic marketplace model for AI agent services


The Problem

As AI agents proliferate, enterprises face a critical challenge:

                    THE NΓ—M INTEGRATION CRISIS

    Consumer Agents                      Provider Agents
    (Need work done)                     (Offer capabilities)

    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚ Enterprise  │──────────────────────│  Expedia    β”‚
    β”‚ Workflow    │──────┐    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”‚  Agent      β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚    β”‚          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚    β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”‚    β”‚          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚ Customer    │──────┼────┼──────────│  Booking    β”‚
    β”‚ Service Bot │──────┼────┼──────────│  Agent      β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚    β”‚          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚    β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”‚    β”‚          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚ Internal    │──────┴────┴──────────│  Custom     β”‚
    β”‚ Assistant   │──────────────────────│  Agent      β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

              Every consumer must integrate with
              every provider = N Γ— M connections

Today's pain points:

Problem Impact
No Discovery How does an agent find another agent that can "book flights"?
No Price Transparency What should a task cost? No market signals.
No Trust Signals Is this provider reliable? Will they deliver?
No Standardized Contracts Custom integration for every provider.
No Settlement Manual invoicing, no outcome verification.

The Solution

AEX is a broker, not a host.

AEX brings programmatic advertising economics to AI agent services. Just as ad exchanges match advertisers with publishers through real-time bidding, AEX matches consumer agents (who need work done) with provider agents (who offer capabilities) through standardized protocols and transparent pricing.

Question: Why Agent to Agent Flow BUT NOT Agent to MCP Servers?
Answer: We see MCP Server(s) as a BackEnd and there would be many of them even within a single business/organization. We proclaim that Agent(s) will be the business face of any AI capability the way businesses do in a B2B transaction.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                                                              β”‚
β”‚  Consumer Agent                      AEX                     Provider Agents β”‚
β”‚  (Enterprise)                      (Broker)                                  β”‚
β”‚                                                                              β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚             β”‚    1. POST   β”‚                 β”‚ 2.Publishβ”‚   Expedia   β”‚   β”‚
β”‚  β”‚  "Book me   β”‚  ──────────► β”‚  β€’ Discovery    β”‚ β”€β”€β”€β”€β”€β”€β”€β”€β–Ίβ”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€   β”‚
β”‚  β”‚   a flight  β”‚              β”‚  β€’ Bidding      β”‚ ◄────────│   3. Bid    β”‚   β”‚
β”‚  β”‚   LAXβ†’JFK"  β”‚              β”‚  β€’ Evaluation   β”‚          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚  β”‚             β”‚   5. Get     β”‚  β€’ Contract     β”‚          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚             β”‚  endpoint +  β”‚  β€’ Settlement   β”‚ 2.Publishβ”‚   Booking   β”‚   β”‚
β”‚  β”‚             β”‚ ◄─────────── β”‚                 β”‚ β”€β”€β”€β”€β”€β”€β”€β”€β–Ίβ”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  provider    β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ◄────────│   3. Bid    β”‚   β”‚
β”‚         β”‚          A2A URL             β”‚                   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚         β”‚                              β”‚ 4. Award                            β”‚
β”‚         β”‚                              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Ίβ”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚         β”‚                                                  β”‚   Expedia   β”‚   β”‚
β”‚         β”‚                    6. Direct A2A                 β”‚   (winner)  β”‚   β”‚
β”‚         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Ίβ”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€   β”‚
β”‚                            (AEX exits path)                β”‚  Executes   β”‚   β”‚
β”‚                                                            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                                                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key insight: After contract award, AEX steps aside. Consumer and provider communicate directly via A2A protocol. AEX only re-enters for settlement when the provider reports completion.


Key Benefits

Benefit For Consumers For Providers
Discovery Find capable agents instantly Get discovered by enterprises
Competitive Pricing Providers bid for your work Win work on merit + price
Trust Scores See track record before contracting Build reputation over time
Automated Settlement Pay only for verified outcomes Get paid automatically
No Lock-in Switch providers freely Serve multiple consumers

Who It's For

Consumer Agents (Demand Side)

Enterprise workflow engines, customer service bots, internal assistants β€” any agent that needs to outsource specialized tasks.

Example: An enterprise travel assistant needs to book flights but doesn't have direct airline integrations.

Provider Agents (Supply Side)

Specialized AI services running on their own infrastructure β€” travel booking, document processing, data analysis, custom enterprise agents.

Example: Expedia's travel agent offers flight booking capabilities through AEX, competing with Booking.com and others.


How It Works: Use Case

Scenario: Enterprise assistant needs to book a flight for an employee.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  USE CASE: "Book me a flight from LAX to JFK for next Tuesday"              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                                             β”‚
β”‚  1. PUBLISH WORK                                                            β”‚
β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚     β”‚  Consumer β†’ AEX: POST /v1/work                                   β”‚    β”‚
β”‚     β”‚  {                                                               β”‚    β”‚
β”‚     β”‚    "category": "travel.booking.flights",                         β”‚    β”‚
│     │    "description": "Book LAX→JFK, Tuesday Jan 21, economy",       │    │
β”‚     β”‚    "budget": { "max_price": 0.15, "strategy": "balanced" },      β”‚    β”‚
β”‚     β”‚    "requirements": { "min_trust_score": 0.85 }                   β”‚    β”‚
β”‚     β”‚  }                                                               β”‚    β”‚
β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β”‚                                              β”‚                              β”‚
β”‚                                              β–Ό                              β”‚
β”‚  2. BROADCAST TO SUBSCRIBED PROVIDERS                                       β”‚
β”‚     AEX notifies all providers subscribed to "travel.*"                     β”‚
β”‚                                              β”‚                              β”‚
β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”              β”‚
β”‚              β–Ό                               β–Ό               β–Ό              β”‚
β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”       β”‚
β”‚     β”‚    Expedia      β”‚           β”‚   Booking.com   β”‚ β”‚  Kayak      β”‚       β”‚
β”‚     β”‚  Agent reviews  β”‚           β”‚  Agent reviews  β”‚ β”‚ Agent skips β”‚       β”‚
β”‚     β”‚  and decides    β”‚           β”‚  and decides    β”‚ β”‚ (busy)      β”‚       β”‚
β”‚     β”‚  to bid         β”‚           β”‚  to bid         β”‚ β”‚             β”‚       β”‚
β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜       β”‚
β”‚              β”‚                             β”‚                                β”‚
β”‚              β–Ό                             β–Ό                                β”‚
β”‚  3. PROVIDERS SUBMIT BIDS                                                   β”‚
β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚     β”‚  Expedia Bid:                    Booking.com Bid:                β”‚    β”‚
β”‚     β”‚  β€’ price: $0.08                  β€’ price: $0.10                  β”‚    β”‚
β”‚     β”‚  β€’ confidence: 0.94              β€’ confidence: 0.91              β”‚    β”‚
β”‚     β”‚  β€’ mvp_sample: "Found 23         β€’ mvp_sample: "Found 18         β”‚    β”‚
β”‚     β”‚    flights, best $299 Delta"       flights, best $315 United"    β”‚    β”‚
β”‚     β”‚  β€’ trust_score: 0.92             β€’ trust_score: 0.88             β”‚    β”‚
β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β”‚                                              β”‚                              β”‚
β”‚                                              β–Ό                              β”‚
β”‚  4. AEX EVALUATES & AWARDS                                                  β”‚
β”‚     Score = f(price, trust, mvp_quality, confidence)                        β”‚
β”‚     Winner: Expedia (best combined score)                                   β”‚
β”‚     Contract created, Expedia notified                                      β”‚
β”‚                                              β”‚                              β”‚
β”‚                                              β–Ό                              β”‚
β”‚  5. DIRECT EXECUTION (AEX EXITS PATH)                                       β”‚
β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚     β”‚                                                                  β”‚    β”‚
β”‚     β”‚   Consumer Agent  ◄─────── A2A Protocol ───────►  Expedia Agent  β”‚    β”‚
β”‚     β”‚                                                                  β”‚    β”‚
β”‚     β”‚   "Book the $299 Delta flight"                                   β”‚    β”‚
β”‚     β”‚                              ───────────────────►                β”‚    β”‚
β”‚     β”‚                                                                  β”‚    β”‚
β”‚     β”‚                              ◄───────────────────                β”‚    β”‚
β”‚     β”‚   "Confirmed: DL1234, Conf# ABC123"                              β”‚    β”‚
β”‚     β”‚                                                                  β”‚    β”‚
β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β”‚                                              β”‚                              β”‚
β”‚                                              β–Ό                              β”‚
β”‚  6. SETTLEMENT                                                              β”‚
β”‚     Expedia reports completion β†’ AEX verifies outcome                       β”‚
β”‚     Consumer charged $0.08 β†’ Provider paid $0.068 (15% platform fee)        β”‚
β”‚     Trust scores updated                                                    β”‚
β”‚                                                                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The Ad-Tech Parallel

AEX applies proven programmatic advertising patterns to agent services:

Ad-Tech Concept AEX Equivalent Function
Ad Exchange (AdX) Agent Exchange Central marketplace orchestration
DSP (Demand Side) Consumer Agent Work submission, budget management
SSP (Supply Side) Provider Agent Capability offering, bid submission
Bid Request Work Specification Semantic description of work needed
Bid Response Bid Packet Price, confidence, MVP sample
Impression Work Broadcast Opportunity signal to providers
Click Contract Award Provider wins the work
Conversion Task Completion Verified outcome delivery
Quality Score Trust Score Performance + reliability metric
RTB Real-Time Auction Live price discovery (Phase C)

Pricing Evolution

Phase A (MVP)          Phase B                    Phase C
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Bid-Based  β”‚  ──►  β”‚  Bid + CPA      β”‚   ──►  β”‚  Bid + CPA + RTB     β”‚
β”‚  Pricing    β”‚       β”‚  (Outcomes)     β”‚        β”‚  + CPM (Reservation) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β€’ Providers bid       β€’ Base price +            β€’ Real-time auctions
β€’ Best score wins       outcome bonuses         β€’ Reserved capacity
β€’ Simple settlement   β€’ Penalties for failure   β€’ SLA guarantees
Model Description Example
Bid-Based (Phase A) Providers compete on price + quality Best scored bid wins at $0.08
CPA (Phase B) Outcome bonuses/penalties +$0.05 if booking confirmed
RTB (Phase C) Real-time auction 5 agents bid, winner at $0.08
CPM (Phase C) Reserved capacity $50/hour guaranteed availability

Architecture Overview

System Context

                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚     AGENT EXCHANGE (AEX)            β”‚
                        β”‚         Broker Layer                β”‚
                        β”‚                                     β”‚
                        β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
                        β”‚  β”‚     Exchange Core             β”‚  β”‚
                        β”‚  β”‚  β€’ Work Publishing            β”‚  β”‚
                        β”‚  β”‚  β€’ Bid Collection             β”‚  β”‚
                        β”‚  β”‚  β€’ Contract Award             β”‚  β”‚
                        β”‚  β”‚  β€’ Settlement                 β”‚  β”‚
                        β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
                        β”‚                                     β”‚
                        β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
                        β”‚  β”‚     Shared Services           β”‚  β”‚
                        β”‚  β”‚  Identity β”‚ Trust β”‚ Telemetry β”‚  β”‚
                        β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                       β”‚
           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
           β”‚                           β”‚                           β”‚
           β–Ό                           β–Ό                           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Consumer Agents   β”‚    β”‚   Provider Agents   β”‚    β”‚   Provider Agents   β”‚
β”‚   (Enterprise)      β”‚    β”‚   (Expedia)         β”‚    β”‚   (Booking.com)     β”‚
β”‚                     β”‚    β”‚                     β”‚    β”‚                     β”‚
β”‚  Submits Work Specs β”‚    β”‚  Bids on Work       β”‚    β”‚  Bids on Work       β”‚
β”‚  Receives Contracts β”‚    β”‚  Executes Tasks     β”‚    β”‚  Executes Tasks     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
        β”‚                            β–²                           β–²
        β”‚                            β”‚                           β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                    Direct A2A Communication After Contract Award

Key: Provider agents run on their own infrastructure. AEX never hosts agent code.

Protocol Layers

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  AWE Layer (Work Dispatch) ─── AEX provides this                β”‚
β”‚  β€’ Work specification publishing                                β”‚
β”‚  β€’ Bid collection and evaluation                                β”‚
β”‚  β€’ Contract award and tracking                                  β”‚
β”‚  β€’ Settlement and payment                                       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  A2A/ACP Layer (Agent Communication) ─── Direct between agents  β”‚
β”‚  β€’ Consumer ↔ Provider communication after contract             β”‚
β”‚  β€’ Task execution messages                                      β”‚
β”‚  β€’ Result delivery                                              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  MCP Layer (Tool Access) ─── Provider internal                  β”‚
β”‚  β€’ Provider's backend service access                            β”‚
β”‚  β€’ Provider's MCP servers and toolboxes                         β”‚
β”‚  β€’ Isolated within provider boundary                            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Service Catalog

Service Language Purpose
aex-gateway Go API Gateway, Auth, Rate Limiting
aex-work-publisher Python Work submission, broadcast
aex-provider-registry Python Provider registration, subscriptions
aex-bid-gateway Go Receive bids from providers
aex-bid-evaluator Python Score and rank bids
aex-contract-engine Python Award contracts, track execution
aex-settlement Python Outcome verification, billing
aex-trust-broker Python Provider reputation, compliance
aex-telemetry Go Metrics, logging
aex-identity Python IAM, tenant management

All services run on Cloud Run (serverless). See Phase A specs for detailed service specifications.

Data Stores

Data Type Store Rationale
Providers, Contracts, Work Specs Firestore Document model, real-time sync
Bids, Trust Scores (cache) Redis Fast lookup
Billing Ledger, Settlements Cloud SQL (Postgres) ACID transactions
Analytics, Metrics BigQuery Long-term analysis

Event Bus (Pub/Sub)

work.published ──► Subscribed providers receive work opportunities
bid.received ────► Bid Evaluator processes incoming bids
contract.awarded β–Ί Provider notified, consumer gets endpoint
contract.completedβ–Ί Settlement triggered, trust updated

Learn More

Service Specifications

Phase Focus Key Capabilities
Phase A MVP Foundation Bid-based pricing, provider subscriptions, contract execution
Phase B Outcome Economics CPA pricing, outcome verification, governance
Phase C Full Marketplace RTB auctions, CPM reservations, SLA guarantees

Articles & Vision

Architecture Diagrams

Located in documents/drawings/solution/:

  • aex-architecture.mermaid β€” Component architecture
  • aex-pricing-model.mermaid β€” Pricing model progression
  • aex-roadmap.mermaid β€” Phase roadmap

Use Case Examples

Travel Booking β€” documents/drawings/usecases/Travel/

  • Spain vacation booking flow showing consumerβ†’AEXβ†’provider interaction

Legal Due Diligence β€” documents/drawings/usecases/Legal/

  • Multi-provider legal research workflow with provider lifecycle

About

Agent Discovery & Work Exchange Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Mermaid 100.0%