Skip to content

Reference

Use this page when you need exact names, commands, and patch shapes.

The CLI is the default interface for routine memory work.

AreaCommands
Setupaictx init, aictx setup
Maintenanceaictx check, aictx rebuild, aictx reset, aictx upgrade
Routine memoryaictx load, aictx search, aictx suggest, aictx audit, aictx save
Inspectionaictx inspect, aictx stale, aictx graph
Inspection and recoveryaictx diff, aictx history, aictx restore, aictx rewind
Exportaictx export obsidian
Vieweraictx projects, aictx view
Docsaictx docs

Commands that support structured output accept --json:

Terminal window
aictx check --json
aictx docs --json

MCP is available when the agent client already exposes Aictx MCP tools. Local MCP exposes exactly:

  • load_memory
  • search_memory
  • inspect_memory
  • save_memory_patch
  • diff_memory

Setup, maintenance, recovery, export, registry, viewer, docs, suggest, audit, stale, and graph workflows are CLI-only in v1. These CLI-only commands are part of the v1 integration model rather than MCP parity gaps.

Local MCP is the near-term integration path for local agent harnesses. Remote MCP, hosted sync, cloud auth, cloud hosting, and ChatGPT App SDK UI are future work. Future ChatGPT-compatible search/fetch names are adapter aliases over search/inspect behavior; they are not local MCP tool names.

Terminal window
aictx docs
aictx docs getting-started
aictx docs capabilities
aictx docs specializing-aictx
aictx docs agent-integration --open
aictx docs --json

aictx docs lists bundled public docs topics. aictx docs <topic> prints the bundled Markdown for that topic. --open opens the hosted page at https://docs.aictx.dev.

Object types are project, architecture, source, synthesis, decision, constraint, question, fact, gotcha, workflow, note, and concept.

history, task-note, and feature are not object types.

Facet categories include project-description, architecture, stack, convention, file-layout, product-feature, testing, decision-rationale, abandoned-attempt, workflow, gotcha, debugging-fact, source, product-intent, feature-map, roadmap, agent-guidance, concept, open-question, domain, bounded-context, capability, business-rule, and unresolved-conflict.

The structured patch is the only write contract.

{
"source": {
"kind": "agent",
"task": "Fix Stripe webhook retries"
},
"changes": [
{
"op": "create_object",
"type": "decision",
"title": "Billing retries moved to queue worker",
"body": "Stripe webhook retries now happen in the queue worker.",
"tags": ["billing", "stripe"]
}
]
}

Patch operations include create_object, update_object, mark_stale, supersede_object, delete_object, create_relation, update_relation, and delete_relation.

Structured patches are for durable information future agents should know. A task that produced no durable future value does not need a save.