Where Files Live
DuckAgent state lives under:
~/.duckagent/~/.duckagent/config.jsonRoot config stores the active profile and the root sandbox policy.
Active profile
Section titled “Active profile”~/.duckagent/profiles/<name>/ config.json auth.json mcp-auth.json sessions/ memories/ skills/ cache/ audit/ gateway/ SOUL.md USER.md AGENTS.md avatar.png avatar.jsonMost runtime behavior belongs to the active profile: model config, credentials, memory, skills, sessions, gateway channels, audit logs, identity files, and avatar files.
SOUL.md, USER.md, and avatar.png are initialized from bundled defaults when missing. Empty SOUL.md files receive the bundled default persona. Existing non-empty files are preserved so users can edit them safely.
Project instructions
Section titled “Project instructions”Project instructions live in the workspace:
<workspace>/AGENTS.mdPath-specific AGENTS.md files can also live in subdirectories.