About Kage
Kage is an MCP server published by kage-core in the Other category. Conduid read 82 tools from its source: kage_audit, kage_benchmark, kage_benchmark_compare, kage_branch_overlay, kage_capabilities, kage_capture and 76 more. No package is published for it, so it installs from a source checkout.
The repository has 41 stars and 3 forks, and its last commit was on 29 Aug 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository.
Install
git clone https://github.com/kage-core/KageTools (82)
kage_auditAudit whether repo memory and code intelligence are trustworthy: validation, memory inbox, structured context coverage, code graph precision, graph links, and concrete recommendations.kage_benchmarkReturn Kage proof metrics, or set mode=memory_quality / memory_scale for synthetic memory retrieval benchmarks.kage_benchmark_compareCompare the same task on the same repo with and without Kage. Reports estimated baseline discovery tokens/steps versus Kage recall/code-graph context, with evidence and caveats.kage_branch_overlayBuild and return branch overlay metadata: branch, head, merge-base, changed files, and pending packet IDs.kage_capabilitiesReturn an evidence-backed Kage memory-system capability audit across repo memory, collaboration/session proof, benchmarks, and dashboard/viewer readiness.kage_captureCreate a repo-local Kage memory packet immediately. Org/global promotion still requires explicit human review. Capture is rejected if every referenced path is missing from the repo; set allow_missing_paths to record anyway.kage_cleanup_candidatesFind conservative cleanup candidates from Kage's code graph. Reports unreferenced source files, unused exports, and internal-looking unused symbols with confidence and reasons; never auto-deletes.kage_code_indexWrite external code index artifacts consumed by the code graph. Prefers SCIP when scip-typescript and scip are installed, then falls back to the built-in LSP-compatible symbol index.kage_compactConsolidate repo memory: prune dead citations, deprecate hard-stale packets, and surface near-duplicate clusters to merge (via kage_supersede). Defaults to a dry run; pass dry_run=false to apply pruning/deprecation. Duplicate merging stays an agent decision — no hosted LLM is used.kage_compile_briefCompile a brief for an intent from repo memory and the code graph, without dispatching. Returns memories (with author and date), predicted touch set, derived checks, and a confidence band with its basis.kage_conflictsList repo-local memory packet pairs that contradict each other (same cited path, same subject, opposing claim). Resolve each with kage_supersede, or keep both intentionally. On a repo with many contradictions, `pairs` is capped to the 10 most actionable by default, with the true total and a truncation note; pass limit or verbose for more.kage_contextPrimary kage entry point. Validates memory health, recalls relevant packets, and queries both the code graph and knowledge graph — all in one call. Call this at the start of every task; it answers caller/usage questions from the code graph too, so you rarely need a separate graph tool.kage_context_slot_deleteDelete a repo-local context slot by label.kage_context_slot_setCreate or update a repo-local pinned context slot. Use for durable, high-signal repo guidance that should always be included without loading all memory.kage_context_slotsList repo-local pinned context slots. Pinned slots are small, reviewable facts that Kage includes in recall/context before task-specific memory.kage_contributorsBuild local contributor profiles from git history: commits, recent activity, touched files, modules, ownership silos, hotspot ownership, and commit category mix.kage_decisionsSummarize the repo's 'why' memory at a glance: the decisions, gotchas, runbooks, conventions, and code explanations Kage has captured, plus which high-traffic code paths still have no decision memory. Use it to brief yourself on a repo before changing it, or to audit where institutional knowledge is thin or going stale. Read-only: returns grouped entries with titles, types, cited file paths, and call-outs for weak, stale, or undocumented hot paths. Does not modify any memory.kage_dependency_pathFind how two files are connected in Kage's source-derived code graph. Reports direct dependency direction, reverse impact direction, or undirected graph connection.kage_dispatchHire a coding agent to deliver an intent in an isolated worktree, then verify its claim by executing the checks. Pass your judgment (drop_memories, confidence, clarification) so it is recorded with the run — the kernel validates it: drops need a reason and confidence may only be lowered.kage_distillDistill stored observations for one session into repo-local memory candidates. Org/global promotion still requires explicit human review.kage_docs_searchSearch this repo's OWN committed documentation (README, docs/**, *.md, common doc dirs — including any framework/API docs checked into the repo). BM25 over heading-anchored chunks from .agent_memory/indexes/docs-index.json. Returns ranked doc hits with doc_path, heading, line, and snippet. This indexes only files on disk in the project, never the internet.kage_events_sinceRun events since a cursor. Call at the start of each turn to catch up on work that finished while you were talking. Pass back next_cursor from the previous reply; it reports how many events it could not fit rather than truncating silently.kage_feedbackRecord how useful a recalled repo-local memory packet was, which tunes Kage's trust and future recall. 'helpful' reinforces the packet, 'wrong' flags it as disputed, and 'stale' marks it for re-verification and withholds it from recall until refreshed. Use it right after a recalled packet helped you, misled you, or no longer matched the code. Mutates the packet's quality signals on disk.kage_fetchFetch the full content of a specific node from the kage knowledge graph. Use after kage_search to get the complete fix, pattern, or decision.kage_gcCurate repo memory in one pass: (1) excludes deprecated/superseded packets from the stale/warning surfaces they used to dominate — they are end-state, not actionable, (2) auto-merges near-duplicate approved packets (similarity >= 0.95) by superseding the lower-quality one, with lineage recorded, (3) lists contradiction pairs ranked by recall traffic with a one-line resolution suggestion each — listing is automatic, resolving stays a human/operator decision. Prints an honest before/after count line. Defaults to a dry run; pass dry_run=false to apply.kage_goal_createOpen a goal: the room's own bookkeeping for a multi-run intent — a plan of waves, autonomy, and budgets. From a room thread this also makes the new goal that thread's active goal, so kage_dispatch calls after it attach automatically without you passing goal_id.kage_goal_finishAbandon a goal before its runs finish, with a reason that is kept as part of its history. There is no tool to force a goal to 'done' — that state is only ever derived from its runs settling. Defaults to the room thread's active goal when goal_id is omitted.kage_goal_statusWhere a goal stands: its state, each wave's runs with their CURRENT state, spend against budget, and which wave is next to dispatch. Defaults to the room thread's active goal when goal_id is omitted. Reads through the reconciling path, so a goal whose runs already settled reports 'done' even if the stored record lagged.kage_graphQuery the repo-local Kage knowledge graph. Returns typed, evidence-backed graph facts from entities, edges, and episodes.kage_graph_insightsReturn deterministic code graph intelligence: central files, dependency cycles, import communities, and short entry flows. Use to orient agents before broad architectural edits.kage_graph_registryBuild a signed graph-registry manifest for generated memory graph, code graph, indexes, metrics, audit, inbox, source packet IDs, packet hashes, and repo git state.kage_graph_visualExport the repo-local Kage knowledge graph as Mermaid flowchart text for visual inspection.kage_inboxReturn an actionable memory review inbox: pending packets, stale packets, duplicates, missing structured context, validation issues, and recommended actions. On a repo with many packets, `items` is capped to the 10 most actionable by default, with the true total and a truncation note; pass limit or verbose for more.kage_install_policyInstall or update the repo AGENTS.md policy that tells coding agents to use Kage automatically.kage_judgmentThe recorded judgment for a run: which memories you kept or dropped and why, the confidence you set, the question you asked, and any moves the kernel refused.kage_learnCapture a durable, reusable learning from the current session as a verified repo-local memory packet (committed under .agent_memory/, shared with the team via git). Use it the moment you discover something a future session should know: a decision and its rationale, a bug's root cause and fix, a convention, or a setup step. Prefer it over diff-based proposals when you already know what was learned. The write is rejected if every cited path is missing from the repo (set allow_missing_paths for a file you are about to create), and secrets/PII are scanned out before writing. Returns the new packet id plus any contradiction warnings against existing memory.kage_learning_ledgerReturn an agent-facing ledger that classifies observed session events into save, ignore, needs-evidence, or already-distilled memory decisions.kage_list_domainsList all domains in the kage knowledge graph with their node counts and top tags. Use to orient before searching.kage_memory_accessReport which repo-local memory packets have actually been recalled recently. This uses local ignored access telemetry and does not mutate shareable packet files. On a repo with many packets, `entries` is capped to the 10 most actionable by default, with the true total and a truncation note; pass limit or verbose for more.kage_memory_auditReturn the repo-local audit trail for explicit memory mutations: capture, feedback, review, supersede, deprecate, and delete.kage_memory_handoffReturn a teammate/agent handoff queue by combining memory inbox, lifecycle, audit, timeline, and lineage into concrete next actions.kage_memory_lifecycleReturn a repo-local memory lifecycle report: healthy, hot, cold, stale, disputed, ungrounded, pending, generated, and concrete review actions. `items` never includes packet body/summary text (open the packet file or recall it for that) and is capped to the 10 most actionable by default, with the true total and a truncation note; pass limit or verbose for more.kage_memory_lineageReturn memory supersession chains so agents can use current replacement packets and keep retired memory as audit history.kage_memory_reconcileReturn agent-owned memory reconciliation work when source files linked to existing memory changed. Agents must update, supersede, or mark stale memory before final handoff.kage_memory_timelineReturn recent repo-memory activity for teammate handoff: added, updated, pending, and deprecated packets with review actions. On a repo with heavy recent memory churn, `entries` is capped to the 10 most recent by default, with the true total and a truncation note; pass limit or verbose for more.kage_merge_runAccept a verified claim: merge its branch and ratify the learnings that rode with it into team memory. Only a run in state 'ready' can be merged.kage_metricsReturn concise Kage adoption and quality metrics: code graph counts, language/parser coverage, memory graph evidence coverage, pending/approved packets, validation state, and readiness score.kage_module_healthReturn local module health scorecards from Kage's code graph, test signals, cleanup candidates, git churn, and ownership concentration.kage_observeStore an automatic local observation event from an agent session. Observations are privacy-scanned, deduplicated, and never published automatically.kage_pr_checkCheck whether repo memory, code graph, memory graph, and stale-memory state are ready for merge. Leads with a human summary of team memories invalidated by the current change — relay it to the developer. On a repo with many stale packets, validation findings, or reconciliation items, those lists are each capped to the 10 most actionable entries by default (stale packets ranked by urgency), with true totals and truncation notes; pass limit or verbose for more.kage_pr_summarizeCreate a PR/branch memory summary from local git diff metadata and write repo-local change memory. Use when a branch is ready to hand off.kage_profileReturn a compact project profile for agent orientation: repo totals, languages, top code+memory concepts, key files, memory focus, run commands, and next actions.kage_propose_from_diffCreate or update a branch review summary and repo-local change-memory packet from local git status and diff metadata. Org/global promotion still requires explicit human review.kage_qualityReturn memory quality metrics: useful memory ratio, duplicate burden, stale/wrong feedback, evidence coverage, path grounding, and review queue size. On a repo with many packets, `packets` is capped to the 10 most actionable by default, with the true total and a truncation note; pass limit or verbose for more.kage_recallRecall repo-local Kage memory from .agent_memory packets. Returns an agent-ready context block plus ranked packet summaries.kage_refreshRebuild repo indexes, code graph, memory graph, metrics, and stale-memory metadata. Agents should run this after meaningful file/content changes before PR checks; push-only or same-tree commits do not need another refresh. On non-default git branches metadata-only packet rewrites are skipped (quiet refresh) to avoid merge conflicts; pass force to persist them anyway. On a repo with many stale packets or validation warnings, stale_packets and validation.warnings are capped to the 10 most actionable entries by default (ranked by urgency), with the true total and a truncation note; pass limit or verbose for more.kage_registry_recommendRecommend documentation packs, skills, and optional MCPs for this repo based on its package metadata. Recommendations never install anything automatically.kage_reject_runRefuse a claim with a reason. The reason is captured as a negative_result memory so future briefs carry it.kage_reportThe while-you-were-away digest: ready, blocked, halted, and the trust line. Observed numbers only.kage_review_artifactCreate a Markdown review artifact summarizing pending memory packets for PR or human review.kage_review_runRecord your review verdict on a run's ready claim — the review gate between kernel verification and a merge. Only a run in state 'ready' can be reviewed. approve says the receipt and diff look sound to merge as-is; request_changes says otherwise and needs notes explaining what.kage_reviewersSuggest reviewers for target or changed files from local git authorship, recent edits, and code-graph co-change ownership. Does not contact GitHub or external services.kage_riskAssess modification risk for files using Kage's code graph plus local git history: dependents, impact surface, churn, ownership, co-change partners, and test gaps. Use before editing hotspot or shared files.kage_room_stateClock in: the compact state of every run, what needs the user, and the trust line. Call this FIRST in any session — the manager holds no memory of its own.kage_searchSearch the kage community knowledge graph for gotchas, patterns, configs, and architectural decisions across auth, database, payments, deployment, frontend, testing, and more. Returns node summaries ranked by relevance.kage_session_replayReturn a privacy-preserving replay digest for observed agent sessions: timeline, touched paths, commands, durable candidates, and distill actions without raw transcript text.kage_sessionsSummarize local agent observation sessions, durable capture candidates, and next distillation actions without exposing raw transcript replay.kage_setup_agentGenerate MCP/setup instructions for Codex, Claude Code, Cursor, Windsurf, Gemini CLI, OpenCode, Cline, Goose, Roo Code, Kilo Code, Claude Desktop, Aider, or generic MCP.kage_setup_doctorAudit Kage setup across supported agents, including Claude Code ambient hook readiness when applicable.kage_skillsCodify durable, verified repo memory (runbooks, workflows, actionable decisions) into git-native SKILL.md files under .claude/skills/ that every teammate's agent auto-loads. Only grounded, non-stale packets become skills. Pass dry_run to preview without writing. dir overrides the output directory.kage_stopHalt a run now. State is preserved and the run is resumable.kage_structural_indexBuild the complete cache-backed structural index for large repos. This covers all supported source/config/doc files and writes .agent_memory/structural artifacts separate from learned memory.kage_supersedeReplace one repo-local memory packet with a newer one that corrects or obsoletes it. Marks the old packet superseded, links it to the replacement, and writes bidirectional lineage edges so the history stays traceable. Use this instead of deleting when new knowledge updates an old fact, or to resolve a contradiction surfaced by kage_conflicts. Mutates both packets on disk: the superseded packet is withheld from recall but kept for lineage. Returns ids, paths, and titles for confirmation, not the full packet bodies.kage_taskThe full card for one run: state, claim, checks with verdicts, unsure notes, learnings.kage_tellAnswer or steer a run. A blocked or dropped agent is RESUMED in place with its context intact; a live one gets the message queued for its next boundary. The reply states which happened — never assume delivery.kage_validateValidate repo-local Kage memory packets, pending packets, generated indexes, and sensitive-content checks.kage_verify_agentVerify that Kage is truly active for the current agent: config, repo policy, indexes, recall, code graph, and this live MCP tool reachability.kage_verify_citationsVerify that a memory packet's cited file paths still exist and that the memory is not stale, before trusting it. Pass an id to check one packet, or omit to audit all approved repo memory. Returns grounding and staleness for each.kage_workflowKage memory workflow (this tool performs no action; it returns this loop). 1) Start every task with kage_context (project_dir + the task as query): it validates memory, recalls relevant packets, and queries the code and knowledge graphs in one call. 2) Do the work, preferring repo memory over public context. 3) Capture reusable learnings with kage_learn — bug causes and verified fixes, conventions, decisions, gotchas, run/test/build commands. Wrap anything that must never leave the repo in <private>...</private> tags; private spans are stripped before sharing. 4) After meaningful file changes, call kage_refresh so indexes, graphs, and stale-memory checks stay current. 5) Before finishing a branch, call kage_pr_summarize then kage_pr_check. Recall receipts show estimated tokens saved versus rediscovery; report memory quality with kage_feedback (helpful/wrong/stale).kage_workspaceSummarize a local multi-repo workspace: discovered git repos, Kage memory coverage, code graph counts, package dependencies, route contracts, topic/event contracts, and cross-repo co-change links between repos. Use when a task spans multiple sibling repos.kage_workspace_recallRecall Kage memory across every indexed repo in a local workspace and rank the combined hits. Use for cross-repo teammate knowledge and shared context.kage_xrayReturn a first-use Repo X-Ray: code structure layers for entry points, core files, risk, tests, memory overlay, and knowledge gaps.Security checks
- ✓README presentThe repository's README runs to about 1.3K words.
5 checks have not been run yet.
README
The repository's README runs to about 1.3K words. The original in the repository is authoritative.
Read full README