Give Your Coding Agents a Memory You Own

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

Coding agents like Claude Code can now remember and share their reasoning across machines and agents, ending per-session amnesia and cutting long-task token costs.

Read this as

Hugging Face released funes, a free tool that gives coding agents a memory. Normally, AI coding assistants like Claude Code forget everything when a session ends, and a new agent on a new machine starts from zero. funes indexes the agent's own past session logs on your computer so any agent can later search them and find the actual reasoning behind past decisions. People who use AI coding tools daily, especially across several machines or with teammates, benefit most.

Hugging Face's funes turns existing AI coding agent session logs into a searchable memory you own, at no licensing cost since it runs locally as a single binary. It cuts context overhead: in Hugging Face's own two-task test, recall was 8x and 4x cheaper than writing a handoff document, and more reliable than compaction, which failed one task. Teams gain a shared, private-by-default memory on the Hugging Face Hub; vendors selling hosted agent-memory services lose that rental revenue.

funes is a single local binary that parses agent traces from Claude Code, Codex, pi and Hermes into a turn-and-block shape, embeds them with a pinned local model into a Lance dataset, and retrieves via hybrid vector plus BM25 search with cross-encoder reranking and recency weighting. recall returns verbatim passages with provenance (agent, timestamp, session, turn). Remote memory syncs to a private Hugging Face Hub dataset with credential redaction and secret scanning. Benchmarks are self-reported on only two tasks.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

funes Hugging Face Claude Code Codex Lance Hermes pi

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading