Public declaration syntax from forge-py/src/forge/comm/message.py Original source SHA-256: 52be33fb24fe57790d06f4a306c09e7a04b29976e51362df5f28888499535590 Function bodies and constant values are omitted. This is not the complete implementation. Source line 23 class AgentMessage() Source line 66 def new(sender: str, recipient: str, protocol: str, message_type: str, payload: Any) -> AgentMessage Source line 97 def kind(self) -> str Source line 105 def is_signed(self) -> bool Source line 115 def with_correlation_id(self, correlation_id: str) -> AgentMessage Source line 127 def with_reply_to(self, reply_to: str) -> AgentMessage Source line 139 def to_dict(self) -> dict[str, Any] Source line 163 def from_dict(data: dict[str, Any]) -> AgentMessage Source line 185 def to_json(self) -> str Source line 190 def from_json(data: str) -> AgentMessage