Axon · v5.6.0

Axon

User Manual: indexing a codebase, asking questions from the command line, the Explorer and your AI assistant, and managing your subscription

Audience
developers who use Axon day to day
Covers
indexing with code-index, the MCP tools, the Explorer, CLI commands, every supported language including COBOL, JCL, BMS and CICS, language servers, semantic vectors, every setting and environment variable, subscribing, trial, activation, devices, recovery, troubleshooting

Contents

2
3

What Axon does

Axon reads your code once and builds a graph: which modules, types and functions exist, who calls whom, which tests, endpoints, commands and tables they reach, and which commits touched them. You then ask questions in three ways, all backed by the same local index:

Everything runs on your machine and is read-only: Axon never writes into your repositories. The only network use is licensing, and only for projects over 10,000 lines of code (see Subscribing).

Installing

This manual assumes axon is installed and on your PATH (axon version works). See the Installation Manual otherwise.

4

Quick start

  1. Index a folder

    axon index ~/src/app

    A target is a folder or a .code-workspace file. Progress goes to stderr; the result goes to stdout.

  2. Check it

    axon doctor --target ~/src/app
  3. Ask

    cd ~/src/app
    axon search "payment retry policy"
    axon callers PaymentService --depth 2
    axon impact PaymentService

    From another folder, name the target: axon --target ~/src/app search "feature flag".

  4. Explore or connect your assistant

    axon explore ~/src/app
5

Indexing a codebase

Indexing (axon index, or the code-index MCP tool) scans the target, parses every supported file and links the pieces into a graph. It runs in eight phases:

6

On a terminal each phase shows a live line that becomes a summary, for example:

==> scan: 3866 files discovered, 3866 to index, 0 skipped, 512340 lines of code
==> index run #1 (manual): 3866 files
✔︎ filesystem  3866/3866 files  0.8s
✔︎ tree_sitter 3866/3866 files  39.4s
==> Phase 4/8: resolver  ██████████░░░░░░░░░░ 1930/3866 files  50%  46 files/s  ETA 42.1s

A full 8-phase index of ~4,000 files (~1M lines of code) takes roughly 1.5–2.5 minutes on an Apple Silicon laptop; incremental re-indexes after edits take under a second. Pass --skip-if-locked (used by editor hooks) to exit cleanly when another index run is already in progress.

Checking the result

axon doctor prints one line per check: database (the index was built, with file, node and edge counts), git, loc (your line count, and whether a license is required above 10,000), vector and one lsp:* line per language server. config [missing] only means you have not changed a setting yet.

Multi-repository workspaces

Index a VS Code .code-workspace file and each of its folders becomes a federated repository, with edges between repositories and a --repo filter on queries:

axon index ~/src/platform.code-workspace
axon --target ~/src/platform.code-workspace search "sharedLogic" --repo api
7

Asking questions: the CLI commands

Query commands only read the index. Names are positional (axon callers loadUser). When a name matches several symbols, the command still succeeds (exit code 0): the result has ambiguous: true and lists the candidates with their ids and qualified names; repeat it with one of them, or narrow with --kind or --lang. With --format json, every query result carries a freshness block that says how many indexed files changed on disk since the index was built (nodes in them are marked stale); the command never re-indexes.

