Propose

open class Propose<P>(val from: ProcessModel.Entity, val proposal: P, val conversationId: String) : AgentMessage(source)

A proposal carrying a candidate proposal for the recipient to evaluate, typically in response to an earlier Request. Used as the bid step of Contract-Net-style interactions. The conversation id is required because a propose is meaningful only as part of an ongoing exchange.

Constructors

Link copied to clipboard
constructor(from: ProcessModel.Entity, proposal: P, conversationId: String)

Properties

Link copied to clipboard
open override val conversationId: String

Optional identifier that groups messages belonging to the same logical exchange (a Contract-Net call, a multi-turn negotiation, a tracked task lifecycle). Use a fresh value per conversation when grouping matters; leave null for one-shot messages.

Link copied to clipboard
open override val from: ProcessModel.Entity

The entity (typically an AgentModel.Agent) that sent this message.

Link copied to clipboard
val proposal: P