Wyrm

lk.ghosts由 ghosts.lk 发布v9.4.3更新于 Nov 6, 2026

Local-first memory for AI agents: ground truths, failure firewall, negotiated recall over MCP.

概览

AI 生成的概览

面向 AI 编程代理的本地优先持久记忆:通过 MCP 提供项目基准事实、失败记录、决策、任务与跨项目检索。

可以做什么
  • 会话启动与简报:加载基准事实、未完成任务、已验证模式与过往失败,或按 token 预算生成上下文简报。
  • 按关键词或语义跨项目检索记忆,并把笔记、决策与经验写回记忆库。
  • 记录失败并在提出修复前先查重,追溯决策因果链、影响范围或失效传播。
  • 跟踪工作:会话、带认领的任务、目标、项目注册表、多代理在线状态与团队运行。
  • 维护实体知识图谱、设计令牌、设计参考与可复用技能。
  • 管理记忆库:审核队列、防篡改审计链、维护、统计、机器间复制,以及可调用的外部 MCP 服务器。
适用场景
适合长期在同一批代码库上反复工作的助手,让经验、约定和走过的弯路在会话与代理之间延续。也适合需要共享基准事实、任务认领与在线状态的多代理或多机器场景。
运行要求
以本地 stdio 进程运行,从 npm 包 wyrm-mcp 安装,仅支持桌面端。未声明认证、环境变量或请求头。机器间复制通过 tokenEnv 设置提供令牌。
安装前请注意
多个工具会写入、修改或删除数据:capture、基准事实与设计令牌的写入、实体合并、审核拒绝(永久删除)、维护(需管理员权限且具破坏性)以及复制冲突处理。通过 wyrm_mcp 注册的外部 MCP 服务器会以本地命令启动并携带各自的环境变量,其调用结果会被记录。复制令牌通过 tokenEnv 传入。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Wyrm,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

工具

33

buddy

Use when another buddy-compatible MCP server (or the operator) asks Wyrm for a brief, data-grounded status reply - the Buddy Protocol v1.0 well-known entry point. Companion params switch to the full companion reply; bare calls stay protocol-pure. Cycle-protected.

输入参数moodsizeformatpersonafederatemood_hintfrom_buddypersona_nameproject_hintproject_path

wyrm_act

Use to pursue a goal autonomously - the OODA loop: observe Wyrm context, orient, decide one whitelisted tool call, act, loop. Pass goal_id for an existing goal, or query+title to create and pursue ad-hoc.

输入参数querytitlegoal_idmax_stepsprojectPathmodel_override

wyrm_audit

