agents/ · Body: none
Agents are scoped to the organization of their host — you do not set org on the agent itself; it is resolved from the host reference at sync time.
Frontmatter
credential_config[] shape
Fields NOT supported
These are managed elsewhere and cannot be set in MDX:id,tenant_id,org_id,created_at,updated_at— system-setarchived_at— managed from the UIhost_id,specialty_id,credential_config[].credential_id— resolved from the name references above
Example
agents/web-01-agent.mdx
Gotchas
- Agents have no
orgfield. They inherit it fromhost. Renaming a host you reference from an agent is a coordinated change — pull, edit both, then sync. main_engineandsecondary_engineare model keys, not Model IDs. The key is the display identifier in the catalog; the Model ID is what’s sent to the provider’s API.- Pull skips agents with no host. An agent file is only meaningful with a host reference, so the exporter drops orphaned ones.

