Skip to content

Workspace and configuration ​

Overview
What it isThe home directory that holds one workspace, and its settings file config.yaml
CLIagt init, agt config, global options
Web consoleSettings (运行设置)
Crateagt-config

What it does ​

A workspace is one home directory. Everything agt knows lives there: resources, conversations, runs, tasks and settings. Different homes are completely independent, so you can keep one per project or use a throwaway home for experiments.

config.yaml holds the workspace settings: scheduling limits, approval policy, memory and local commands. Only the operator changes it; agents cannot, even with resource_management.

How to use it ​

Choose the home. agt uses, in order: the --home option of the command, the AGT_HOME environment variable, then ~/.agt. The default home is created automatically on first use.

bash
export AGT_HOME=/data/agt          # lasting change, in ~/.bashrc or ~/.zshrc
agt --home /tmp/demo agent list    # this command only
agt init ~/projects/game-night     # create a new home explicitly

Change settings. In the Web console, open Settings. Each setting shows its default and when a change takes effect. From the CLI:

bash
agt config show > config.yaml      # current settings
# edit config.yaml
agt config apply config.yaml       # validate and replace the whole file

Common parameters ​

ParameterMeaning
AGT_HOMEAbsolute path of the default home
--home <dir>Home for one command
--output jsonMachine-readable output, for scripts
scheduler.replies_per_agent, scheduler.discussion_secondsHow long agents may keep talking; see Scheduler
permissions.mode, permissions.reviewer_modelHow tool calls are approved; see Permissions

All parameters ​

Global options ​

Accepted by every command.

OptionDefaultMeaning
--home <dir>$AGT_HOME, then ~/.agtHome directory for this command only
--output <format>humanhuman, json or jsonl
--yesoffSkip the confirmation of destructive commands. Required when not running in a terminal.
-h, --helpHelp for any command
-V, --versionPrint the version

Environment variables ​

VariableMeaning
AGT_HOMEDefault home. Must be an absolute path; an empty value counts as unset.

agt init <dir> ​

Initializes a home: creates the resource directories, the conversation database, the default config.yaml and the built-in prompts default/default and default/lead. The other databases are created when first needed. Running it again on an existing home adds anything missing without overwriting existing files.

agt config ​

CommandOptionsMeaning
config describeEvery setting with its description, default and when it takes effect
config showThe settings in effect
config apply <file>Validate a YAML file and replace the whole configuration
config update--value <json> --expected <json>Replace the configuration with value, only if the current configuration still equals expected (used by the Web console to avoid overwriting concurrent changes)

apply replaces the whole file: fields you leave out return to their defaults. Unknown fields and invalid values are rejected. Where a setting allows "unlimited", write null; 0 is not accepted.

config.yaml ​

KeyDefaultMeaningDetails
scheduler.concurrency3Runs executing at once across the workspaceScheduler
scheduler.parallel_workfalseAllow one agent to run parallel tasksTasks
scheduler.replies_per_agent100Replies per agent per discussionScheduler
scheduler.discussion_seconds1800How long a discussion stays authorizedScheduler
scheduler.model_stepsnullModel calls per native runRuns
scheduler.timezonenullTime zone for agents and timers; null uses the host'sScheduler
permissions.modemodel_reviewApproval policy for native tool callsPermissions
permissions.reviewer_modelnullModel used for model reviewPermissions
permissions.review_timeout_seconds30Time limit for the reviewerPermissions
permissions.request_timeout_seconds600Time a call waits for a decisionPermissions
permissions.harness_modemanualHandling of Codex approval requestsPermissions
memory.enabledtrueHistory search and notesMemory
execution.enabledfalseAllow host commandsLocal commands
execution.timeout_seconds300Time limit per commandLocal commands
execution.output_bytes65536Output returned per commandLocal commands

Home layout ​

text
<home>/
  config.yaml
  providers/<category>/<name>/provider.yaml
  models/<category>/<name>/model.yaml
  prompts/<category>/<name>/PROMPT.md
  skills/<category>/<package>/SKILL.md
  mcps/<category>/<name>/mcp.json
  harnesses/<category>/<name>/harness.yaml
  agents/<category>/<name>/agent.yaml
  im/im.db               # identities, conversations, messages
  runtime/runtime.db     # bindings, discussions, runs, tasks, approvals, Codex sessions
  memory/memory.db       # agents' notes
  .trash/                # deleted resources
  • Resources: what the resource directories contain and how to manage them
  • Web console: the Settings page

Released under the MIT License.