Skip to content

Specializing Aictx

Aictx works out of the box, but it becomes much more useful when memory matches the shape of your project.

Specializing Aictx does not mean designing a big ontology. It means teaching future agents the context a teammate would normally pick up over time: what the product is for, which workflows matter, where traps live, what conventions are current, and which facts are source-backed.

By default, aictx init updates marked Aictx sections in AGENTS.md and CLAUDE.md. Keep those sections short and reviewable. They should tell agents when to load memory, when to save durable memory, and when saving nothing is the right answer.

If your agent client uses optional skills or instruction files, Aictx also ships copyable generated guidance under integrations/. These files are setup aids, not canonical memory.

For a new project, run:

Terminal window
aictx setup

or apply the conservative bootstrap directly:

Terminal window
aictx setup --apply

For manual review:

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

Good bootstrap memory usually includes:

  • source records for README files, package manifests, agent guidance, product docs, or stable external references recorded by an agent.
  • synthesis records for product intent, feature map, roadmap, architecture, conventions, agent guidance, and repeated workflows.
  • Atomic decision, constraint, fact, gotcha, workflow, question, note, or concept objects only when a precise durable claim is useful.

Do not invent product features from weak signals. Source-backed memory is much easier to trust and repair later.

Save durable project knowledge, not task diaries.

Good candidates:

  • product intent that explains why the app exists
  • capabilities and feature boundaries
  • architecture decisions and constraints
  • setup, release, migration, or debugging workflows
  • gotchas and repeated failure modes
  • current conventions that affect future edits
  • open questions that block safe implementation
  • source records for user-stated durable context

Bad candidates:

  • “I edited three files and tests passed”
  • guesses that are not supported by code, docs, or the user
  • secrets, tokens, credentials, private keys, or sensitive raw logs
  • temporary implementation notes with no future value

At the end of meaningful work, ask for a read-only save/no-save packet when useful:

Terminal window
aictx suggest --after-task "change auth routes" --json

When current code changes are already present:

Terminal window
aictx suggest --from-diff --json

When memory feels noisy or contradictory:

Terminal window
aictx audit --json
aictx stale
aictx graph <id>

Failure and correction are useful signals. If loaded memory contradicted current code, tests, docs, or the user request, repair the old memory. Update it, mark it stale, supersede it, or delete it instead of piling on a duplicate.

The CLI is the default interface for routine memory work. MCP is available when the agent client has launched and connected to aictx-mcp.

MCP exposes exactly load_memory, search_memory, inspect_memory, save_memory_patch, and 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 and inspect behavior, not local MCP tool names.