Skip to main content

Workspace files

Anton keeps its state in two places: a .anton/ folder inside each workspace (project scope) and ~/.anton/ in your home directory (global scope). Almost everything is plain text — and most of it is safe to open and edit.

Project scope — .anton/ in each workspace

PathWhat it isSafe to edit by hand?
.anton/.envWorkspace configuration variables and local secrets (memory mode, toggles, keys scoped to this workspace)Yes — standard KEY=value lines
.anton/anton.mdYour project context — instructions Anton reads at conversation start. Anton never writes to it. See Project contextYes — it's yours by design
.anton/memory/rules.mdProject-specific behavioral rules under ## Always, ## Never, ## When sectionsYes — keep the section headings and one bullet per entry
.anton/memory/lessons.mdProject-specific facts Anton learned while working hereYes — one bullet per entry
.anton/memory/topics/*.mdDeeper project notes organized per subject, loaded on demandYes
.anton/episodes/*.jsonlSession archive — one file per session, named YYYYMMDD_HHMMSS.jsonl. See Episodes and recallBetter not — delete whole files if needed, or use /memory episodes delete <n>
.anton/artifacts/User-facing outputs (HTML apps, docs, datasets). One subfolder per artifact, each carrying a metadata.json and a README.md rendered from itThe outputs are yours to use; avoid hand-editing metadata.json
.anton/scratchpad-venvs/Isolated Python environments for Anton's code execution, one per scratchpadNo — managed automatically; safe to delete to reclaim space (rebuilt on demand)
.anton/context/, .anton/learnings/Legacy formats from older versions, migrated automatically into memory/ on first run after upgrading (originals preserved). See The learnings commandLeave as-is

Global scope — ~/.anton/

PathWhat it isSafe to edit by hand?
~/.anton/.envGlobal configuration — LLM provider and API keys, search-provider key, terms consent. Shared across all workspaces; workspace .env values win on conflictYes — standard KEY=value lines
~/.anton/memory/profile.mdYour identity profile — name, timezone, preferences. Global only; there is no project profileYes
~/.anton/memory/rules.mdGlobal rules that apply in every workspaceYes
~/.anton/memory/lessons.mdGlobal lessons — knowledge useful across any projectYes
~/.anton/memory/topics/*.mdGlobal per-subject notesYes
~/.anton/skills/<label>/The skill library — one directory per saved skill, shared across all projects. See SkillsProcedure yes, metadata carefully (below)
~/.anton/skills/<label>/meta.jsonSkill metadata — label, name, when-to-use cueCarefully — keep it valid JSON
~/.anton/skills/<label>/declarative.mdThe step-by-step procedure Anton followsYes — hand-tuning the procedure is encouraged
~/.anton/skills/<label>/chunks.mdOptional higher-level recipes (present in later-stage skills)Yes, if present
~/.anton/skills/<label>/code/Optional runnable helper modules (present in later-stage skills)Yes, if present
~/.anton/skills/<label>/requirements.txtOptional dependencies for a skill's helper codeYes, if present
~/.anton/skills/<label>/stats.jsonPer-skill usage countersNo — let Anton track usage
~/.anton/datasources.mdYour custom data-source engine definitions — Anton appends here when it builds a custom integration, and you can add your own. See Custom integrationsYes
~/.anton/scratchpad-venvs/Fallback location for scratchpad environments when no workspace path appliesNo — managed automatically; safe to delete

Rules of thumb

  • Markdown files are yours. Memory, topics, profile, skills' procedures, anton.md, datasources.md — open and edit freely. Anton picks up changes in the next conversation.
  • JSON and JSONL files are Anton's bookkeeping. Prefer the chat commands (/memory, /skill) over hand-editing them.
  • Environments are disposable. Anything under scratchpad-venvs/ can be deleted; Anton rebuilds what it needs.