GoalCommand
Hybrid search (names, text, graph, and semantic vectors when enabled)axon search "payment retry policy" --limit 20
Text search with filtersaxon grep TODO --type rust --context 2
Several patterns, file names onlyaxon grep -i -e retry -e backoff -l
Find a symbolaxon symbol PaymentService
Jump to a definitionaxon definition PaymentService
Find references (alias refs)axon references PaymentService
Who calls itaxon callers PaymentService --depth 2
What it callsaxon callees PaymentService --depth 2
Neighborhood graphaxon graph PaymentService --direction incoming --depth 2
Paths between two symbolsaxon trace listUsers loadUser --max-paths 5
Blast radius of a changeaxon impact loadUser saveUser --depth 3
What my branch reaches (tests to run, endpoints, commands, pages, tables)axon impact --since main (or --format mermaid)
Type supertypes, subtypes and method overridesaxon hierarchy Repository
Tests exercising a symbol, nearest firstaxon tests loadUser
Functions nothing calls (candidates)axon unused --path src
AI-ready context within a token budget (or legacy COBOL/VB.NET dossier)axon context loadUser --task "Explain the request flow" --tokens 4000
axon context AccountProg --mode legacy-dossier
Read a slice of a fileaxon file src/main.rs --start-line 1 --end-line 80
Recent commits for a symbolaxon history loadUser --limit 5
Complexity-weighted git hotspots & single-author silosaxon hotspots --limit 10
8
GoalCommand
Communities, layers and cyclesaxon architecture
Deterministic PageRank & Louvain orientation reportaxon report (axon report --output GRAPH_REPORT.md)
Diff-scoped architecture, cycle, complexity & impact safeguardsaxon check --diff (axon check --diff --format sarif)
Health of the target, with adviceaxon doctor, axon doctor --fix
Show or change a settingaxon config show, axon config set lsp.enabled true (see Settings reference)
List or clean stored indexes and shared vector cacheaxon indexes, axon indexes purge, axon cache stats
Configure MCP clients, Claude hooks & IDE deeplinksaxon setup claude --hooks, axon setup --deeplink
Shell completionsaxon completions zsh
9

Using Axon from your AI assistant (axon serve)

axon serve is Axon's MCP 2.0 compliant (protocol 2026-07-28, with backward compatibility for older revisions) Model Context Protocol server. Register it in one command with axon setup (recommended), or add it manually to your MCP client (Claude Desktop, Claude Code, Cursor, VS Code, Codex, Copilot CLI):

axon setup claude --hooks    # register MCP server + PostToolUse auto-reindex hook
axon setup cursor            # or vscode / codex
axon setup --deeplink        # print clickable cursor:// and vscode:mcp/install URIs
{
  "mcpServers": {
    "axon": {
      "command": "/absolute/path/to/axon",
      "args": ["serve"]
    }
  }
}

Why axon serve beats raw grep and file reads

Every tool except code-indexes needs a target: the absolute path of a folder or .code-workspace file (~ is not expanded). So name the project, or its path, in your prompt. Read tools need the target to be indexed; ask the assistant to run code-index first, or run axon index yourself.

10
ToolAsk your assistant
code-search"Search this repo for the payment retry policy."
code-grep"Find TODO in Rust files with two lines of context."
code-symbol, code-definition"Where is PaymentService defined?"
code-references"Where is PaymentService referenced?"
code-callers, code-callees"Who calls PaymentService? What does it call?"
code-graph"Expand the graph around PaymentService."
code-trace"Trace from loadUser to listUsers."
code-impact"What could break if I change loadUser?" or, with since, "Which tests and endpoints does my branch reach?"
code-hierarchy"What does Repository implement, and what implements it?"
code-tests"Which tests exercise loadUser?"
code-unused"Which functions does nothing call?"
code-context"Build context for loadUser" (symbol), "Summarize this repo" (repo_report), or "Build a legacy dossier for AccountProg" (legacy_dossier).
code-file"Read src/main.rs lines 1 through 80."
code-history"Show recent history, complexity hotspots, co-changes or bus factor for loadUser."
code-architecture"Summarize the architecture clusters, layers and cycles."
code-safeguard"Check my uncommitted diff for architecture breaks, cycles or complexity spikes."
code-doctor"Check this target's setup and tell me what to fix."
code-index, code-index-status"Re-index this project." "Is indexing still running?"
code-indexes"Which folders are indexed?"
axon-explore"Launch the Explorer and give me the URL."
11

MCP 2.0 skills, tasks, prompts and resources

Alongside the 23 tools, axon serve implements full MCP 2.0 capabilities:

12

The Explorer

