KiroGraph stores its configuration inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/davide-desio-eleva/kirograph/llms.txt
Use this file to discover all available pages before exploring further.
.kirograph/config.json at the root of your project. You can edit it directly with any text editor, or run kirograph install in an existing project to launch the interactive setup wizard that reads and updates the same file.
Where the Config Lives
The file is created the first time you runkirograph install or kirograph index. To open it in your editor:
Complete Example
The following snippet enables the most commonly used modules:Default exclude patterns are:
node_modules/**, dist/**, build/**, .git/**, *.min.js, .kirograph/**. These apply even when exclude is an empty array.Config Field Reference
Indexing
Limit indexing to specific language names (e.g.
["typescript", "python"]). An empty array indexes all supported languages.Glob patterns that must match for a file to be indexed. An empty array includes everything not covered by
exclude.Glob patterns for files and directories to skip during indexing. Merged with the default exclusion list.
Skip any file larger than this byte count (default: 1 MB). Useful to skip generated or minified assets.
Extract JSDoc comments, Python docstrings, and inline documentation comments for each symbol.
Record line and column numbers for call edges in the graph. Disable to reduce DB size on very large codebases.
Override auto-detected frameworks (e.g.
["react", "express"]). See Languages & Frameworks for the full list.Name-matching threshold for cross-file symbol resolution (range
0.0–1.0). Lower values produce more aggressive fuzzy matches.Emit a warning in
kirograph_status when the number of pending (unsynced) files exceeds this value.Semantic Search
Generate vector embeddings for functions, methods, classes, interfaces, type aliases, components, and modules. Required for natural-language search. The embedding model is downloaded to
~/.kirograph/models/ on first use.HuggingFace
feature-extraction model ID. Changing this requires a full re-index (kirograph index --force).Output dimension of the chosen embedding model. Must match the actual model output or KiroGraph will warn and use the real value.
Vector search backend. One of:
cosine, turboquant, turbovec, sqlite-vec, orama, pglite, lancedb, qdrant, typesense. See Semantic Search for details on each engine.TurboQuant bits per coordinate (range
1–8). Controls the compression/quality tradeoff. Requires npm install turboquant-js. Changing this value requires kirograph index --force.TurboVec bits per coordinate (
2, 3, or 4). Requires the built native addon. Changing this value requires kirograph index --force.Use TurboQuant ANN index for memory observation and doc section search in addition to code nodes.
Use TurboVec ANN index for memory observation and doc section search in addition to code nodes.
Open the Qdrant web dashboard after indexing completes.
Open the Typesense web dashboard after indexing completes.
Architecture
Enable architecture analysis: package graph construction, layer detection, and coupling metric computation. Required by
enableSecurity (auto-enabled if missing).Custom layer definitions as a map of layer name → glob patterns. Overrides or extends auto-detected layers.
Security
Enable dependency vulnerability detection and reachability analysis. Automatically enables
enableArchitecture if it is not already set.Vulnerability databases to query. Currently supported:
OSV.Auto-run vulnerability enrichment after manifest parsing during indexing. Set to
false to run enrichment on-demand only via kirograph vulns --refresh.Enable AST pattern-matching SAST via
@ast-grep/napi. Requires npm install @ast-grep/napi. See Security for bundled rules.Path to a directory of custom YAML pattern rules. Rules are merged with the bundled set.
Minimum severity to store pattern findings. One of:
critical, high, medium, low.Memory
Enable persistent cross-session memory. Observations are stored in
.kirograph/memory.db and surfaced in kirograph_context.Blend weight for hybrid memory search (
0 = full-text only, 1 = vector only).Store the original observation text alongside the compressed version.
Maximum stored observations before the oldest are auto-pruned.
Session inactivity timeout in seconds (default: 2 hours). Observations after this window start a new session.
Maximum number of memory observations surfaced per
kirograph_context call.Minimum relevance score required for a memory observation to appear in context results.
Glob patterns for files to exclude from symbol linking in memory observations.
Watchmen
Enable Watchmen, which auto-synthesizes workspace briefs from accumulated memory observations. Requires
enableMemory: true.Minimum number of new observations since last synthesis before a
watchmenReady event fires.How briefs are synthesized.
local runs a local HuggingFace model on-device (no API key, no external calls). agent delegates to the active AI agent via an askAgent hook (Kiro only, consumes tokens).HuggingFace model used for local synthesis. Downloaded once to
~/.kirograph/models/ (~3–4 GB). Only used when watchmenSynthesisMode: "local".Documentation
Enable documentation indexing for section-level retrieval via
kirograph_docs_* tools.Glob patterns for documentation files to include.
Glob patterns for documentation files to exclude.
Automatically link documentation sections to code symbols by name.
Maximum doc sections surfaced in
kirograph_context (0 = disabled).Minimum confidence score for a doc reference to appear in context results.
Maximum documentation file size to index (bytes).
Section summary strategy. One of:
embedding, first-sentence, off.Data
Enable tabular data indexing and querying for CSV, TSV, JSONL, XLSX, Parquet, and PDF files.
Glob patterns for data files to include. Defaults cover CSV, TSV, JSONL, NDJSON, XLSX, XLS, Parquet,
data/**/*.json, and PDF.Glob patterns for data files to exclude.
Auto-link data files to code symbols via path detection.
Maximum datasets surfaced in
kirograph_context (0 = disabled). Keep at 0–1 for PDF datasets as content columns are verbose.Maximum data file size to index (default: 50 MB).
Maximum rows to index per data file.
Hard cap on rows returned per query.
Maximum token budget per data tool response.
Agent Behavior
Communication style for agent responses. One of:
off, lite, full, ultra. Higher levels compress agent output more aggressively.Shell output compression level. One of:
off, normal, aggressive, ultra. Controls how kirograph_exec compresses command output before returning it.Enable agent utility tools:
kirograph_read (cached file reads with 7 modes), kirograph_retrieve (context-compressed retrieval), and kirograph_budget (session budget tracking).Enable
kirograph_compress for on-demand compression of arbitrary text. Uses RTK-style shell filters (with command hint) or caveman grammar (without). Independent of shellCompressionLevel and cavemanMode.Minimum log level written to the KiroGraph log. One of:
debug, info, warn, error.