Configuration & Environment
Configure providers, local vs cloud models, environment variables, and tool execution flags.
01 // YAML Configuration File
Anibuild reads configuration settings from ~/.config/anibuild/config.yaml (or ~/.anibuild/config.yaml):
# Anibuild Agent Configuration
provider:
type: openai-codex
model: gpt-4o-mini
temperature: 0.2
execution:
sandbox: pty
always_approve: false
max_turns: 50
theme:
name: cyber-purple
mode: dark
tools:
enabled:
- terminal_exec
- file_editor
- ripgrep_search
- web_fetch02 // Environment Variables
Set custom API keys or runtime flags directly in your shell or .env file:
~# OpenAI API Key
export OPENAI_API_KEY="sk-..."
# Custom Endpoint (Ollama / Local LLM)
export ANIBUILD_PROVIDER_URL="http://localhost:11434/v1"
# Force Session Mode
export ANIBUILD_FLAGS="--minimal"// PRIVACY GUARANTEE
API keys are stored strictly in your local operating system keychain or environment variables. No keys are ever transmitted to third-party tracking servers.
03 // CLI Flag Options
Pass runtime options directly when launching the agent:
~# Launch in minimal single-prompt mode
anibuild --minimal "refactor authentication error handling"
# Force full TUI screen session
anibuild --fullscreen
# Enable automatic process approval for CI scripts
anibuild --yes "run tests and fix failing assertions"