axon explore ~/src/app
axon explore ~/src/app --port 4000 --no-open

The target must be indexed. Axon prepares a graph snapshot, prints a URL on stdout and opens it in your browser (--no-open only prints it). It serves on loopback only, one Explorer per target, and stops with Ctrl+C.

The Axon Explorer: the header shows the target name and 1387 nodes and 2049 edges; the left pane lists the workspace tree and the visible nodes; the centre is the graph
The Explorer: workspace tree and visible nodes on the left, the graph in the centre, details on the right.
13
A selected function in the Explorer: the details pane shows its signature, file and line range, its source code, and buttons to expand hidden neighbours and show tests
Selecting a symbol shows its signature, location, source and every connection, grouped by relation.

The details pane lists every edge of the selected node (Calls and Called by, Imports and Imported by, Changed by, and so on) with counts; the + next to a group draws only that relation. Neighbours the index could not resolve appear as (unresolved) or (external). Expand makes the details pane fill the window.

14
The Explorer in the Architecture lens, showing the codebase grouped into communities and layers
The Architecture lens groups the code into communities and layers and shows cycles.
15

Supported languages

Axon recognizes a file by its extension, in any letter case (PROG.CBL works), or by its name. Source languages are parsed into symbols (modules, types, functions, methods, variables) and the calls, imports and references between them. The language server column names the optional server that adds compiler-grade evidence (LSP enrichment) and its key under lsp.servers.

LanguageFilesLanguage server (key)
Rust.rsrust-analyzer (rust)
TypeScript.ts, .tsxtypescript-language-server or TypeScript 7's tsc --lsp (typescript)
JavaScript.js, .jsx, .mjs, .cjsthe TypeScript server (typescript)
Python.py, .pywpyright-langserver (python)
C#.csRoslyn language server or csharp-ls (csharp)
Visual Basic .NET.vbvb-ls (vbnet)
Java.javajdtls (java)
Kotlin.kt, .ktskotlin-language-server (kotlin)
C.c, .h (a header with C++ code is read as C++)clangd (c)
C++.cc, .cpp, .cxx, .hpp, .hh, .hxx, .ipp, .tppclangd (cpp)
Go.gogopls (go)
Swift.swiftsourcekit-lsp (swift)
Dart.dartdart language-server (dart)
PHP.php, .phtmlintelephense (php)
Ruby.rb, .rake, .gemspec, and Rakefile, Gemfile, Guardfile, Capfile, Podfile, Vagrantfileruby-lsp (ruby)
Perl.pl, .pm, .t, .psgi, .plx, and scripts with no extension whose first line is a perl shebangperlnavigator (perl)
COBOL (IBM Enterprise COBOL with CICS, DB2 and IMS).cbl, .cob, .cobol (programs), .cpy, .copy (copybooks), .dcl (DCLGEN members)none
16
LanguageFilesLanguage server (key)
JCL (jobs and procedures).jcl, .proc, .jclproc, and a .prc whose first line starts with //none
CICS BMS map sources.bmsnone
CICS resource definitions (CSD exports from DFHCSDUP).csdnone
SQL: DB2, T-SQL, Oracle PL/SQL, PostgreSQL, MySQL.sql, .ddl, .pks, .pkb, .pls, .pck, .prc, .fnc, .trg, .psqlnone (dialect: sql.dialect)
Configuration.toml, .yaml, .yml, .json, .jsonc, .ini, .cfg, .conf, .xml, .properties, .prisma, .env files, Dockerfilenone: indexed for search, settings, environment variables and services
Pages, templates, styles and UI markup.html, .htm, .xhtml, .css, .scss, .sass, .less, .cshtml, .razor, .aspx, .ascx, .jsp, .jspx, .vue, .svelte, .astro, .xaml, .axaml, .erb, .hbs, .handlebars, .mustache, .ejs, .pug, .njk, .jinja, .jinja2, .j2, .twig, .liquidnone: indexed as text (search, grep and the names they mention), not parsed into symbols

