Inform

open class Inform<P>(val from: AgentLike, val payload: P, val conversationId: String? = null) : AgentMessage(source)

An informational message that conveys a fact (payload) to the recipient without expecting any particular response.

Constructors

Link copied to clipboard
constructor(from: AgentLike, payload: P, conversationId: String? = null)

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 payload: P