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.
Start with repo guidance
Section titled “Start with repo guidance”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.
Seed the project shape
Section titled “Seed the project shape”For a new project, run:
aictx setupor apply the conservative bootstrap directly:
aictx setup --applyFor manual review:
aictx suggest --bootstrap --patch > bootstrap-memory.jsonaictx patch review bootstrap-memory.jsonaictx save --file bootstrap-memory.jsonaictx checkGood bootstrap memory usually includes:
sourcerecords for README files, package manifests, agent guidance, product docs, or stable external references recorded by an agent.synthesisrecords for product intent, feature map, roadmap, architecture, conventions, agent guidance, and repeated workflows.- Atomic
decision,constraint,fact,gotcha,workflow,question,note, orconceptobjects 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.
Decide what belongs in memory
Section titled “Decide what belongs in memory”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
Maintain it after real work
Section titled “Maintain it after real work”At the end of meaningful work, ask for a read-only save/no-save packet when useful:
aictx suggest --after-task "change auth routes" --jsonWhen current code changes are already present:
aictx suggest --from-diff --jsonWhen memory feels noisy or contradictory:
aictx audit --jsonaictx staleaictx 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.
CLI and MCP
Section titled “CLI and MCP”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.