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
| Key | Type | Description | Default |
|---|---|---|---|
apiKey | string | Anthropic API key (BYOK). Resolution order: config apiKey, then ANTHROPIC_API_KEY, then the Jolli proxy via jolliApiKey. | none |
aiProvider | enum (anthropic, jolli) | Pins which backend generates summaries. When unset, the resolver uses the order above. Set to jolli automatically when you sign in. | auto |
model | string | Model for summarization. Accepts an alias (sonnet, haiku, opus) or a full Anthropic model ID. | sonnet (resolves to claude-sonnet-4-6) |
maxTokens | number | Max output tokens per summarization call. | 8192 |
jolliApiKey | string | Jolli API key (sk-jol-...). Powers sign-in, the LLM proxy, and cloud features. | none |
authToken | string | OAuth token from jolli auth login. | none |
claudeEnabled | boolean | Enable Claude Code session tracking. | true |
codexEnabled | boolean | Enable Codex CLI session discovery. | auto |
geminiEnabled | boolean | Enable Gemini CLI session tracking. | auto |
openCodeEnabled | boolean | Enable OpenCode session discovery. Requires Node 22.5+. | auto |
cursorEnabled | boolean | Enable Cursor (Composer) session discovery. Requires Node 22.5+. | auto |
copilotEnabled | boolean | Enable 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 |
globalInstructions | enum (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 |
logLevel | enum | debug, info, warn, error. | info |
excludePatterns | string[] | Globs for files to exclude from the Changes panel. | none |
localFolder | string | Memory Bank root on disk. Every memory is dual-written here. Set it via the CLI or the editor Memory Bank settings. | none |
syncTranscripts | boolean | Include raw transcripts in cloud sync, not just summaries. | false |
syncPollIntervalSec | number | Auto-sync poll interval in seconds (IntelliJ auto-sync). Range 5400 to 86400. | 5400 (90 min) |
syncOnPush | boolean | Auto-sync a branch’s Memories to its bound Jolli Space on every git push (via the pre-push hook). | on when signed in |
slack.workspaceUrl | string | Slack workspace URL (https://<workspace>.slack.com) - fallback for Slack thread permalinks in references. | none |
telemetry | enum (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 apiKeyUnknown keys and malformed values are rejected with exit code 1.
Environment variables
| Variable | What it does |
|---|---|
ANTHROPIC_API_KEY | Fallback for Anthropic direct calls when no apiKey is set. |
JOLLI_AUTH_TOKEN | Read-time OAuth-token override for CI and scripts. |
ANTHROPIC_BASE_URL | Override the Anthropic API base URL (used by the official SDK). Default https://api.anthropic.com. |
XDG_DATA_HOME | Base directory for OpenCode’s opencode/opencode.db. Default ~/.local/share. |
DO_NOT_TRACK | Opt out of usage telemetry: set to any non-empty value other than 0 (e.g. 1). |
JOLLI_NO_PLUGINS | Set 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
| Command | What it does | Key flags |
|---|---|---|
jolli enable | Install git hooks, agent hooks, the MCP server, and the recall skill. | -y, --integrations-only, --cwd |
jolli disable | Remove all hooks. Stored memories are untouched. | --cwd |
jolli status | Show installation, credential, and session state. | --json |
jolli view | View memories. Compact list by default; full detail with --commit. | --count <n> (default 10), --commit <ref>, --output <path>, --format <md|json> |
jolli recall | Compile branch context for an AI session. See flags below. | --full, --budget, --catalog, --format |
jolli search | Search 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 export | Export 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 configure | Manage config keys. See above. | --set, --remove, --list-keys |
jolli doctor | Diagnose installation health. --fix releases stale locks, reinstalls missing hooks, and removes stale dist-path entries. | --fix |
jolli clean | Remove 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
| Command | What it does | Key flags |
|---|---|---|
jolli auth login | Sign in via browser OAuth and save a Jolli API key. | |
jolli auth logout | Remove the Jolli auth token and API key. Your Anthropic key is preserved. | |
jolli auth status | Show sign-in state. | |
jolli sync-memory-bank | Run one Memory Bank cloud sync round. Needs a Jolli sign-in. | --transcripts, --cwd |
jolli push | Push this branch’s memories to a bound Jolli Space. | --base, --space, --format json |
jolli spaces | List the Jolli Spaces you can bind to. | --format json |
jolli bind | Bind 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
| Command | What it does | Key flags |
|---|---|---|
jolli compile | Fold commit memories into per-topic wiki pages. Runs automatically after each commit. | --rebuild (requires --cwd), --cwd |
jolli graph | Export the knowledge graph to a self-contained HTML file. | --export <path>, --open, --cwd |
jolli heal-folder | Re-render missing Markdown in the Memory Bank folder from the canonical JSON. No LLM call. | --cwd |
jolli backfill | Create 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 exitThe server exposes nine tools:
| Tool | Purpose |
|---|---|
search | Full-text search over your historical decisions and implementations. |
recall | Load a branch’s complete context. |
get_decision_timeline | Trace how one decision evolved across commits. |
list_branches | Catalog of branches that have memories. |
get_pr_description | Build a PR title and body from a branch’s memories. |
queue_status | Report whether summary generation is still in progress. |
bind_space | Bind this repo to a Jolli Space. |
list_spaces | List the Jolli Spaces you can bind to. |
push_memory | Push 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.
| Command | What it does |
|---|---|
jolli telemetry status | Show whether telemetry is on, plus the install ID and buffered event count. |
jolli telemetry on | Opt in. |
jolli telemetry off | Opt out. No events are collected or sent. |
jolli telemetry inspect | Print 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:
| Command | What it does | CLI equivalent |
|---|---|---|
| Enable / Disable Jolli Memory | Install or remove the hooks in this repo | jolli enable / jolli disable |
| Sign In to Jolli / Sign Out of Jolli | Manage your Jolli credential | jolli auth login / jolli auth logout |
| Status | Open the Status overlay | jolli status |
| Settings | Open the settings panel | jolli configure |
| AI Commit | Generate a commit message from the staged diff | editor only |
| Squash Selected | Squash selected commits and merge their Memories | editor only |
| Search Memories / Clear Filter | Substring filter over the Memories list | jolli search (full-text) |
| Sync Memory Bank Now | Run one Memory Bank cloud sync | jolli sync-memory-bank |
| Build Knowledge Wiki | Compile commit memories into topic pages | jolli compile |
| View Knowledge Graph | Open the knowledge-graph view | jolli graph |
| Add Plan / Add Markdown File / Add Text Snippet | Attach a plan or note to the branch | editor only |
| Share Memory / Share Branch | Publish memories to a team Jolli Space | jolli 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 hooksFor 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.
Related
- Getting Started with Jolli Memory - install, sign in, and your first Memory.
- Troubleshooting and FAQ - fixes for the common problems, and what data goes where.
- Supported AI Assistants and Capture - how each assistant’s sessions are captured.
- Jolli Memory in CI and Automation - headless auth, waiting for summaries, env vars, and backfill.