SuperAPIAI Directory

chamber

github.com · Other AI tools

Chamber is a deterministic verification tool that runs locally, used to check whether AI agents, when citing notes, have cited numbers, capitalized names, domain names, file names, and counts that do not exist in the notes. It does not rely on models, accounts, or the network, and performs string matching via node:sqlite and on-disk files. Main uses include: in MCP hosts such as Claude Code, requiring the agent to call chamber_check to verify each claim before answering; using chamber_ask to have a configured model answer based on notes and annotate sentence by sentence whether citations support the statements; using chamber_verify to detect whether the source notes on which recorded conclusions depend have drifted; and using verification as a CI drift gate. The project uses the MIT license and offers multiple usage modes such as a plugin, an MCP server, and a command line. Note: it only checks literal matches and does not judge semantics, so negated or reversed sentences may still pass.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

Chamber is a local tool for verifying the citation accuracy of AI agents, with the core goal of catching the problem of agents fabricating numbers or names when citing notes. It does not rely on models, accounts, or the network; the checking process is deterministic string matching, based on node:sqlite and on-disk files.

Main capabilities:

  • chamber_check: accepts the claims given by the agent and the notes they claim as sources, and checks item by item whether the numbers, capitalized names, domain names, file names, and counts in the claims appear in the note text. It does not check lowercase names or ordinary words, nor does it judge semantics, so negated or reversed sentences may still pass.
  • chamber_ask: uses a configured model (any OpenAI-compatible endpoint) to answer questions based on indexed notes, and judges each sentence according to its citations. The model can only see citation numbers in the form [1]…[k] and cannot forge citations. Sentences without citations are marked UNSUPPORTED; when the cited passage does not contain the numbers, names, or domain names in the claim, that citation is invalid and the missing terms are reported.
  • chamber_verify: detects whether the passages on which recorded claims depend have changed, used to discover drift in the evidence underlying conclusions.
  • chamber_corpus: view the currently indexed content.

Usage modes:

  • Install as a plugin in Claude Code: /plugin marketplace add abm9111/chamber then /plugin install chamber@chamber (for versions before 2.1.275). The plugin asks for the notes folder and adds the server and the chamber-check skill.
  • Add the server separately in any MCP host: use npx to run the published bin. In Codex, it can be added via codex mcp add, and set startup_timeout_sec greater than the default 10 seconds.
  • Command-line usage: npx chamber related commands, supporting --notes to specify the notes folder and --exclude for exclusion patterns.
  • Configuration: set the ingest root directory, exclusions, and model via the configuration file. The model base can point to any OpenAI-compatible endpoint; loopback addresses require no API key, and other addresses read from the environment variable CHAMBER_API_KEY.
  • Embedder: npm or Docker installation uses the local-hash-v1 hash vector by default, unless a local Ollama responds at 127.0.0.1:11434 or CHAMBER_EMBEDDER=ollama is set. To use MiniLM semantic embeddings, clone the repository and install the Python dependencies, then set CHAMBER_PYTHON. chamber_check is unaffected.
  • CI drift gate: chamber verify --json can establish links between documentation claims and code or policy sections, failing the build when the basis changes. The repository provides a GitHub Action and CI recipes.
  • Scheduled tasks: macOS launchd and Linux systemd configurations are provided to run ingest and verify periodically, notifying only when drift occurs.
  • Obsidian integration: the companion plugin Chamber Drift can render verify --json reports as a sidebar panel and per-note banners, but does not itself perform verification or write.

Use cases:

  • Ensuring citations are accurate when using Claude Code or another MCP host to answer questions from a personal note vault.
  • Scenarios requiring auditing whether numbers and names in AI-generated content come from source documents.
  • Preventing documentation claims from diverging from code implementation in CI.
  • Periodically monitoring whether source notes that important conclusions depend on have been modified.

Limitations:

  • Does not judge semantics and cannot recognize negated or inverted sentences.
  • Does not check lowercase names or ordinary words.
  • The default sandbox requires bubblewrap and refuses to run tool code when this backend is unavailable; it can be explicitly opted out via CHAMBER_SANDBOX_REQUIRED=0, but no isolation is provided after opting out.
  • Isolation cannot be tested on macOS.
  • The documentation records 21 known limitations; docs/KNOWN_LIMITATIONS.md should be read before use.
  • The project has not yet been tested in Codex.
  • There are no public user usage records.

The project is licensed under the MIT License.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools