Skip to content

Troubleshooting

Use the package-manager or local-binary form:

Terminal window
pnpm exec aictx check
npm exec aictx check
./node_modules/.bin/aictx check

For one-off execution:

Terminal window
npx --package @aictx/memory -- aictx check

If a project-local install is stale, update it or use a current global/source binary before trusting schema errors.

aictx init does not start MCP. Configure your MCP client to launch aictx-mcp.

An agent generally cannot start aictx-mcp in a shell and then use it as MCP tools in an already-running session. If MCP tools are not available, stay on the CLI path.

aictx init creates starter storage. It does not infer a full project memory model by itself.

Run:

Terminal window
aictx setup

or ask for a bootstrap patch:

Terminal window
aictx suggest --bootstrap --patch > bootstrap-memory.json
aictx patch review bootstrap-memory.json
aictx save --file bootstrap-memory.json
aictx check

Validate storage:

Terminal window
aictx check

Rebuild generated indexes:

Terminal window
aictx rebuild

rebuild does not change canonical memory.

Dirty or untracked .aictx/ files are not by themselves a reason to skip saving durable memory. Review the files, then use supported CLI/MCP save paths when there is durable future value. Aictx backs up dirty touched files under .aictx/recovery/ before overwrite/delete and continues where possible.

Use:

Terminal window
aictx diff

Plain git diff -- .aictx/ can omit untracked memory files before staging.