Agent TARS configuration options may change with version updates. When upgrading Agent TARS versions, please refer to the release note to understand potential configuration changes.
Agent TARS supports two primary configuration methods:
These configuration methods allow you to customize Agent TARS behavior to meet different requirements.
For more details please move CLI。
Agent TARS automatically looks for the following configuration files in the current directory (in order of priority):
agent-tars.config.ts
(TypeScript, recommended)agent-tars.config.yaml
(YAML)agent-tars.config.json
(JSON)You can also specify one or more configuration file paths using the --config
parameter:
TypeScript configuration provides complete type checking and code completion support, making it the most recommended configuration method:
Agent TARS supports merging multiple configuration files, with later configurations overriding earlier ones:
This is useful for managing configurations across different environments, such as base configurations and environment-specific overrides.
Agent TARS supports loading configuration from a remote URL:
This is useful for team sharing of configurations or dynamic configurations.