Who it is forA developer who keeps personal style notes and vendor framework rules alongside a project and needs the agent to pick the right one.
The problemGuidance lives in several places, and an agent can pick an outdated or wrong version without a clear precedence order.
The outcomeSearches and lookups return the authoritative concept, with project content overriding vendor, user, and system content.
What you need first
- 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
Steps
- Run
make buildto create bin/okf. - Run
./bin/okf search "authentication"to search all scopes with automatic shadowing and priority ranking. - Run
./bin/okf search "routing" --scope vendorto limit the search to vendor packages. - Run
./bin/okf show user:guidelines/styleto read a personal concept by its scoped name. - Run
./bin/okf show decisions/authto read the local project concept, which takes priority over other scopes with the same ID.
Prompt for your agent
Using the okf-memory/okf-agent-memory repo, search for <topic> across all scopes, then show the concept the search ranks first. Report which scope it came from and whether a higher-priority scope shadows any other matching concept. Verify the scope label before using the concept.
Caveat. Vendor packages and the user and system layers only return results if those folders are populated, and the README excerpt does not explain how to install vendor packages.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for okf-memory/okf-agent-memory and "Look up rules across project, vendor, user, and system scopes"
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