datarobot_genai.dragent.frontends.agent_manifest
agent_manifest
Agent Manifest: a static reflection of a running agent's declared NAT
workflow structure, served at /.well-known/agent-manifest.json alongside
the existing A2A /.well-known/agent-card.json.
Unlike the A2A agent card (hand-authored skills/description metadata,
see :mod:~datarobot_genai.dragent.frontends.a2a), this manifest is derived
entirely from workflow.yaml's own declared structure - the
functions/function_groups/workflow sections of the NAT
:class:~nat.data_models.config.Config - so it needs no separate
configuration and can never drift from what the agent actually declares.
The manifest's own wire format is provisional: workload-api's manifest-parsing consumer hasn't landed yet, so there is no authoritative schema to match against. This shape may need to change once that lands.
AgentManifestRootAgent
Bases: BaseModel
The workflow's entry-point function - workflow: in workflow.yaml.
Source code in datarobot_genai/dragent/frontends/agent_manifest.py
AgentManifestComponent
Bases: BaseModel
One declared functions: or function_groups: entry.
Source code in datarobot_genai/dragent/frontends/agent_manifest.py
build_agent_manifest
Build the manifest from a NAT Config alone - no build/execution needed.
config.workflow/config.functions/config.function_groups are
already fully-parsed workflow.yaml declarations by the time a
Config exists, so this never runs any agent code.