Skip to main content
<name>.agent.yaml is the agent definition for the Cognite CLI (cognite agents create, push, publish, and related commands). create and pull name the file after the project folder, for example, my-agent/my-agent.agent.yaml. The YAML shape matches agent resources in the Cognite Toolkit. The Cognite Toolkit treats the resource type as case-insensitive, so the same file works with cognite agents and cdf build / cdf deploy. The CLI also resolves a lone *.agent.yaml in the folder (any prefix, including PascalCase .Agent.yaml from the Cognite Toolkit). Several matching files with none named after the folder is an error.

Example

my-agent.agent.yaml
The externalId inside the file is the Cognite Data Fusion (CDF) identity. It does not have to match the folder or filename.

Fields

Tools

Atlas AI tools evolve quickly. The Cognite Toolkit warns on unknown tool types at cdf build but still deploys tools the CDF API accepts. The CLI passes tool configuration through to the Agents API. Common tool types (illustrative; see the Agent builder or agents reference in the Cognite Toolkit for the latest list): Each tool entry needs at least:
Tools may also include instructions and a configuration object. Example knowledge-graph tool:
For additional tool fragments (summarizeDocument, queryTimeSeriesDatapoints, and more), see the agents section in the Cognite Toolkit.

Skills

List skill externalId values under skills. With the Cognite Toolkit, define skills as *.Skill.yaml resources under agents/ (requires the Cognite Toolkit agent-skills alpha flag). See Agent skills in the YAML reference library.

Cognite Toolkit compatibility

The same YAML works in the Cognite CLI and the Cognite Toolkit. Differences are location and how many agent files you can keep together. eval/eval.yaml is CLI-only. It is not a Cognite Toolkit agent resource. To add the file to a module and deploy it, see Configure, build, and deploy modules and YAML reference library: Agents.
Last modified on August 21, 2026