Agent Metadata
Constructs AgentMetadata from a full Agent instance
This constructor extracts only the serializable metadata from a complete Agent, making it suitable for API responses and persistence.
Parameters
agent
The complete Agent instance to extract metadata from