Interface: AgentRequest
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:107
A request expecting a response.
Extends
Omit<AgentMessage,"type">
Properties
agencyId?
optionalagencyId:string
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:85
Agency context
Inherited from
content
content:
string|Record<string,unknown>
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:87
Message content
Inherited from
expiresAt?
optionalexpiresAt:Date
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:93
Expiration time for time-sensitive messages
Inherited from
fromAgentId
fromAgentId:
string
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:77
Sender agent ID
Inherited from
fromRoleId?
optionalfromRoleId:string
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:79
Sender's role in the agency
Inherited from
inReplyTo?
optionalinReplyTo:string
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:95
If this is a reply, the original message ID
Inherited from
messageId
messageId:
string
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:73
Unique message identifier
Inherited from
metadata?
optionalmetadata:Record<string,unknown>
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:99
Additional metadata
Inherited from
priority
priority:
MessagePriority
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:89
Message priority
Inherited from
requiresAck?
optionalrequiresAck:boolean
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:101
Whether delivery confirmation is required
Inherited from
sentAt
sentAt:
Date
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:91
Timestamp when sent
Inherited from
threadId?
optionalthreadId:string
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:97
Thread/conversation ID for related messages
Inherited from
timeoutMs?
optionaltimeoutMs:number
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:111
Timeout for response in ms
toAgentId?
optionaltoAgentId:string
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:81
Target agent ID (null for broadcasts)
Inherited from
toRoleId?
optionaltoRoleId:string
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:83
Target role (for role-based routing)
Inherited from
type
type:
"task_delegation"|"question"|"critique"
Defined in: packages/agentos/src/core/agency/IAgentCommunicationBus.ts:109
Request type (subset of message types)