Who it is forA developer starting a task with a coding agent that needs the relevant decisions before editing code.
The problemRunning many separate searches and lookups slows the agent and clutters its working context.
The outcomeOne gather command returns matching search results and named records in the order requested.
What you need first
- Node.js 24.22.1 or later on Linux, macOS or Windows
- A Git repository, with a package-manager layout that exposes node_modules/encephalon at the repository root
- npm to install the package
- A terminal or agent with shell access to the repository
Steps
- Run
npx --no-install encephalon list --kind decisionto see the decision records in the repository. - Run
npx --no-install encephalon gather --search authentication --search tokens --show auth-tokensto fetch searches and a record in one call. - Run
npx --no-install encephalon show --id auth-tokens --active-onlyif the agent needs one record in full.
Prompt for your agent
In the repository <repo-path>, run gather with two search terms related to <task topic> and one known record ID. Expected output: results in the same order as the requested searches and shows. Verify that a missing show ID returns null and an empty search returns an empty array.
Caveat. A gather accepts at most 16 searches and 64 shows, and each response has a 4 MiB budget, so narrow large requests.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for isaachinman/encephalon and "Give an agent project context in one batched call"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer