DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to give an agent project context in one batched call with Encephalon

Fetch several searches and records together so an agent starts a task with context.

Short answer: Run npx --no-install encephalon list --kind decision to see the decision records in the repository; then run npx --no-install encephalon gather --search authentication --search tokens --show auth-tokens to fetch searches and a record in one call; run npx --no-install encephalon show --id auth-tokens --active-only if the agent needs one record in full. All steps.

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

  1. Run npx --no-install encephalon list --kind decision to see the decision records in the repository.
  2. Run npx --no-install encephalon gather --search authentication --search tokens --show auth-tokens to fetch searches and a record in one call.
  3. Run npx --no-install encephalon show --id auth-tokens --active-only if 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer