Skip to content
Goatfied

CLI & API

Configuration

Persist defaults like the model and API URL so you don't repeat flags.

config command

goatfied config set defaultModel aiarco-comet-1.0
goatfied config get defaultModel
goatfied config path     # prints ~/.goatfied/config.json

Settings are stored in ~/.goatfied/config.json. The supported keys are:

  • defaultModel — model class used when -m isn’t passed. See Models.
  • apiUrl — control-plane base URL.

Choosing a model

The -m / --model flag takes a model class — the same ids the editor uses — and overrides defaultModel for one run:

aiarco-goat-1.0Default. Coding-rigorous; best for multi-file reasoning and agent-style tasks.
aiarco-athos-1.0Frontier reasoning for the hardest questions.
aiarco-anim-1.0Balanced, general-purpose chat.
aiarco-comet-1.0Lower latency for quick edits and questions.
aiarco-goat-tab-1.0Inline tab completions (fill-in-the-middle).

Legacy ids (goat-2.0-composer, goat-2.0-fast, chat-frontier, chat-fast, chat-openai) still resolve as deprecated aliases — prefer the aiarco-* ids above.

Environment variables

Environment variables override saved config:

  • GOATFIED_TOKEN — API token; overrides the saved one.
  • GOATFIED_API_URL — control-plane base URL (overrides apiUrl; default https://api.goatfied.com).
  • NO_COLOR — disable ANSI colors.
Next
Goatfied — The AI code editor