-
Notifications
You must be signed in to change notification settings - Fork 4
Home
JanYork edited this page Aug 14, 2026
·
1 revision
Language: English · 简体中文

LWC is an agent-driven proactive memory CLI. It helps AI agents recall, maintain, and evolve persistent, source-grounded knowledge across sessions.
Instead of rebuilding an answer from raw document chunks every time, an agent can use LWC to maintain a durable Wiki of sources, pages, citations, links, decisions, and history. The Wiki gets more useful as the agent integrates new evidence and preserves verified conclusions.
- Project overview — what LWC solves, who it is for, and what it deliberately does not do.
- Basic concepts — sources, Wiki pages, provenance, scopes, graphs, Work, and changesets.
- Use cases — when persistent Agent memory pays off and when a simpler tool is enough.
- Installation and upgrades — supported installation paths and Agent setup.
- Quick start — initialize a project, integrate a source, recall knowledge, and verify the result.
| Capability | Purpose |
|---|---|
| Persistent Wiki | Keeps maintained knowledge instead of disposable chat answers. |
| Source grounding | Preserves immutable source snapshots, citations, provenance, and contradictions. |
| Bounded recall | Searches compiled pages first and opens exact source evidence only when needed. |
| Document knowledge graph | Traverses page, source, citation, link, and explicit semantic relationships. |
| CodeGraph | Answers structural questions about symbols, callers, callees, dependencies, and impact. |
| Word Graph | Explores shared terms across a bounded document sample without loading the entire token graph. |
| Strong tags | Loads a small, explicit set of complete core pages without relying on search. |
| Agent integration | Installs the LWC MCP, Skill, Hooks, and Instructions through host-specific AgentTarget adapters. |
| Safe change lifecycle | Uses changesets, checkpoints, durable Work, lint, and graph verification for recoverable maintenance. |
- Agent-operated: LWC is a machine interface for agents. People choose sources, goals, and review boundaries; agents handle the bookkeeping.
- Local-first: SQLite is canonical. Markdown and optional graph stores are rebuildable local projections.
- Source-grounded: Evidence remains immutable, while maintained pages can be revised as knowledge changes.
- Explicitly scoped: Project memory stays with the project. Reusable cross-project knowledge belongs in global memory.
- Auditable: Successful commands return JSON on standard output; failures return structured JSON on standard error.
- Consent-aware: Optional graph initialization and external integrations are never silently enabled.
Next: Project overview
LWC Wiki
- Home · 首页
- Project overview · 项目简介
- Basic concepts · 基本概念
- Use cases · 应用场景
- Installation and upgrades · 安装与升级
- Quick start · 快速开始
- Persistent memory · 持久记忆体系
- Agent workflow and memory policy · Agent 工作流与主动记忆策略
- Sources and ingestion · 来源与知识整合
- Wiki pages and provenance · Wiki 页面与来源证明
- Search and context · 搜索与上下文载入
- Document knowledge graph · 文档知识图(记忆图网)
- Code graph · 代码图
- Word graph · 词图
- Tags and strong context · 标签与强上下文
- Document conversion · 文档转换
-
MCP server and
lwc_explore· MCP 服务与lwc_explore - Skills, Hooks, and Instructions · Skills、Hooks 与 Instructions
- AgentTarget installation · AgentTarget 安装与集成
- Changesets · Changeset 原子变更
- Work system · Work 任务系统
- Checkpoints and rollback · Checkpoint、恢复与回滚
- Read-only Viewer · 只读可视化界面
- Architecture overview · 总体架构
- Storage and data model · 存储与数据模型
- Retrieval and indexing · 检索与索引设计
- Graph projection and performance · 图投影与性能设计
- MCP, Hooks, and AgentTarget design · MCP、Hook 与 AgentTarget 设计
- Safety and trust boundaries · 安全模型与信任边界
- Maintenance and diagnostics · 维护与诊断
- Troubleshooting and FAQ · 故障排查与常见问题
- Migration and compatibility · 迁移与版本兼容
- Support and issue reporting · 获取帮助与问题反馈
- CLI and configuration reference · CLI 与配置参考
- JSON output and error contract · JSON 输出与错误契约
- Limits and glossary · 系统限制与术语表
- Contributing and development · 贡献与开发指南
- Testing and release process · 测试与发布流程
- Wiki style guide · Wiki 编写规范