AgentMetadata

constructor(agent: Agent)

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


constructor(name: String, provider: String, version: <Error class: unknown class>, description: String, goals: Set<Goal>, actions: List<ActionMetadata>, conditions: Set<String>)