Skip to main content

Module cnp

Module cnp 

Source
Expand description

Contract-Net Protocol (spec §21): the standard multi-agent negotiation pattern (Smith 1980, FIPA Contract-Net) built on ACL performatives and the content language.

Phases:

  1. ANNOUNCE manager → participants: request/Cl(action) — task posted
  2. BID participant → manager: propose/Cl(commitment{proposed})
  3. AWARD manager → winner: accept/Cl(commitment{active}) manager → losers: reject/Ref
  4. REPORT winner → manager: inform/Cl(fact) or failure

CnpSession tracks one announcement’s lifecycle and validates phase transitions (built on dialogue_legal + the commitment lifecycle).

Structs§

CnpSession
Tracker for one contract-net session.

Enums§

Phase