cd /news/artificial-intelligence/i-built-a-memory-engine-for-ai-agent… · home topics artificial-intelligence article
[ARTICLE · art-75482] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

I built a memory engine for AI agents. No cloud required.

A developer built Uteke, a local-first semantic memory engine for AI agents written in Rust. It combines vector search with a local embedding model and full-text search via SQLite FTS5, retrieving memories in ~45ms without cloud dependencies. The project, licensed under Apache 2.0, has reached v0.10.1 with 148 GitHub stars.

read2 min views1 publishedJul 27, 2026

---cover_image: https://cdn.codecora.dev/2026/07/uteke_thumbnail_compressed.png---Every AI agent I've used has the same problem: it forgets everything between sessions.You explain your architecture, your trade-offs, your team conventions. Next conversation? Blank slate. You're re-explaining the same things to a model that has zero memory.This isn't a prompt engineering problem. It's an infrastructure gap.## So I built oneUteke is a local-first semantic memory engine written in Rust. Single binary, no Docker required (optional if you want it), no API keys, no cloud account.Install it, store memories, retrieve them in ~45ms. That's the whole loop.## How it works (the short version)When you store a memory, two things happen in parallel:- Vector search using a local embedding model (188MB, downloads once, no API calls)- Full-text search via SQLite FTS5 for exact keyword matchesAt query time, both indexes fire simultaneously and Reciprocal Rank Fusion merges the results. You get semantic matches (ask "authentication" → finds "login flow") and exact hits in one ranked list.Your data stays at ~/.codecora/uteke/

. Nothing leaves your machine.## The numbers- 58 days since first commit- v0.10.1, 40+ releases- 148 stars, 16 forks on GitHub- ~5ms vector recall at 10K entries, ~45ms full pipeline- Apache 2.0 licensed## Install

bash# fastestcurl -sSL codecora.dev/install | sh# homebrewbrew install codecoradev/tap/uteke# from sourcecargo install uteke-cli

First run downloads the embedding model (~188MB). After that, everything is local.## Why local-first matters for AI memoryCloud memory solutions work until they don't. Your API key gets rotated, the service goes down, your data lives in someone else's database, and you're paying per query for something that should be fast and private.Uteke runs the same on your laptop, a CI runner, or a server. No network latency. No vendor lock-in. No per-query pricing.---I wrote a deep-dive on the architecture, embedding pipeline, and benchmark details on our blog. If you want the technical breakdown, read it here.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @uteke 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-memory-eng…] indexed:0 read:2min 2026-07-27 ·