
ContextLattice
io.github.sheawinkler由 GitHub 账号 sheawinkler 发布v1.0.0更新于 Nov 2, 2026
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
概览
本地优先的记忆与上下文层,为 AI 代理提供跨会话、跨工具的持久连续性、可解释检索与可移植上下文。
- 可以做什么
- 从持久检查点重开并恢复当前目标,无需重放整段对话
- 按范围检索并排序证据,生成带来源与覆盖回执的紧凑上下文包
- 按项目保存、纠正并结束持久记忆条目
- 通过 Agent Packet 与 Passport 在代理和机器之间传递签名的最小权限上下文
- 以只读方式搜索技能索引,无需加载每个技能文件即可找到能力
- 执行仅作建议的持续认知状态与评估调用,返回证据引用
- 适用场景
- 适合代理需要在不同对话、模型、工具或电脑之间持续工作,并要求任务目标、决策与证据得以延续的场景。也适合希望使用本地、可检查且带检索回执的记忆,而不想依赖强制云存储的团队。
- 运行要求
- 需要本地运行环境:macOS、Linux 或经 WSL2 的 Windows,兼容 Compose v2 的容器运行时,以及 gmake、jq、rg、python3 和 curl。可通过源码配合 gmake quickstart 安装,或使用 Homebrew cask、DMG、MSI、Linux 安装包。公开本地通道无需账号;运维路由使用 API 密钥保护。资源档位从 2-4 vCPU、4-8 GB 内存起。
安装
在 SourceWeft 中
- 打开 控制台中的 ContextLattice,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.sheawinkler%2Fcontextlattice/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"contextlattice": {
"type": "http",
"url": "https://contextlattice.io/mcp"
}
}
}README
ContextLattice
[ContextLattice editorial website hero showing a live local context field]
Open an agent. Already there.
The local-first intelligence layer that gives AI agents durable continuity, explainable retrieval, portable context, and verified learning across harnesses.
[CLI first] [ContextLattice v5.0.2] [Local-first runtime] [Apache License 2.0]
Quickstart · How it works · Agent setup · Architecture · Docs · Updates
Stop replaying the brief
Models can reason. Harnesses can act. Neither reliably retains the mission when a chat, model, tool, account, or computer changes.
ContextLattice gives that work a durable, inspectable context layer. It reconstructs the active objective, selects the evidence that matters, carries it safely, and records what actually worked—without turning every prompt into a transcript dump or making cloud storage mandatory.
The CLI is the primary interface. The dashboard makes behavior and proof visible. HTTP and MCP are companion integration surfaces for applications and harnesses.
How it works
ContextLattice does not replace your agent harness, choose goals from retrieved text, or execute imported context. Local tools remain execution surfaces; memory and remote content remain evidence.
Quickstart
Requirements: macOS, Linux, or Windows through WSL2; a Compose v2-compatible container runtime; and gmake, jq, rg, python3, and curl. The tested macOS baseline uses OrbStack through its explicit Docker context; see the container runtime decision.
1. Install
gmake quickstart is the prescribed technical install path; installers are bootstrap alternatives. The command prepares environment wiring, asks for a runtime profile, launches the selected local stack, and validates initial readiness.
2. Verify the runtime and retrieval path
Healthy containers are only the first check. The state command verifies the canonical gateway-owned storage inventory; the final command exercises the actual context path and reports source coverage, degradation, evidence, and next actions. Existing installs can use the explicit, reversible procedure in gateway state migration.
For a fuller lifecycle proof from the repository:
Connect your agents
Run integration from the repository that should use ContextLattice:
The integration command writes bounded managed blocks while preserving existing instruction text. It does not install Codex, Claude Code, OpenCode, Hermes, OMP, Mercury, Pi, Droid, or another third-party agent harness.
External provider discovery is network-free. Provider execution remains explicit and caller-authorized; see the external-provider boundary.
If an agent is performing the installation, it should follow the quickstart directly, avoid cloning a second checkout when already inside one, report the exact failing command and path, and rerun the deterministic check after any repair.
The daily agent loop
Continuous Cognition is advisory-only: each invocation makes one bounded request, returns opaque evidence references, and never dispatches a runner or performs an external mutation. Context-preparation claims stay in an owner-only file and cross the completion/failure boundary only through the protected header; successful explicit use consumes the artifact once.
Find a capability without loading every skill body:
The active Skills Index scans configured Codex, Hermes, Hermes Ultra, and shared
agent roots read-only. It reports each harness and root inventory separately,
collapses byte-identical SKILL.md files by SHA-256 digest while retaining every
source path as provenance, and requires discriminating query-term coverage
instead of ranking generic words such as skill, index, or agent.
Quarantine discovery remains separate, read-only by default, and never
auto-promotes retrieved content.
Architecture
The default local control path is:
Writes are validated and durably persisted before fanout. Retrieval merges the available sources, ranks bounded evidence, and reports missing or degraded coverage instead of hiding it.
The active application path is Go and Rust. Python remains in build, development, migration, and audit tooling rather than the live request path. The exact runtime and toolset choices are recorded in the v4 runtime decision and container decision.
Public and paid boundaries
The public local lane is account-free and useful on its own. It includes the CLI-first memory lifecycle, Context Packs, sessions, graph and claim surfaces, Skills Index discovery, Agent Packets, public Passport and Mesh contracts, and local proof tooling.
Paid artifacts add governed collaboration, protected activation, workspace operations, advanced analytics, and hosted distribution. They do not turn local memory into a mandatory cloud dependency.
See plans and distribution boundaries for the current contract.
Install options
macOS technical preview: unsigned DMG bootstrap launcher; expect Gatekeeper warnings until Developer ID notarization is configured, and prefer the source/CLI path.
Resource profiles
For heavier ingest, model storage, or the spike-lab adapters, read the installation and storage guidance before selecting a profile.
Security and privacy
- Local-first and account-free in the public local lane.
- API-key protection for operational routes.
- Deterministic secret-like content filtering at write ingress: redact by default, block when configured, and allow only by explicit operator choice.
- Provenance and trust isolation on retrieved memory.
- Signed portable context and encrypted continuation envelopes.
- Dry-run-first graph repair, source backfill, and quarantine workflows.
- No automatic execution of retrieved instructions or imported continuation content.
Security reports follow SECURITY.md.
Documentation
The current release baseline is v5.0.2.
License
ContextLattice's public lane is licensed under the Apache License 2.0.
来源:README.md,提交 e0daa91
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分