Multi-agent negotiation system
Two AI agents negotiate a bulk order of Mao Shan Wang durians. One buys for Durian Paradise, the other sells for a plantation. Each can only see its own company's data. They can keep secrets but they can't lie: every message is fact-checked before it's sent, and no deal goes through until the owner approves it on Telegram.
How it works
- Separate data per side. Each company's data sits behind its own MCP server with read-only database access. The buyer sees stock, demand forecast and budget; the supplier sees harvest lots, pricing and rival offers. Neither can query the other.
- Agents decide their own moves. Each agent checks its numbers, then makes an offer, a counter-offer, accepts or walks away, in a fixed structured format.
- Every message is fact-checked. A verifier agent checks each outgoing message against the sender's own records. Anything that doesn't match is blocked and sent back to be rewritten.
- A referee enforces the rules. Code nodes check each move is valid, keep score of offers and end the negotiation at the turn limit.
- A planted trap in the data. One harvest lot is listed twice, which makes 310 kg of stock look like 430 kg. The supplier agent has to spot the duplicate rather than sell stock it doesn't have.
- A person signs off. When the agents agree, the owner gets the terms on Telegram. Approve, and a purchase order is created and sent. Reject, and nothing happens.