Every source language above counts toward the 10,000 lines of the free limit, including COBOL, JCL, BMS and SQL. Configuration files, markup and .csd exports do not count.

Beyond symbols, Axon recognizes entry points and data access: HTTP endpoints (Express, ASP.NET, Spring, FastAPI and Flask, gin, net/http), CLI commands (clap, click, typer, argparse, cobra, commander and more), table reads and writes (SQL in code, Entity Framework, SQLAlchemy, Django, JPA, Prisma, TypeORM, Diesel, GORM and others), stored procedures and triggers, and pages. That is what lets axon impact say which endpoint or command a deep change reaches.

COBOL and the mainframe

Axon reads IBM Enterprise COBOL with the CICS, DB2 and IMS code embedded in it, next to the other languages, together with the JCL, BMS and CSD sources around it. Both COBOL formats are read: fixed (sequence area in columns 1 to 6, indicator in column 7, text up to column 72) and free (>>SOURCE FORMAT FREE or $SET SOURCEFORMAT"FREE"). A file that declares neither is read as fixed.

17
In the sourceIn the graph
PROGRAM-IDa module (nested and several per file work)
Section, paragrapha function
Level 01 and 77 data itemsa structure (group item) or a variable
PERFORM (with THRU), GO TO, falling into the next paragraphcalls between paragraphs, tagged perform, goto or fallthrough
CALL, EXEC CICS LINK and XCTLcalls to a program; a call through a variable links to every program name it can hold
EXEC CICS HANDLE ABEND LABEL, HANDLE CONDITION, HANDLE AIDcalls to the paragraph CICS jumps to, tagged cics_handle
COPY, EXEC SQL INCLUDEan import of the copybook
EXEC SQLa query with DB2 table reads and writes
DCLGEN DECLARE ... TABLEthe table and its columns, so programs link to it without DDL in the repository
EXEC DLIIMS segment access
CICS file reads and writes, SEND and RECEIVE MAPreads and writes to CICS files and BMS maps
JCL JOB and PROCa module for the job or procedure
JCL EXEC PGM=, EXEC PROC=a step that calls the COBOL program, an IBM utility (IDCAMS, SORT, ...) or the procedure
JCL DD DSN=... DISP=reads (SHR), writes (NEW, MOD) or both (OLD) of the dataset; temporary datasets are skipped
BMS DFHMSD, DFHMDIthe mapset and its maps, with their field names
CSD DEFINE FILE ... DSNAMEthe CICS file, linked to its dataset, so a program reading the file connects to the job steps that read the dataset
CSD DEFINE TRANSACTION ... PROGRAMa transaction that calls the program
axon callers 9000-READ-ACCT --depth 2      # who performs, jumps to or falls into it
axon grep -t cobol "EXEC SQL"              # COBOL files only
axon grep -t jcl "DSN=PROD.ACCT"           # JCL files only
axon callers ACCTDAT --relation READS     # paragraphs that read a CICS file
axon impact carddemo.transaction_type      # blast radius of a DB2 table
axon impact --since main
18
19

Optional features

LSP enrichment

Language servers add compiler-grade evidence to the graph (resolved calls, references and types). It is off by default.

  1. Install the servers you need

    KeyInstall
    rustrustup component add rust-analyzer
    typescript (also JavaScript)npm install -g typescript-language-server typescript
    pythonnpm install -g pyright (macOS: brew install pyright)
    csharpdotnet tool install --global roslyn-language-server --prerelease, or dotnet tool install --global csharp-ls
    vbnetdotnet tool install -g vb-ls
    javabrew install jdtls, or eclipse.jdt.ls from your package manager (needs a JDK)
    kotlinbrew install kotlin-language-server, or from your package manager (needs a JDK)
    c, cppmacOS: xcode-select --install or brew install llvm; Linux: apt install clangd
    gogo install golang.org/x/tools/gopls@latest (macOS: brew install gopls)
    swiftships with Xcode and the Swift toolchain
    dartships with the Dart SDK and Flutter (brew install dart-sdk)
    phpnpm i -g intelephense
    rubygem install ruby-lsp
    perlnpm i -g perlnavigator-server