Use for the tamper-evident audit chain - action=log (append a tamper-evident, hash-chained record of an admin action), export (the audit history as an offline-verifiable bundle for a compliance review), verify (prove the audit trail hasn't been tampered with).

输入参数actoraction必填payloadrange_endevent_kindprojectPathrange_start

wyrm_call_external

Use to call a tool on an outbound MCP server registered via wyrm_mcp - lazily spawned over stdio, result returned and logged to external_call_log.

输入参数argstool必填server必填

wyrm_capabilities

Use to learn what your memory system can actually do - feature inventory, why each matters, runtime state, and which tool to reach for. Call at session start instead of re-discovering the surface.

输入参数format

wyrm_capture

Use to save anything worth keeping - the single write funnel. Auto-classifies notes, decisions, and lessons into quest, ground truth, or memory; risky writes queue for wyrm_review. mode=direct (store a proven pattern or lesson learned so future agents reuse it), extract (pull memories from a conversation transcript or freeform text), trace (harvest a session JSONL / tool-call log into run-tagged review candidates), session (close out a work session into reusable knowledge), artifacts (harvest a repo's READMEs and recent commits into durable facts), import source=git|pr|rules, spec (turn a tasks.md into tracked work items), checklist, feedback (artifactId + success: mark what you recalled as useful, or not). Keywords: remember this, jot down, write down, future reference.

输入参数bodykindmodetagstextstepstitledryRunsourcecommitscontentproblem另有 8 个

wyrm_context_build

Use to build a compact context brief for the current task under a token budget - relevant patterns, lessons, and truths in one formatted block; max_tokens elides low-score items to recallable stubs.

输入参数task必填kindsmaxItemsmax_tokenssession_idprojectPath必填minConfidencestrict_budget

wyrm_decided_because

Use to link a choice or decision to the assumption or evidence it was based on - records a causal edge (truth/quest/artifact/session) so stale foundations invalidate downstream.

输入参数to_id必填from_id必填to_kind必填relationfrom_kind必填rationaleconfidenceprojectPath必填

wyrm_decision_trace

Use to trace decision causality - action=upstream (why did we pick this? walk me through the reasoning chain back to its sources), downstream (if that assumption turns out to be wrong, what else breaks - the blast radius), invalidate (a foundational fact was wrong: flag everything we built on top of it, cascading).

输入参数idkindaction必填reason

wyrm_design_token

Use for the project's design system - store and read the values the brand uses: color, type, spacing, motion, shadow, radius, breakpoint. action=set (upsert a primary color or spacing value), get (what values does this design system use?), delete.

输入参数keyvalueaction必填categoryprojectPath

wyrm_entity

Use for the knowledge graph - action=add (a person, vendor, service, or concept), link (record that Alice maintains the deploy pipeline: who maintains, uses, or depends on what), search, merge (destructive), path (how two entities or services are related to each other), graph (show everything connected to an entity, N hops).

输入参数nametypedepthlimitqueryaction必填entitysourcetargetprojectPathrelationship

wyrm_failure_check

Use before proposing or executing any fix, command, or approach - did this fail before? Is it a known landmine? Counter-pattern memory: returns unresolved matching failures (empty = safe to proceed); show the mistakes already made on a project with `wyrm failure list` (CLI). Subagents: check before retrying anything flagged.

输入参数scope必填target必填run_scopedescription必填projectPath

wyrm_failure_record

Use when an approach failed or something broke - log the dead end so nobody tries it again. Identical (scope, target, description) coalesces with occurrences++; when the root cause is fixed, stop flagging it with `wyrm failure resolve <id>` (CLI). Run-scoped failures quarantine until confirmed.

输入参数scope必填target必填promoteseveritywhy_faileddescription必填projectPath

wyrm_goal

Use for persistent goals the wyrm-loop daemon pursues autonomously - action=set (define with success criteria), list, complete, pause, resume, abandon, iterations (the OODA pursuit history).

输入参数idtitleaction必填prioritydescriptionprojectPathsuccess_criteria

wyrm_maintenance

Use for periodic upkeep of the memory store - archive old sessions, vacuum, prune stale events, sweep run quarantine. Admin-gated, destructive; fleets run it between waves.

输入参数vacuumarchiveDays

wyrm_mcp

Use to manage outbound MCP servers Wyrm can call - action=register (command, args, env), list, tools (one-shot tools/list), disable. Call a registered server's tools via wyrm_call_external.

输入参数envargsaction必填commandserver_name

wyrm_presence

Use for multi-agent presence - who else is working on this right now? action=list, announce (I'm online and working on X; a TTL heartbeat orchestrators and other agents see), release (clean exit: clears presence and drops any quest claims held).

输入参数action必填agent_idagent_kindprojectPathttl_secondscurrent_file

wyrm_project

Use for the project registry and cross-project landscape - action=list, context (one project's memory overview), scan (discover and register git repos under a directory), sync (DB rows to per-project .wyrm folders).

输入参数pathlimitwatchaction必填searchdirectionrecursiveprojectNameprojectPath

wyrm_quest

Use for project tasks and todos - action=add (add a todo or work item), complete (mark a task as done), claim (lock a quest so other agents don't duplicate the work; TTL lease stamped with agent_id/run_id), release, list (what's still open on my plate across all projects). The fleet coordination primitive.

输入参数tagslimittitleaction必填agent_idpriorityquest_iddescriptionprojectPathttl_seconds

wyrm_recall

Use before starting any non-trivial task - what do we know about this? Pull up relevant lessons learned, proven patterns, anti-patterns, and reasoning traces from past work. Hybrid lexical+semantic retrieval, fully local, no LLM. Rate a result with wyrm_capture mode=feedback.

输入参数kindlimitquery必填detailprojectPath必填minConfidence

wyrm_reference

Use for design references and visual inspiration - action=add (clip a website, image, palette, or snippet to keep for later projects), search (find that inspiration link I saved a while back), list.

输入参数kindtagslimitquerytitleaction必填locationprojectPath

wyrm_replication

Use to sync memory between machines and watch the live event mesh - action=start|stop|status|tick (daemon + peers; tokens via tokenEnv), conflicts (did the last sync leave conflicts to resolve?), resolve, publish, since, subscribe (watch a project's live activity feed for changes from other agents), replicate (one-shot: sync my memory over to another machine or peer), unshare (kind + id: make a record private again so it does not leave this machine). Back up the memory database off this machine, encrypted: wyrm cloud backup (CLI).

输入参数idkindmodelimittokenaction必填cursorbaseUrlpayloadpeerUrltokenEnvconflict_id另有 3 个

wyrm_review

Use to process the review queue - approve or reject the pending memory candidates waiting from extraction, harvest, imports, capture conflicts, or session distillation. Approve activates the artifact for recall; reject permanently deletes it (unrecoverable).

输入参数notesapproved必填artifactId必填

wyrm_run

Use to manage a fleet run lifecycle from the orchestrator: action=start mints a ULID run_id and registers the orchestrator, join registers each subagent (agent_id, role), status reports agents, run-quarantined failure counts, and quest claims, debrief fans each agent's learnings through the LOCAL extractor (never a cloud LLM) into a run-scoped review queue for wyrm_review, and end writes the run summary, promotes or expires quarantined failures, and releases claims.

输入参数roleaction必填run_idstatusagent_idlearningsorchestratorproject_pathparent_run_id

wyrm_session

Use to track working sessions - action=start (start tracking a new working session on a repo), update (log what you just finished: completed work, issues, commits), rehydrate (the full briefing from a past session so a fresh agent can take over).

输入参数notesaction必填issuescommitscompletedobjectivessession_idprojectPath

wyrm_session_prime

Use first at session start - load everything you need to know before starting work, and catch me up on where we left off last time: ground truths, memory brief, reasoning scaffold, and active quests in one call. First call every agent makes in a run.

输入参数roletaskrun_idfor_spawnproject_idlog_sessionprojectPathproject_nametoken_budget

wyrm_share

Use to share a finding with the rest of the team - marks a row (session/quest/truth/artifact/edge) is_shared for the next sync push; revoke with wyrm_replication action=unshare.

输入参数id必填kind必填

wyrm_skill

Use for reusable playbooks (skills) - do we already have a playbook for this? action=list (the playbooks and capabilities registered on this machine), search, get, register, create (package what you just learned into a reusable skill), activate, deactivate, graph (governance tree), stats, delete.

输入参数bodynametierlimitqueryaction必填governscategoryskillPathdescription

wyrm_stats

Use for a health snapshot of the memory database - row counts, vector index coverage, usage.

输入参数viewprojectPath

wyrm_thread

Use to get or nudge the project's working thread: a compact, always-current snapshot (objective, in-progress work, last decisions, open loops, next step, what's in play) assembled live from Wyrm's signals and persisted to the threads table. action=get assembles, persists, and renders the current thread. action=nudge additionally merges an advisory note first: a plain note seeds in-progress (only if no session signal already covers it), while a note prefixed 'loop:' appends one open loop. The signal-derived open loops, decisions, and in-play are never replaced by a nudge.

输入参数noteaction必填projectPath必填

wyrm_truth_get

Use to read the established facts and ground rules for a codebase - validated truths the AI should treat as baseline, optionally filtered by category.

输入参数categoryprojectPath必填

wyrm_truth_set

Use to lock in a confirmed fact or constraint as project ground truth - architecture, conventions, key decisions. Injected first into every brief; re-setting the same category+key supersedes (history kept).

输入参数key必填value必填sourcecategory必填ttl_daysrationaleconfidenceprojectPath必填

版本历史

4
  1. v9.4.3最新Nov 6, 2026
  2. v9.4.2Nov 3, 2026
  3. v9.4.1Oct 30, 2026
  4. v9.2.3Sep 16, 2026

评分

已满足适用检查项的 65%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。