SoftForge

AI AgenticX Indexer guide

The agx command

agx is the command your assistant uses, and you can use it too. Run it inside a project.

agx search "invoice total rounding" --budget 1500

The best matches are shown in full, the rest as one line each with an id. --budget is the most the answer may cost to read; the answer is often smaller. --path src/billing keeps the search to one part of the project.

Read one part

agx get 3fa91c02de
agx get src/billing/invoice.ts:120-160

By the id from a search, or by file and lines. --context 5 adds the lines around it.

The outline of a file

agx outline src/billing/invoice.ts

Every function, class or section of the file on one line each, without opening it.

Keep the map current

agx index

The map follows your edits by itself while VS Code is open. Run this after a large change made outside the editor, such as switching branches.

Other commands

Command What it does
agx ctx How full the current assistant session is
agx stats Cost of your sessions before and after AI AgenticX Indexer
agx compress <file> Shortens a memory file; --dry shows the saving without writing
agx prune Tools your sessions never use: status, apply, restore
agx facts What was learned about failing commands in this project
agx license Your plan on this computer: status, activate <key>, refresh, deactivate

Logs

Messages about what the command is doing are written for a person by default. Add --logging-type json to any command to get one record per line for your own tooling. The answer you asked for is never mixed with the logs.

The earlier name

If you used the tool under its earlier command name, ccx keeps working and runs the same command.