Propose

open class Propose<P>(val from: AgentLike, 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: AgentLike, 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: AgentLike

The agent that sent this message, whatever kind of agent it is.

Link copied to clipboard
val proposal: P