20
  1. Turn it on for the target and re-index

    axon config set lsp.enabled true --target ~/src/app
    axon index ~/src/app
    axon doctor --target ~/src/app

    doctor shows one lsp:<key> line per language in the target, with the server it found or how to install it.

Semantic vectors

Vectors let search find a symbol from a paraphrase ("where do we retry failed payments" finds PaymentRetryPolicy). They are off by default and unavailable on Intel macOS.

axon config set storage.vectors true --target ~/src/app
axon index ~/src/app
21

Settings reference

Settings belong to a target (a folder or a .code-workspace file). They live in config.toml in the target's storage directory inside Axon's data directory, never in the repository; axon doctor prints its path. Unchanged settings keep their defaults, so the file only exists once you set something.

axon config show                          # every setting of the current folder's target
axon config show lsp                      # one section
axon config show storage.vectors          # one key
axon config set storage.vectors true      # change it (creates config.toml if needed)
axon --target ~/src/app config set sql.dialect plsql
axon doctor --fix                         # apply the setting changes doctor suggests
22

Indexing and vectors (storage)

KeyDefaultValues and effect
storage.vectorsfalsetrue embeds symbols with the semantic model while indexing (Semantic vectors). Example: axon config set storage.vectors true
storage.embed_bodiestrueWith vectors: add an excerpt of each function body to its embedding. false embeds signatures and docs only; the symbols are re-embedded once.
storage.embed_docstrueWith vectors: embed Markdown and other documentation by section. false deletes those chunks on the next index.
storage.embed_file_chunkstrueWith vectors: embed windows of code, script, SQL and config files that no symbol covers. false deletes those chunks on the next index.
storage.vector_dimension768Internal fallback; the semantic model always uses 384 dimensions. Leave it unchanged.
storage.index_file_contentfalseInternal storage option. Leave it unchanged.
23

Embedding model (embeddings)

KeyDefaultValues and effect
embeddings.modelbge-smallbge-small (BAAI/bge-small-en-v1.5), bge-small-q (its quantized build: a smaller file, same quality, not faster on Apple Silicon) or minilm (all-MiniLM-L6-v2: about 1.8 times faster, lower quality on some code). Changing it makes the next axon index embed everything again; search always uses the model the index was made with. Example: axon config set embeddings.model minilm
embeddings.devicecpucpu, auto (the best accelerator this build has, else the CPU), cuda (NVIDIA, builds with CUDA support), coreml (Apple Silicon; works but measured much slower than the CPU) or directml (Windows). Changing it re-embeds nothing. An accelerator that cannot be used falls back to the CPU with one warning, which doctor shows. Example: axon config set embeddings.device auto

SQL (sql)

KeyDefaultValues and effect
sql.dialectautoauto, tsql, plsql, postgres or mysql: how SQL files are read. A line -- axon:dialect=plsql in a file always wins; with auto, the extension and the content decide. Applies to files as they are indexed. Example: axon config set sql.dialect tsql
24

Language servers (lsp)

KeyDefaultValues and effect
lsp.enabledfalsetrue runs the installed language servers while indexing (LSP enrichment).
lsp.request_timeout_ms5000Milliseconds each request to a server may take. Raise it for slow servers.
lsp.initialize_timeout_ms30000Milliseconds a server may take to start; jdtls needs several seconds.
lsp.ready_timeout_ms300000Milliseconds indexing waits for a started server to finish loading the project. rust-analyzer can take minutes on a large workspace.
lsp.servers.<key>.enabledonfalse turns one server off and keeps the others.
lsp.servers.<key>.commandthe default programThe program to start: a name found on PATH or an absolute path. Use an absolute path when an editor or MCP client starts Axon with a short PATH.
lsp.servers.<key>.argsthe default argumentsThe arguments, as a TOML list.
lsp.servers.csharp.serverRoslyn when installed, else csharp-ls"roslyn" or "csharp-ls". Ignored when command is set.
25

