Skip to Content
Jolli MemoryReference

Last Updated: 7/13/2026


Reference

The lookup surface for Jolli Memory. Configuration first, then every CLI command, then the agent support matrix. To fix a problem, see the Troubleshooting and FAQ doc.

Configuration

All configuration lives in ~/.jolli/jollimemory/config.json. The CLI, VS Code (including forks such as Cursor and Windsurf), and IntelliJ read from the same file. Secrets (apiKey, jolliApiKey, authToken) are masked when displayed.

Keys

KeyTypeDescriptionDefault
apiKeystringAnthropic API key (BYOK). Resolution order: config apiKey, then ANTHROPIC_API_KEY, then the Jolli proxy via jolliApiKey.none
aiProviderenum (anthropic, jolli)Pins which backend generates summaries. When unset, the resolver uses the order above. Set to jolli automatically when you sign in.auto
modelstringModel for summarization. Accepts an alias (sonnet, haiku, opus) or a full Anthropic model ID.sonnet (resolves to claude-sonnet-4-6)
maxTokensnumberMax output tokens per summarization call.8192
jolliApiKeystringJolli API key (sk-jol-...). Powers sign-in, the LLM proxy, and cloud features.none
authTokenstringOAuth token from jolli auth login.none
claudeEnabledbooleanEnable Claude Code session tracking.true
codexEnabledbooleanEnable Codex CLI session discovery.auto
geminiEnabledbooleanEnable Gemini CLI session tracking.auto
openCodeEnabledbooleanEnable OpenCode session discovery. Requires Node 22.5+.auto
cursorEnabledbooleanEnable Cursor (Composer) session discovery. Requires Node 22.5+.auto
copilotEnabledbooleanEnable GitHub Copilot CLI and VS Code Copilot Chat discovery. One shared switch. The Copilot CLI path requires Node 22.5+ (SQLite); the Copilot Chat path reads plain files and has no Node requirement.auto
globalInstructionsenum (enabled, disabled)Whether Jolli may write its skill-preference block into your machine-global AI instruction files; applied immediately when you set it. Unset means undecided.unset
logLevelenumdebug, info, warn, error.info
excludePatternsstring[]Globs for files to exclude from the Changes panel.none
localFolderstringMemory Bank root on disk. Every memory is dual-written here. Set it via the CLI or the editor Memory Bank settings.none
syncTranscriptsbooleanInclude raw transcripts in cloud sync, not just summaries.false
syncPollIntervalSecnumberAuto-sync poll interval in seconds (IntelliJ auto-sync). Range 5400 to 86400.5400 (90 min)
syncOnPushbooleanAuto-sync a branch’s Memories to its bound Jolli Space on every git push (via the pre-push hook).on when signed in
slack.workspaceUrlstringSlack workspace URL (https://<workspace>.slack.com) - fallback for Slack thread permalinks in references.none
telemetryenum (on, off)Content-free usage telemetry (attributable to your account only when signed in). Set it with the jolli telemetry on|off command, not jolli configure (it is not an accepted configure key).on

A few advanced keys are edited by hand in config.json and are not accepted by jolli configure: logLevelOverrides, compileExcludeFolders, syncConflictPolicy, and dcoSignoff.

Editing config from the CLI

jolli configure # show current config (secrets masked) jolli configure --list-keys # list every key with its type jolli configure --set model=sonnet --set maxTokens=16000 jolli configure --set excludePatterns=docs/**,*.log jolli configure --remove apiKey

Unknown keys and malformed values are rejected with exit code 1.

Environment variables

VariableWhat it does
ANTHROPIC_API_KEYFallback for Anthropic direct calls when no apiKey is set.
JOLLI_AUTH_TOKENRead-time OAuth-token override for CI and scripts.
ANTHROPIC_BASE_URLOverride the Anthropic API base URL (used by the official SDK). Default https://api.anthropic.com.
XDG_DATA_HOMEBase directory for OpenCode’s opencode/opencode.db. Default ~/.local/share.
DO_NOT_TRACKOpt out of usage telemetry: set to any non-empty value other than 0 (e.g. 1).
JOLLI_NO_PLUGINSSet to 1 to disable plugin discovery (the Site and Space commands).

CLI commands

Binary jolli, package @jolli.ai/cli. Most commands accept --cwd <dir> to run against a specific repo root.

Core

CommandWhat it doesKey flags
jolli enableInstall git hooks, agent hooks, the MCP server, and the recall skill.-y, --integrations-only, --cwd
jolli disableRemove all hooks. Stored memories are untouched.--cwd
jolli statusShow installation, credential, and session state.--json
jolli viewView memories. Compact list by default; full detail with --commit.--count <n> (default 10), --commit <ref>, --output <path>, --format <md|json>
jolli recallCompile branch context for an AI session. See flags below.--full, --budget, --catalog, --format
jolli searchSearch memories across every branch with BM25 ranking, in a single pass.--limit (default 20, max 100), --branch, --type <topic|commit>, --format <json|text>, --output <path>
jolli exportExport memories as Markdown to ~/Documents/jollimemory/<project>/ (a manual one-off dump, separate from the auto-maintained Memory Bank at ~/Documents/jolli/<repo>/).--commit <sha>, --project <name>
jolli configureManage config keys. See above.--set, --remove, --list-keys
jolli doctorDiagnose installation health. --fix releases stale locks, reinstalls missing hooks, and removes stale dist-path entries.--fix
jolli cleanRemove expired state (stale sessions, old queue entries, stale squash markers). Stored memories and transcripts are never deleted.--dry-run, -y

jolli view --commit <ref> accepts a numeric index (1 is the latest) or a commit SHA prefix. HEAD, branch names, and tags are not recognized (they resolve to nothing).

jolli recall flags

--full (full markdown instead of the short summary), --output <path> (implies --full), --depth <n>, --budget <tokens> (default 20,000), --include-transcripts, --no-plans, --catalog (list recorded branches), --format <md|json>. Pass a branch name or keyword as an argument, or omit it for the current branch. (The IntelliJ Recall skill requests a 30,000 budget instead of the 20,000 default.)

Auth & cloud

CommandWhat it doesKey flags
jolli auth loginSign in via browser OAuth and save a Jolli API key.
jolli auth logoutRemove the Jolli auth token and API key. Your Anthropic key is preserved.
jolli auth statusShow sign-in state.
jolli sync-memory-bankRun one Memory Bank cloud sync round. Needs a Jolli sign-in.--transcripts, --cwd
jolli pushPush this branch’s memories to a bound Jolli Space.--base, --space, --format json
jolli spacesList the Jolli Spaces you can bind to.--format json
jolli bindBind this repo to a Jolli Space.--space (required), --repo-name

Memory Bank cloud sync is on-demand. Run it from the CLI with jolli sync-memory-bank, or from the VS Code Settings page. IntelliJ can also sync automatically on a schedule, controlled by its Settings toggle. The only precondition is a valid jolliApiKey. In a terminal, jolli sync-memory-bank prompts you to resolve each conflict (mine / theirs / view diff / skip); only in a non-interactive shell (a hook or CI) does it skip conflicting files and print their paths for you to resolve in your editor.

To publish memories to a team Jolli Space, run jolli bind once, then jolli push. The VS Code and IntelliJ editors offer the same publish per memory through the Share in Jolli action.

Knowledge & maintenance

CommandWhat it doesKey flags
jolli compileFold commit memories into per-topic wiki pages. Runs automatically after each commit.--rebuild (requires --cwd), --cwd
jolli graphExport the knowledge graph to a self-contained HTML file.--export <path>, --open, --cwd
jolli heal-folderRe-render missing Markdown in the Memory Bank folder from the canonical JSON. No LLM call.--cwd
jolli backfillCreate memories for commits made before you enabled Jolli. Claude transcripts only.--last <n> (default 20), --all, --dry-run, --min-confidence <high|medium|low> (default low), --format <text|json>

jolli compile and jolli graph require an API key, the same one used for summary generation.

MCP

jolli mcp starts a Model Context Protocol server over stdio so AI agents can query your memories directly. jolli enable registers it into every detected host (the IntelliJ plugin too, when a compatible Node runtime is available), and each host picks it up on its next start with no manual setup. For the per-host config-file locations, see the Connect Memory to Your AI Assistant (MCP) doc.

jolli mcp # start the server (normally launched by your agent) jolli mcp --reindex # rebuild the local search index and exit

The server exposes nine tools:

ToolPurpose
searchFull-text search over your historical decisions and implementations.
recallLoad a branch’s complete context.
get_decision_timelineTrace how one decision evolved across commits.
list_branchesCatalog of branches that have memories.
get_pr_descriptionBuild a PR title and body from a branch’s memories.
queue_statusReport whether summary generation is still in progress.
bind_spaceBind this repo to a Jolli Space.
list_spacesList the Jolli Spaces you can bind to.
push_memoryPush a branch’s memories to the bound Jolli Space.

Two more commands, jolli pr-description and jolli queue-status, exist mainly for skills and agents. They mirror the matching MCP tools.

Telemetry

Usage telemetry is content-free and on by default. It carries no account identifier, though signed-in events upload under your Jolli key, so they can be attributed to your account on our end.

CommandWhat it does
jolli telemetry statusShow whether telemetry is on, plus the install ID and buffered event count.
jolli telemetry onOpt in.
jolli telemetry offOpt out. No events are collected or sent.
jolli telemetry inspectPrint the exact buffered events that would be sent.

You can also opt out by setting DO_NOT_TRACK=1. See https://jolli.ai/telemetry  for the full event list.

IDE commands

The editor extensions expose the same actions in a sidebar. In VS Code (and forks such as Cursor and Windsurf) open the Command Palette (Cmd/Ctrl+Shift+P) and filter on Jolli Memory; in IntelliJ use Find Action (Cmd/Ctrl+Shift+A). The main commands and their CLI equivalents:

CommandWhat it doesCLI equivalent
Enable / Disable Jolli MemoryInstall or remove the hooks in this repojolli enable / jolli disable
Sign In to Jolli / Sign Out of JolliManage your Jolli credentialjolli auth login / jolli auth logout
StatusOpen the Status overlayjolli status
SettingsOpen the settings paneljolli configure
AI CommitGenerate a commit message from the staged diffeditor only
Squash SelectedSquash selected commits and merge their Memorieseditor only
Search Memories / Clear FilterSubstring filter over the Memories listjolli search (full-text)
Sync Memory Bank NowRun one Memory Bank cloud syncjolli sync-memory-bank
Build Knowledge WikiCompile commit memories into topic pagesjolli compile
View Knowledge GraphOpen the knowledge-graph viewjolli graph
Add Plan / Add Markdown File / Add Text SnippetAttach a plan or note to the brancheditor only
Share Memory / Share BranchPublish memories to a team Jolli Spacejolli push

Create PR lives in the branch footer of the sidebar, not the palette. The IntelliJ settings page at Settings > Tools > Jolli Memory exposes the Anthropic API key, model, and Jolli API key; other keys are managed via the CLI or by editing config.json directly.

Agent support matrix

Jolli Memory captures seven sources across six assistants. Each has a config toggle in the keys table above (claudeEnabled, codexEnabled, geminiEnabled, openCodeEnabled, cursorEnabled, and copilotEnabled - the last covers both GitHub Copilot sources). Claude Code and Gemini CLI capture through an agent hook, so restart them after jolli enable; the other five are discovered at commit time and need no hook or restart. For each source’s capture mechanism, session location, and Node 22.5+ requirement, see the Supported AI Assistants and Capture doc.

Troubleshooting

If something is not working, run this first:

jolli doctor # checklist of hook, credential, and queue state jolli doctor --fix # release stale locks and reinstall missing hooks

For specific problems, such as summaries not generating, sign-in failures, or sync and Share in Jolli errors, see the Troubleshooting and FAQ doc. If you still need help, email support@jolli.ai with your jolli doctor output.