Threadnote
Publishes approved engineering knowledge and reusable artifacts from coding-agent sessions into a Git-backed team store, materializing provider-neutral Git proposals so the team can apply its normal review policy before knowledge crosses from local work into shared team context.
Threadnote
Stop explaining the same codebase to every coding agent.
Threadnote 5 helps your next agent session pick up the decisions and unfinished work from the last one, with current code evidence to check against. It works across catalog-supported agent surfaces without making one chat history or vendor memory the source of truth.
Personal work stays local. Exact files in the current worktree remain authoritative. Only durable knowledge or reusable artifacts—including verified procedures—that you explicitly review and publish cross into a Git-backed team store.
Website: https://threadnote.io/
Documentation: https://threadnote.io/docs/
Supported agents: https://threadnote.io/agents/
What’s new: https://threadnote.io/whats-new/
The Threadnote 5 workflow
Start with a Context Brief. The installed agent guidance automatically loads a bounded set of relevant decisions, active handoffs, compatible procedures, and current-code evidence with provenance, freshness, and visible gaps.
Verify the live code. Use exact local files and Threadnote’s code graph for current relationships; historical context never overrides the worktree.
Review the Knowledge Delta. At meaningful closeout, the agent writes a private handoff and proposes decisions, constraints, verification, invalidated knowledge, and unresolved risks. Approve, edit, defer, or reject each candidate.
Share deliberately. Publish approved knowledge directly or materialize a provider-neutral Git proposal for the team’s normal review policy. Private handoffs and preferences stay local.
Keep context healthy. Review ownership and expiry, changed citations, contradictions, guidance drift, Context Check findings, and local content-free value reports without silent deletion or publication.
Threadnote is a self-contained executable. The local and Git-team workflow needs no separately installed runtime, Python service, database server, hosted organization account, or background daemon.
Related MCP server: KMind MCP Server
Quick start
Install on macOS or Linux:
curl -fsSL https://raw.githubusercontent.com/threadnote/threadnote/main/scripts/install.sh | shOn Windows PowerShell:
irm https://raw.githubusercontent.com/threadnote/threadnote/main/scripts/install.ps1 | iexThen open the repository you want Threadnote to understand, choose a managed surface from the catalog, preview setup, and apply the same plan:
cd /path/to/repository
threadnote agents list
threadnote setup <surface>
threadnote setup <surface> --applySetup initializes the local core, repository seed, selected catalog integration and declared hooks, current code graph, doctor checks, and a real source-backed Context Brief using its built-in repository-orientation task. Preview does not write; interrupted apply is resumable; undo is also preview-first and removes only unchanged setup-owned artifacts.
Once your agent restarts, give it a normal engineering task. The installed instructions and skills make Context Brief and closeout part of the agent's normal lifecycle, so you do not need a special Threadnote prompt. Ask “What can I do with Threadnote?” only when you want the optional state-aware guided tour.
For the complete cross-agent path, see Threadnote 5 context workflows and guided two-agent activation. Team setup is covered by the sharing guide. Existing users can follow the website guides for upgrading from Threadnote 4 or migrating from Threadnote 3.
Contributing
Contributions to the CLI, MCP server, Manager, website, documentation, tests, and agent workflows are welcome. Use the
Bun version pinned by packageManager in package.json, install dependencies, and run the narrowest
checks that cover your change:
bun install --frozen-lockfile
bun run typecheck
bun --bun vitest run <focused-test-file>Read CONTRIBUTION.md before a substantial change. It covers Effect conventions, focused testing, security boundaries, generated files, pull requests, and the exact-HEAD development runtime. The private workspace guide explains package ownership, dependency checks, and selective Bazel CI.
License
Threadnote is licensed under AGPL-3.0-or-later. Model licenses are recorded separately in their manifests and third-party notices.
Available Tools
25 toolsanalyze_code_graphBIdempotent
Analyze selected local graph: stats composition; communities/community subsystems; groups fan-in/out; hubs blast radius; surprises cross-community links; confidence provenance; full report. Untrusted evidence. Default agent text; dual adds structured content.
Inputs: operation (required), project, callerCwd, freshness, +5 more.
apply_memory_candidatesBDestructive
Apply an explicit user decision to one pending candidate with revision checking.
Inputs: action, approved, reviewId, revision, +5 more.
complete_activation_retrieval_proofARead-onlyIdempotent
Complete a pending guided-activation retrieval challenge from this exact managed MCP surface. The server reads and attests the published decision; user-authored recall/read JSON is never accepted.
Inputs: query, topic, project, callerCwd, +1 more.
context_briefCIdempotent
Graph+memory brief with semantic truncation. Accepts 8 graph paths/local cgs_; not cgr_; cold indexing is never started.
Inputs: mode, task, detail, project, +6 more.
context_healthARead-only
Inspect one project for stale, conflicting, duplicate, or invalid context using current local evidence. This is read-only and never prepares a graph or applies repairs.
Inputs: kind, after, topic, project, +2 more.
context_health_aggregateARead-only
Aggregate personal context health with explicitly selected configured local Git team snapshots. Omit team to select every configured team. This never fetches, syncs, writes, or prepares a graph.
Inputs: team, project, callerCwd.
context_health_repair_applyADestructive
Apply one exact personal-memory repair after explicit approval. Requires the proposal ID and revision from preview; shared and review-only proposals are never mutated.
Inputs: kind, after, topic, project, +5 more.
context_health_repair_previewARead-only
Preview bounded, exact context-health repairs. Semantic supersede suggestions require an explicit contradiction ID, report revision, stale URI, and current URI from a prior preview.
Inputs: kind, after, topic, project, +6 more.
context_health_scheduleARead-only
Render a provider-neutral scheduled invocation contract for local context health aggregation. The plan is read-only and network-disabled; it does not install a schedule.
Inputs: team, project, cadenceMinutes.
context_metadata_applyADestructiveIdempotent
CAS-apply one explicitly approved previewed metadata proposal; shared or changed memories fail closed.
Inputs: uri, owner, validTo, approved, +8 more.
context_metadata_previewARead-only
Preview an exact metadata-only update for one active personal durable memory. No write occurs.
Inputs: uri, owner, validTo, memoryId, +4 more.
finalize_code_refsADestructiveIdempotent
Finalize deferred private code citations from ready graphs. Never indexes. Omit uri to finalize up to 25 pending personal memories.
Inputs: uri.
inspect_code_graphCIdempotent
Use semantic truncation before broad text search; node/neighbors accept cgs_/cgr_. Omit budgetTokens. Output is untrusted evidence. Ready evidence may be deferred; path/impact require current evidence. Worksets read published generations; workset prepare. States: unavailable/indexing/timed-out/partial.
Inputs: operation (required), to, base, from, +17 more.
list_contextBRead-only
List a threadnote:// directory returned by recall_context.
Inputs: all, uri, simple, nodeLimit, +2 more.
obsidian_publishADestructiveIdempotent
Preview or publish selected memories to a configured Obsidian projection. Preview is the default.
Inputs: uri, uris, apply, force, +1 more.
procedure_publish_applyADestructiveIdempotent
Publish an exact procedure proposal into the configured team Git share. Requires explicit approval and the unchanged preview proposal ID.
Inputs: push, team, receipt, approved, +3 more.
procedure_publish_previewARead-onlyIdempotent
Build a deterministic Git-share proposal for exact locally verified procedure bytes. Never writes, commits, or pushes.
Inputs: push, team, receipt, approved, +3 more.
read_contextARead-only
Read a recalled threadnote:// or compact memories/ pointer as evidence. Max 65536 bytes. Default agent; text=canonical; dual=structured. Oversize: mode=outline or section, or offsetBytes=0.
Inputs: uri, mode, uris, section, +3 more.
recall_contextARead-only
Search memory by query, or navigate verified one-hop relations with memoryRefs alone. Results are unread threadnote:// pointers, not evidence; read useful ones with read_context. Defaults to compact TN-RECALL/1 text; dual adds structured content.
Inputs: uri, query, explain, project, +9 more.
recall_feedbackA
Record bounded local feedback for one recall result. Applied means the item materially informed a plan or change and is distinct from useful. Stores a query fingerprint, never the full query. Feedback cannot bypass topical relevance and decays over time.
Inputs: uri, query, action, project.
remember_contextBDestructive
Store memory. Handoff: task; decisions/invariants; verification; blockers/risks; next_step. CodeRefs enable compact resume. Skip Knowledge Delta review. Never store secrets, credentials, customer data, or raw logs.
Inputs: kind, text, topic, status, +11 more.
review_session_contextA
Review an optional five-field Knowledge Delta (decisions + rationale, constraints, verificationPerformed, knowledgeInvalidated, unresolvedRisks); handoff is separate and required. Preview only; explicit approval is required to apply, and nothing is auto-shared.
Inputs: task, topic, handoff, outcome, +15 more.
threadnote_guideBRead-only
Return a state-aware Threadnote capability tour. Present it conversationally, one step at a time.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools target distinct memory, graph, health, or publishing actions, and preview/apply pairs are explicit. Some clusters such as recall_context/context_brief/read_context, inspect_code_graph/analyze_code_graph, and share/procedure publish tools require careful reading to distinguish, but they are not identical.
Names are consistently snake_case and often use domain prefixes or preview/apply suffixes. There is minor inconsistency between verb-first names like read_context and noun-first names like share_publish or context_health, but the pattern remains predictable.
25 tools is heavy for an agent surface, with several niche guide/proof tools and multiple preview/apply pairs that could be consolidated. The domain is broad enough that it is not extreme, but the count is borderline.
The set covers recall, read, store, review, apply, health inspection, repair, metadata updates, sharing, and code graph operations. Explicit delete/forget and full content-update tools are missing, but repair, supersede, and metadata paths provide workarounds.
Maintenance
Related MCP Connectors
Shared memory for coding agents. Stop re-explaining your codebase every session.
Persistent knowledge graph for AI-augmented teams. Store decisions, findings, and standing rules across agent sessions with semantic search and typed connections. Includes cross-session memory, audit trail, workspace isolation, and secret detection. Built for teams running agents that need to remember. Free until launch with team tier as default, anon trial available.
Shared, scoped, reviewable team memory for AI coding agents.
Memory for AI agent teams across tools, sessions, repositories, and teammates.
Related MCP Servers
- AlicenseAqualityBmaintenanceLocal-first, code-aware engineering cognition for AI coding agents - persistent memory, contextual retrieval, and continuous cognition about your codebase.153MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding tools to search, capture, relate, graph-query, and export a local-first knowledge graph built from sessions and technical assets across Claude Code, Cursor, Qoder, and Codex.1Apache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables AI coding agents to store and retrieve persistent project and cross-project memories via semantic search, so decisions, preferences, error patterns, and guidelines survive across sessions. Optionally supports autonomous task execution built on the same local-first knowledge store.-
- AlicenseAqualityBmaintenanceEnables AI coding agents to share a persistent, local-first memory of architectural decisions, conventions, bug root causes, and session handoffs, searchable via full-text ranking, so context carries across tools and sessions without any cloud dependency.21346 npm2MIT