{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "okf-memory-okf-agent-memory--give-coding-agent-searchable-project-memory",
 "repo": "okf-memory/okf-agent-memory",
 "repo_url": "https://github.com/okf-memory/okf-agent-memory",
 "repo_slug": "okf-memory-okf-agent-memory",
 "title": "Let a coding agent search project decisions before writing code",
 "page_title": "How to let a coding agent search project decisions before writing code with Okf Agent Memory",
 "summary": "Store decisions as OKF concepts and have the agent search them before it edits anything.",
 "who": "A developer using an AI coding agent who keeps re-explaining architecture decisions and gets inconsistent code as a result.",
 "problem": "Context windows reset, so architectural decisions and operational facts are lost unless stored somewhere the agent can find them.",
 "outcome": "The agent looks up relevant decisions with search and show before acting, instead of relying on a monolithic AGENTS.md.",
 "steps": [
  "Run `make build` in the cloned repository to create bin/okf.",
  "Add a concept file for a decision under the knowledge/ folder, such as decisions/auth.md.",
  "Run `./bin/okf validate knowledge --strict --drift` to confirm the new concept is well formed.",
  "Run `./bin/okf search \"authentication\"` to confirm the concept is found by a plain-language query.",
  "Run `./bin/okf show decisions/auth` to confirm the full concept text is returned for the agent to read."
 ],
 "agent_prompt": "Using the okf-memory/okf-agent-memory repo, search the project knowledge for <topic> with the okf search command before you write any code. Report the concept IDs returned and the decision each one records. Verify that you read the full concept with the show command before making changes.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README describes an embedded MCP server and the okf_search and okf_show tools, but the excerpt does not show how to register them with a specific agent, so check the full docs for that setup.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "A Git repository where the agent works",
  "A Go toolchain and make, since the README builds the tool with make build",
  "Clone access to github.com/okf-memory/okf-agent-memory"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/okf-memory-okf-agent-memory/give-coding-agent-searchable-project-memory/",
 "md": "https://dedupedai.com/use-cases/okf-memory-okf-agent-memory/give-coding-agent-searchable-project-memory/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/okf-memory-okf-agent-memory--give-coding-agent-searchable-project-memory.json",
 "api_version": "v1"
}
