Skip to main content

Runtime Configuration

Anda stores runtime state in ~/.anda by default. The configuration file is ~/.anda/config.yaml, created automatically on first launch.

Model Providers

The active provider must include family, model, and api_base. api_key can be written in the config file or left empty and supplied through an environment variable.

model:
active: "deepseek-v4-pro"
providers:
- family: anthropic
model: "deepseek-v4-pro"
api_base: "https://api.deepseek.com/anthropic"
api_key: "YOUR_API_KEY"
labels: ["pro", "hippocampus"]
disabled: false

Supported model API key environment variables include:

OPENAI_API_KEY
ANTHROPIC_API_KEY
GEMINI_API_KEY
GOOGLE_API_KEY
DEEPSEEK_API_KEY
MINIMAX_API_KEY
MIMO_API_KEY
MOONSHOT_API_KEY
KIMI_API_KEY
BIGMODEL_API_KEY
GLM_API_KEY

Common Top-Level Settings

SettingPurpose
addrLocal gateway address, default 127.0.0.1:8042.
sandboxWhen true, shell execution goes through ~/.anda/sandbox.
https_proxyProxy used for model and channel requests.
modelModel providers for the agent and memory brain.
transcriptionProvider for voice input and audio attachment transcription.
ttsProvider for voice playback.
channelsIRC, Telegram, WeChat, Discord, Lark/Feishu, and other channel configuration.

Local Directory Structure

~/.anda/
config.yaml
anda-daemon.pid
channels/
db/
keys/
anda_bot.key
user.key
logs/
sandbox/
skills/
workspace/
DirectoryContents
db/Local memory, conversations, channel state, cron state, object state, and related data.
keys/Local signing keys for the daemon and user.
logs/Daemon and CLI logs.
channels/Channel runtime state.
sandbox/Shell isolation directory when sandboxing is enabled.
skills/Runtime skills.
workspace/Default workspace for file and shell tools.

Privacy Boundary

Anda local state, memory graph, conversations, channel state, cron state, keys, logs, and workspace data are stored on your machine by default.

However, model providers may still receive prompts, tool-result summaries, and memory formation or recall requests. Choose trusted providers, private endpoints, or proxy policies according to your privacy needs.

tip

Use anda --home /path/to/.anda when you need isolated data for different identities, projects, or tests.