The keys are rust, typescript, python, csharp, vbnet, java, kotlin, c, cpp, go, swift, dart, php, ruby and perl. Their default programs and arguments:

KeyDefault command and arguments
rustrust-analyzer
typescripttsc --lsp --stdio when the tsc on PATH is TypeScript 7 or later, else typescript-language-server --stdio
pythonpyright-langserver --stdio
csharpRoslyn language server, else csharp-ls
vbnetvb-ls --stdio --autoLoadProjects (also found in ~/.dotnet/tools)
javajdtls
kotlinkotlin-language-server
c, cppclangd
gogopls
swiftsourcekit-lsp
dartdart language-server
phpintelephense --stdio
rubyruby-lsp (also found in RubyGems' executable folders)
perlperlnavigator --stdio
axon config set lsp.servers.go.command /Users/you/go/bin/gopls   # gopls outside the PATH
axon config set lsp.servers.csharp.server csharp-ls                # prefer csharp-ls over Roslyn
axon config set lsp.servers.csharp.command /path/to/omnisharp       # another C# server
axon config set lsp.servers.csharp.args '["-lsp"]'
axon config set lsp.servers.java.enabled false                     # skip one server
axon config set lsp.request_timeout_ms 15000                       # slow servers
26

Repositories of a folder target (workspace)

KeyDefaultValues and effect
workspace.namethe folder nameThe repository name a plain folder target gets in results and --repo. axon init --name platform sets it too.
workspace.repositories[]Explicit repositories of a folder target, as a TOML list: axon config set workspace.repositories '[{ name = "api", path = "services/api" }, { name = "web", path = "apps/web" }]'. A .code-workspace file is usually simpler (Multi-repository workspaces).

Environment variables

VariableEffect
AXON_HOMEMoves Axon's data directory (indexes, settings, model cache, license). Default: ~/Library/Application Support/axon (macOS), ~/.config/axon (Linux), %APPDATA%\axon (Windows).
AXON_GIT_THREADSWorkers of the commit-history phase, 1 to 64. Default min(cores, 8).
AXON_GIT_RENAME_LIMITFiles per side of a commit above which renames are not detected. Default 1000.
AXON_EMBEDDING_CACHEoff, 0 or false turns the shared vector cache off.
AXON_MCP_BEARER_TOKENThe bearer token HTTP clients must send to axon serve --http.
AXON_LICENSE_MACHINE_IDA stable machine id for CI and containers. Each value counts as one device (see Your devices).
AXON_LICENSE_NO_RENEW1 turns off automatic token renewal, for example on offline CI.
NO_COLORTurns off colors in progress output.
27

Ignoring files

Axon skips what .gitignore ignores, hidden files and symlinks. To keep other files out of the index, add a .axonignore file to the repository root, with the same syntax as .gitignore, then re-index:

echo 'dist/' >> .axonignore
echo 'generated/**/*.ts' >> .axonignore
axon index .

axon doctor warns when dependency or build folders (node_modules/, vendor/, dist/, build/, target/, .venv/, bin/, obj/) were indexed. Ignored files do not count toward the free limit.

28

Subscribing and licensing

Axon is free for projects up to 10,000 lines of code (supported source languages, comments and blank lines included, config files and ignored files excluded; axon doctor shows the count). Above that you need a subscription to the single plan Axon: US$10 per month, up to 3 devices. Without one, index, queries, explore and MCP tools refuse to run on that project with exit code 5 (MCP error -32001) and tell you how to fix it. Small projects keep working untouched.

  1. Subscribe

    Open https://stripe.guerche.digital/p/axon, enter your email and pay on Stripe's secure page. Axon never sees your card.

29
  1. Save your account key

    After paying, a page shows your account key, starting with axk_, once. It is also emailed to you. Store it in a password manager: anyone with it can use your 3 device slots.

  2. Activate each machine

    axon license activate <KEY>

    Output: License active until 2026-11-05. Devices: 1/3.

  3. Check

    axon license status

That is all. Tokens last 7 days, renew themselves in the background whenever you use Axon, and are checked offline. You only need to be online for about a second once a week.

If someone sent you a link like https://stripe.guerche.digital/t/<code>, you can try Axon without a card:

axon license trial https://stripe.guerche.digital/t/<code>

The command checks that the link belongs to the billing hub and opens it in your browser. Complete the short form, copy the account key, and run axon license activate <KEY>. axon license status shows when the trial ends. If you add no card before it ends, the subscription is cancelled; add a card (the hub emails you a link before the trial ends) to continue with the same key.

What axon license status shows

License: valid
Licensee: you@example.com
Issued: 2026-10-29
Expires: 2026-11-05 (7 days left)
Max lines of code: unlimited
Machine: 985ec9c6d254
Subscription: active, plan axon
Current period ends: 2026-11-25
Devices: 1
  MacBook-Air.local (Darwin 27.0.1), token until 2026-11-05

The first block is local and works offline; the Subscription and Devices lines need the hub. The command exits with code 5 when the license is invalid or expired.

Your devices

30

Lost your key: recovery

axon license recover --email you@example.com

The hub always answers "If an account exists, a link was emailed." The link creates a new key and the old one stops working. Run axon license activate <NEW KEY> on every machine again. The same form is at https://stripe.guerche.digital/p/axon/recover. If you suspect the key leaked, use it too.

Other license commands

CommandUse it to
axon license activate <KEY>Register this machine with your account key.
axon license renewGet a fresh token now, with the stored key.
axon license statusShow the license, the subscription and your devices.
axon license recover --email <address>Email yourself a link that creates a new key.
axon license trial <link>Open a trial invite link in the browser.
axon license removeDelete the token and key on this machine and free its slot.

Privacy

Only the license commands talk to the hub, and only for projects over 10,000 lines. They send your account key, a hash of your machine id (never the id itself), the machine name, the operating system and the Axon version. No code, paths, project names or line counts are ever sent.

31

Troubleshooting

You seeWhat it means and what to do
no index found for <path>The folder is not indexed, or you ran a query from another folder. Run axon index <path>, or pass --target.
"This project has N lines of code (limit 10,000 without a license)", exit code 5Subscribe or start a trial, then axon license activate <KEY>. If you deleted code and are now under the limit, run axon index once.
Reason: license expiredThe token ran out and could not be renewed. Run axon license renew; if it fails, check the subscription (axon license status).
the account key was not acceptedMistyped or replaced key. Use axon license recover --email.
the subscription for this account is not activeThe subscription ended or a payment failed. Subscribe again or fix the payment method.
all device slots are in use (3/3)Release a device at the account page, then retry.
could not reach the billing hub (exit 4)You are offline or behind a proxy. Existing tokens keep working until they expire.
license was issued for a different machineThe machine id changed. Activate again.
A clock messageYour system clock is more than 24 hours behind the last license check. Fix the clock; if it is right, delete license.seen in the data directory and run axon license status.
index already running for this targetAnother axon index, --watch, Explorer refresh or code-index job is running. Wait for it.
MCP client shows no toolsUse the absolute path to axon in the client configuration and restart the client.
A language server shows disabled or missing in doctorInstall it (LSP enrichment) and set lsp.enabled true; GUI clients may need an absolute lsp.servers.<key>.command.
config key ... was not found (exit 3)A typo in the key. Compare it with the Settings reference.
Results seem outdatedRe-index. After upgrading Axon, run axon index once per project.
32

Exit codes

CodeMeaning
0Success
1General failure
2Usage error (unknown flag, missing argument)
3Not found
4Unavailable (no git history, or the billing hub could not be reached)
5Licensing
130Interrupted

Every command and option is listed by axon --help and axon <command> --help.

33