---
title: "Give Your Coding Agents a Memory You Own"
description: "funes is an open-source, single-binary memory layer that indexes the session traces of coding agents (Claude Code, Codex, pi, Hermes) so any agent can recall past decisions and rationale with exact provenance."
url: "https://swe.quest/articles/give-your-coding-agents-a-memory-you-own-a4b8ff1b9b62d4a5"
canonical: "https://huggingface.co/blog/funes"
source: "Hugging Face"
published: "2026-09-03"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 9
tags: ["ai-agents","ai-coding","rag","search","developer-tools"]
---

# Give Your Coding Agents a Memory You Own

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-09-03, 9 min read, Announcement. Original: [https://huggingface.co/blog/funes](https://huggingface.co/blog/funes)

## Summary

funes is an open-source, single-binary memory layer that indexes the session traces of coding agents (Claude Code, Codex, pi, Hermes) so any agent can recall past decisions and rationale with exact provenance. A deterministic pipeline parses traces into a common turn-and-block shape, chunks and embeds them locally into an append-only Lance dataset, and answers queries with hybrid vector+BM25 search, rank fusion, cross-encoder reranking, recency reweighting and neighbor-chunk expansion. Memories can be published to a private Hugging Face dataset with secret redaction, letting them follow you across machines, agents and teammates. On a handoff-vs-recall benchmark, recall was 4-8x cheaper than a written handoff, while compaction failed on one task because its summary flattened key findings.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)
- [Search](https://swe.quest/tags/search.md) (Backend & APIs)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- coding agents like Claude Code ([easy posts on AI agents](https://swe.quest/tags/ai-agents.md?difficulty=easy))
- embedding-based retrieval
- BM25 search ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))

## Keywords

funes, Claude Code, Codex, Lance, Hugging Face Hub, BM25, cross-encoder reranking

## Related posts

- [How to build a retrieval system for agents](https://swe.quest/articles/how-to-build-a-retrieval-system-for-agents-08b9b297721895b1.md): Turso · 2026-02-20 · Medium · 5 min read · AI agents, Vector search, SQLite, AI for coding, RAG & retrieval
  Memelord is a fully local memory system for coding agents that keeps a per-project SQLite database (via Turso) of corrections, insights and user-requested memories, embedded with all-MiniLM-L6-v2 and retrieved by cosine vector search at task start.
- [Introducing Loom: agent memory that keeps up with your code](https://swe.quest/articles/introducing-loom-agent-memory-that-keeps-up-with-your-code-c33a0d0178bbd2de.md): ClickHouse · 2026-11-13 · Medium · 12 min read · AI agents, AI for coding, Vector search, Search, Open source
  Loom is an open-source agent memory system that stores memories alongside a code index (functions, classes, call graph) in a single ClickHouse database, so facts about code are linked to definitions and flagged when that code is renamed or rewritten.
- [The components of agent memory](https://swe.quest/articles/the-components-of-agent-memory-6ad54605491f6c6e.md): Anthropic Engineering · 2026-11-06 · Medium · 21 min read · AI agents, LLMs, Evaluation
  Agent memory works best as a layered hierarchy: transcripts as an event log, notes Claude writes in-session, richer representations such as wikis, and context injected into every session, with an offline "dreaming" pass that reflects on transcripts to correct and reorganize memory.
- [CoderForge-Preview: SOTA open dataset for training efficient coding agents](https://swe.quest/articles/coderforge-preview-sota-open-dataset-for-training-efficient-coding-agents-83e1f3c7a7bdb67a.md): Together AI · 2026-02-25 · Hard · 14 min read · Model training, AI for coding, AI agents, Evaluation, LLMs
  CoderForge-Preview is an open dataset of 258K test-verified coding agent trajectories (155K passing) covering 51K tasks across 1,655 repositories from R2E-Gym, SWE-Smith and SWE-Rebench.
- [Trace and evaluate Cursor agents with Langfuse, powered by ClickHouse](https://swe.quest/articles/trace-and-evaluate-cursor-agents-with-langfuse-powered-by-clickhouse-b04d90713d1833e1.md): ClickHouse · 2026-10-22 · Medium · 5 min read · AI for coding, Observability, Evaluation, AI agents
  The Langfuse Observability plugin for Cursor captures each agent prompt as a \`Cursor Turn\` trace containing LLM observations, tool executions, subagents and token usage, stored in a wide ClickHouse observations table that avoids trace/observation joins for cost and latency aggregation.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
