dev-util/ai-memory (bentoo)

Search

Install

Install this package:

emerge -a dev-util/ai-memory

Package Information

Description:
ai-memory is a long-term memory server for AI coding agents, spoken to over the Model Context Protocol (MCP). It keeps everything on the machine it runs on: pages live in a bundled SQLite database with FTS5 full-text search, a git-versioned wiki records how they changed, and embeddings for semantic search are computed in-process by a pure-Rust BERT model on the CPU, so no text has to leave the host to make search work. Optional providers (Anthropic, OpenAI, Gemini, GitHub Copilot and any OpenAI-compatible endpoint) can be configured for consolidation and hosted embeddings when that trade is wanted. It ships a single ai-memory binary that serves MCP over stdio or HTTP, exposes a small web UI, and installs per-vendor hook scripts under /usr/share/ai-memory/hooks for Claude Code, Codex, Cursor, Gemini CLI, opencode and others. The daemon can run system-wide under the dedicated ai-memory account or per user session; this package provides both an OpenRC service and, with USE=systemd, the upstream units for each scope.
Homepage:
https://github.com/akitaonrails/ai-memory
License:
MIT Apache-2.0 BSD CC0-1.0 CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB

Versions

Version EAPI Keywords Slot
3.5.1 8 ~amd64 0
3.5.0 8 ~amd64 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>lucascs@proton.me</email>
		<name>Lucas C.S.</name>
	</maintainer>
	<longdescription lang="en">
		ai-memory is a long-term memory server for AI coding agents, spoken to
		over the Model Context Protocol (MCP). It keeps everything on the
		machine it runs on: pages live in a bundled SQLite database with FTS5
		full-text search, a git-versioned wiki records how they changed, and
		embeddings for semantic search are computed in-process by a pure-Rust
		BERT model on the CPU, so no text has to leave the host to make search
		work. Optional providers (Anthropic, OpenAI, Gemini, GitHub Copilot and
		any OpenAI-compatible endpoint) can be configured for consolidation and
		hosted embeddings when that trade is wanted.

		It ships a single ai-memory binary that serves MCP over stdio or HTTP,
		exposes a small web UI, and installs per-vendor hook scripts under
		/usr/share/ai-memory/hooks for Claude Code, Codex, Cursor, Gemini CLI,
		opencode and others. The daemon can run system-wide under the dedicated
		ai-memory account or per user session; this package provides both an
		OpenRC service and, with USE=systemd, the upstream units for each scope.
	</longdescription>
	<upstream>
		<bugs-to>https://github.com/akitaonrails/ai-memory/issues</bugs-to>
		<remote-id type="github">akitaonrails/ai-memory</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/ai-memory | euse -E <flag> -p dev-util/ai-memory | euse -D <flag> -p dev-util/ai-memory

Flag Description 3.5.1 3.5.0
systemd Install the system and user systemd units for the lemond daemon, plus the sysusers.d snippet. Upstream provides no OpenRC service and the units use systemd-only directives, so they are omitted on non-systemd installs. ⚠️ ⊕ ⊕

Files

Manifest

Type File Size Versions
DIST ai-memory-3.4.5-crates.tar.xz 41684072 bytes 3.5.1, 3.5.0
DIST ai-memory-3.5.0.tar.gz 13966343 bytes 3.5.0
DIST ai-memory-3.5.1.tar.gz 14006866 bytes 3.5.1
Unmatched Entries
Type File Size
DIST libz-sys-1.1.33.crate 890042 bytes
DIST quinn-udp-0.5.16.crate 33232 bytes
DIST rustix-1.1.6.crate 426484 bytes
DIST win-custody-0.1.2.crate 51119 bytes
DIST zip2-507c5c76ddd4cde767e64832fc6f848c51a99e44.gh.tar.gz 55915715 bytes