{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "isaachinman-encephalon--give-agent-project-context-in-one-call",
 "repo": "isaachinman/encephalon",
 "repo_url": "https://github.com/isaachinman/encephalon",
 "repo_slug": "isaachinman-encephalon",
 "title": "Give an agent project context in one batched call",
 "page_title": "How to give an agent project context in one batched call with Encephalon",
 "summary": "Fetch several searches and records together so an agent starts a task with context.",
 "who": "A developer starting a task with a coding agent that needs the relevant decisions before editing code.",
 "problem": "Running many separate searches and lookups slows the agent and clutters its working context.",
 "outcome": "One gather command returns matching search results and named records in the order requested.",
 "steps": [
  "Run `npx --no-install encephalon list --kind decision` to see the decision records in the repository.",
  "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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "A gather accepts at most 16 searches and 64 shows, and each response has a 4 MiB budget, so narrow large requests.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/isaachinman-encephalon/give-agent-project-context-in-one-call/",
 "md": "https://dedupedai.com/use-cases/isaachinman-encephalon/give-agent-project-context-in-one-call/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/isaachinman-encephalon--give-agent-project-context-in-one-call.json",
 "api_version": "v1"
}
