augment¶
Augment is a closed-source coding agent with a command-line surface, the auggie CLI
(@augmentcode/auggie on npm), a VS Code extension (augment.vscode-augment) and a JetBrains
plugin. Its parser is in the backlog
(issue 55).
Source and evidence¶
Closed source. Evidence, in order of weight:
- Shipped bundle
@augmentcode/auggie0.36.0, fetched withnpm pack: a single minifiedpackage/augment.mjs, 13 MB, 8201 lines. Line numbers are meaningless; claims cite the literal string found withgrep -a. - Official docs at docs.augmentcode.com (
/cli/setup-auggie/authentication,/cli/rules,/cli/integrations,/cli/custom-commands,/cli/setup-auggie/workspace-indexing,/troubleshooting/logs), fetched 2026-10-03.
The VS Code extension augment.vscode-augment was not unpacked; its state is
whatever sits in the editor's globalStorage/augment.vscode-augment, covered
by the vscode entries.
Observed¶
No real install.
Source reviews¶
None.
Collection¶
Per-user storage¶
~/.augment on every OS: the bundle joins os.homedir() with ".augment"
(homedir(),".augment" appears 20+ times); a config key augmentCacheDir
can override it (augmentCacheDir||...join(homedir(),".augment")). No XDG,
Library or AppData branches exist in the bundle.
Files and directories (bundle literals ".augment","<name>"):
session.json: OAuth session (AuthSessionStore,join(r,"session.json")).sessions/<conversationId>.json: full conversations (join(_u(),".augment","sessions"); session store writesthis.sessionsDir,`${e}.json`; conversation ids are[A-Za-z0-9_-]).prompt-history.jsonl:{message}lines, capped at 500 (wBo="prompt-history.jsonl",yfr=500); directory argument is the~/.augmentstate dir.settings.json(MCP servers, model, rules; docs/cli/integrations),feature-config.json,disabled-skills.json.rules/,commands/,agents/,skills/,plans/(help text:"~/.augment/rules/","~/.augment/commands/","~/.augment/agents"; docs/cli/rules,/cli/custom-commands).plugins/marketplaces/(plugin clones).binaries/(downloaded helper binaries),vfs/<space>(virtual filesystem mirror,AUGMENT_VFS_DIRoverrides),knowledgebase/(synced knowledge base:"Sync the knowledgebase to ~/.augment/knowledgebase/"),uploads/,worktrees/(agent git worktrees,worktreeDir??join(n,"worktrees")),daemon/<sha256(workspace)[:12]>/state.json,daemon/locks/<uuid>.json.- Also reads
~/.claude/commands,~/.agents/commands,AGENTS.md,CLAUDE.md(docs/cli/custom-commands,/cli/rules).
Logs are not under home: $TMPDIR/augment-log.txt, augment-daemon.txt,
%TEMP%\augment-log.txt (bundle tmpdir(),"augment-log.txt"; docs
/troubleshooting/logs).
Scratch directories¶
The agent's own working space is ~/.augment/worktrees/ (its git worktrees, listed above and
excluded in Exclusions) and, outside the home, tmpdir()/.augment/... in the
system temp directory.
Environment variables¶
AUGMENT_SESSION_AUTH (session JSON inline),
AUGMENT_API_TOKEN, AUGMENT_API_URL, AUGMENT_VFS_DIR,
AUGMENT_WORKSPACE_ROOT, AUGMENT_ANTHROPIC_API_KEY,
AUGMENT_OPENAI_API_KEY, AUGMENT_FIREWORKS_API_KEY, AUGMENT_BEDROCK_API_KEY
(all literal in the bundle). Shell histories may carry these.
Credentials¶
~/.augment/session.json:{accessToken, tenantURL, scopes}(bundleaccessToken:t.accessToken,tenantURL:t.tenantURL,scopes:...), written mode 0600 and copied into daemon sandboxes assession.json. The docs call this "the session JSON" and advise treating it as a secret (/cli/setup-auggie/authentication); the TUI tells users to paste the file into a GitHub secret.~/.augment/settings.jsonand project.augment/settings.json,.augment/settings.local.json: MCPmcpServerswith env/headers.- No OS keychain use found in the bundle (no
keytar/securitystrings).
Exclusions¶
.augment/binaries, .augment/vfs, .augment/knowledgebase,
.augment/uploads, .augment/worktrees, .augment/plugins/marketplaces.
Keep daemon/ (small state and locks with workspace hashes).
Project-local files¶
.augment/rules/*.md, .augment/commands/<name>.md, .augment/agents/,
.augment/skills/<name>/SKILL.md, .augment/settings.json,
.augment/settings.local.json, .augment-guidelines, .augmentignore,
.augment-plugin (plugin manifest), .augment-setup.sh; also .claude/commands,
.agents/commands, AGENTS.md, CLAUDE.md (bundle literals; docs
/cli/rules, /cli/custom-commands, /cli/setup-auggie/workspace-indexing).
No per-project database; the code index is server-side ("Augment stores
your code securely", docs) with only vfs/ mirrors locally.
Where the project path is recorded¶
sessions/<id>.json carries workspaceRoot next to conversationId
(bundle conversationId:n,workspaceRoot:r; telemetry objects use the same
pair). daemon/<hash>/state.json keys the workspace by a
truncated sha256 and is not reversible.
Parsing¶
Augment is backlog: the auggie CLI keeps full conversations and a prompt history on disk
(Per-user storage), and the parser is
issue 55.
Confidence¶
- High (bundle literal): the
~/.augmentroot,session.jsonand its fields,sessions/<id>.json,prompt-history.jsonl, the six excluded directories,settings.json, the project dotfiles and the environment variable names. - Medium (bundle context only): that
sessions/is the conversation store rather than a cache, and thatworkspaceRootis persisted in the session file; the session file's exact JSON shape and key path cannot be verified without a live file. - Low: anything about the VS Code extension's globalStorage layout and the JetBrains plugin, and
the source of the
augmentCacheDirconfig key (settings.jsonor a flag).