Browse / MCP servers

okf-memory/okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

  • MCP
  • agent-memory
  • ai-agents
  • bm25
  • coding-agents
  • developer-tools
  • git-native
  • go
  • golang
  • knowledge-base
  • knowledge-graph
  • llm-memory
  • markdown
  • mcp
  • mcp-server
  • model-context-protocol
  • okf
  • open-knowledge-format
  • persistent-memory

Works.Tested on 2026-11-27. From the README alone, on Linux with Luna.

For maintainers

Keep your README agent-ready

Paste this prompt into your coding agent to tighten onboarding time and keep the README reproducible.

Improve the README and setup experience of okf-memory/okf-agent-memory so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Works in 12:43 (tested 2026-11-27).
Please review the README and setup scripts to keep agent onboarding fast and reliable:
1. Fix any documented command that required extra steps or workarounds.
2. Pin dependency versions in a lockfile and document a fast verification command.
3. Keep prerequisites, platform notes, and expected output concise and exact.
Also review the recorded check notes (possible secrets, known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.

Shareable status badge

Add a live Coldpass Linux verification badge to your README.

Coldpass status for okf-memory/okf-agent-memory
[![Coldpass status](https://coldpass.dev/badge/okf-memory--okf-agent-memory.svg)](https://coldpass.dev/repo/okf-memory--okf-agent-memory/)

What we checked

Is it safe?Review first. Found: possible secrets, known vulnerabilities.Each check
  • Malware: not checked on every setup (its lockfile dependencies and the packages installed during our run).
  • Secrets in its files: 1 possible hardcoded secret found by gitleaks (values and locations withheld, 1 of them in test, fixture or vendored files).
  • Known vulnerabilities in its dependencies: 1 OSV advisory: golang.org/x/crypto 0.58.0 (GO-2026-5932). Packages installed during our run were not checked for ordinary vulnerabilities on every setup.
  • Lines that download and run a program: none found in its source.
  • Planted fake secret files: repo code opened none. Not recorded for Haiku.
  • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read. Not recorded for Haiku.
  • Hosts the repo's own code contacted: none. Not recorded for Haiku.

From our newest run of each setup (Nov 27, 2026, Nov 6, 2026). A quiet run is not a safety guarantee.

Can a small agent set it up?Yes (Luna, 12:43)The run

10:43 Install finished

0:07 First use worked

Test history

  • Nov 27, 2026 · 4cbbf831224e · linux / Luna · passed · run JSON
Does it do what the README says?3 of 3 claims held up. A claim is one README promise we ran and checked.Evidence

“BM25 retrieval searches the knowledge corpus for architecture concepts”

“The architecture separates normative and semantic project memory”

“Agent Action Grammar provides compact instructions”

Does the repo’s own CI pass?Success.GitHub checks

GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

Needs keys, a login or a browser?No.Details

None seen

What does it depend on?Go 1.26 toolchain (automatically selected by Go toolchain management), makeDependencies

Software the test agent reported the README needed.

Local or hosted?Local: runs on your machineHow we tell

From the README and the endpoint we tested.

Is the README accurate?Yes.Deviations

No step differed.

What did it do when we ran it?Nothing unexpected seen during our run.What we saw

Linux / Haiku

  • Nothing unexpected in the trace for this setup.

Linux / Luna

  • Nothing unexpected in the trace for this setup.
  • While installing, git-remote-https looked up github.com.
  • While installing, http looked up archive.ubuntu.com, security.ubuntu.com, a name on our local network.
  • No readable Python or npm packages were available to check against OSV malicious-package advisories.

No OSV malware advisory for its pinned dependencies. OSV reads supported lockfiles only; unpinned dependencies and other formats are outside this check.

We found no compiled programs in its files.

What we checked: OSV vulnerability and malware advisories for pinned dependencies, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

What we didn't check: host name lookups; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; or what the code is meant to do.

A quiet run is not a safety guarantee.

Is it maintained?SlowActivity

slow: last commit 0 days ago; 242 commits and 18 merged PRs in 90 days; 2 open issues, 0 open PRs; 0 of 46 recent threads got a maintainer reply; latest release 2026-11-05

AboutStars: 876 · Forks: 70 · Contributors: 9 · Owner account since Aug 28, 2026Source

Recorded GitHub repository and owner account metadata.

LicenseSPDX: MIT · commercial use: yesSource

From GitHub’s license detection. The repository’s license text gives the terms.

MCP6 tools · ~2,292 context tokensTools

From the tools/list page returned on Nov 27, 2026 with Luna.

  • okf_search
  • okf_show
  • okf_validate
  • okf_create
  • okf_update
  • okf_relate
Cost to runFree in this testDetails

Peak guest RAM: 708 MiB

Guest disk change: 1,410 MiB

GPU need: not captured

Paid service: not captured