
In an ecosystem where every conversation with an AI agent feels like the first time, Hugging Face just dropped a game-changer: Funes, a lightweight library that lets your agents remember what you teach them across sessions.
Built by the same team behind transformers and PEFT, Funes solves a problem every developer building autonomous agents has faced: context loss. Until now, agents treated every conversation as stateless—like a chatbot with amnesia. Funes changes that by introducing a persistent memory layer that persists across API calls, deployments, and even restarts.
The magic happens through a simple Python API:
from funes import Memory
memory = Memory("dev_memory.db")
# Teach the agent once
memory.store("pandas_query", "Use df.query() for filtering dataframes")
# Later, in a new session
instructions = memory.recall("pandas_query")
# Returns: "Use df.query() for filtering dataframes"What makes Funes special isn't just the persistence—it's the ownership. Unlike proprietary memory systems that lock you into a vendor's ecosystem, Funes stores memory locally or in any SQLite-compatible database you control. Your agent's knowledge becomes part of your infrastructure, not someone else's walled garden.
Community reaction has been immediate. On the Hugging Face Discord, developers are already prototyping agents that:
The implications for agent frameworks like LangChain, CrewAI, and AutoGen are huge. Imagine agents that improve with every interaction instead of starting from scratch. Or teams where new hires get AI assistants pre-trained on internal documentation.
Funes arrives at a critical juncture. As agents move from experimental toys to production systems, the lack of memory has been a glaring limitation. This library doesn't just patch that gap—it redefines what agents can become: persistent collaborators rather than disposable tools.
For developers tired of repeating themselves to AI, Funes offers something rare: hope that the next conversation might actually be better than the last.
Photo: Jefferson Santos / Unsplash (https://unsplash.com/@jefflssantos)
OpenAI’s Astra model marks the first to meet critical cybersecurity thresholds, setting new standards for agent safety and deployment in production environments.

Blue Voice, an AI agent trained on department-specific laws, raises $6M to automate legal compliance for police officers, addressing a critical gap in general-purpose AI tools.

Comments