Rules
AGENTS.md
Use repository guidance for commands, conventions, protected paths, and graph-query policy.
Trae codebase context improves when the assistant can reuse a project map instead of searching the same files on every task. Graphify adds a persistent graph, AGENTS.md operating guidance, and query tools that help Trae inspect dependencies, callers, and architecture before editing. The setup is explicit: install the Trae integration, build the repository graph, then verify important graph paths against source and tests.
Published Updated
Graphify stores inspectable artifacts so codebase knowledge can be reviewed by humans and reused by AI coding assistants.

Rules
Use repository guidance for commands, conventions, protected paths, and graph-query policy.
Structure
Keep graph.json, graph.html, and GRAPH_REPORT.md available for navigation and review.
Install
The Graphify CLI writes its Trae guidance to AGENTS.md without replacing the rest of the file.
Trae codebase context is the combination of repository files, project rules, open tasks, codebase indexing, tools, and any external context available to the agent. Trae can find code through its own search and indexing, while a Graphify graph adds a durable structural map of dependencies, calls, communities, and documentation links. That division matters because better local retrieval does not automatically create an inspectable artifact that another session, branch, or engineer can reuse.
Run graphify trae install after installing the graphifyy package. The command writes Graphify guidance into the repository's AGENTS.md so Trae can discover the workflow from project instructions rather than relying on a prompt that disappears after the session. It updates the Graphify section and preserves unrelated project rules, but it does not build the graph or replace Trae's own configuration.
Trae indexing helps the agent locate relevant code. Graphify adds an inspectable relationship artifact that can survive across sessions and connect code with documents, rationale, and subsystem clusters. This matters when the answer depends on how modules relate rather than where a string appears, especially when many files contain the same class name or API concept. Use the graph as a candidate map, then let source evidence decide which structural path is real.
Use the graph first for architecture, dependency, call-path, migration, and blast-radius questions. Use Trae's normal file search for exact strings, environment values, recent edits, and small local fixes where the relationship map adds no useful information. A practical default is graph query, targeted source reads, then validation, so Trae spends context on files the structural evidence says matter.
Refresh the graph after interface changes, file moves, dependency upgrades, or large refactors. Graphify update re-extracts code without the semantic LLM pass, while a full extract is appropriate when important docs, PDFs, diagrams, or screenshots changed. In branch-heavy workflows, record which commit produced the graph and rebuild after merges that change module boundaries.
Require Trae to cite source files and tests before accepting an architectural claim. Graph edges can be extracted, inferred, or ambiguous, so a returned path is a review candidate rather than proof of runtime behavior. A low-confidence edge is a prompt to inspect more source, not evidence that a dependency is safe to change.
graphify trae install
graphify extract .
graphify query "Which modules depend on the shared authentication service?"Yes. The current Graphify CLI includes graphify trae install, which writes Graphify guidance to AGENTS.md.
No. Trae indexing locates code while Graphify contributes persistent relationships and project context.
Use MCP only when the selected Trae surface supports it. The documented trae installer is the stable file-based integration path.
No. Local extraction keeps the working graph in the repository. The hosted Graphify.homes ZIP workflow is a separate upload path.
Continue through the Graphify topic cluster with pages that explain assistant context, architecture review, documentation, and graph-based codebase understanding.
Kiro codebase context with skills and steering
Give Kiro codebase context with Graphify skills, steering guidance, and queryable graph artifacts for dependencies, callers, and architecture decisions.
Codex codebase context without rereading the repository
Give Codex persistent codebase context with graph artifacts, concise AGENTS.md rules, and MCP tools so repository questions use structure, not repeated scans.
MCP codebase knowledge graph for AI coding assistants
Use an MCP codebase knowledge graph to give Codex, Claude, and other agents structured queries for dependencies, architecture, and project context.
Start from the use cases page or upload a project ZIP to build a graph that your team can inspect and reuse.