LibreAI / AIエージェント / agent-memory
// agents · tigerless-labs/agent-memory

agent-memory

agent-memoryは、tigerless-labsが公開しているオープンソースのAIエージェントプロジェクトです(GitHub: tigerless-labs/agent-memory)。GitHubスターは2,646、フォークは142で、MITライセンスの下で公開されています。GitHubでの最終更新は2026年10月7日です。

Long-term memory runtime for AI agents — plain Markdown as truth, local ranked retrieval, no API key

★ 2.6k スター⑂ 142 フォークMIT更新 2026年10月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

GitHubスター
2,646
フォーク
142
ライセンス
MIT
GitHubでの最終更新
2026年10月7日
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  1. Clarify your goal

    Decide which agents should share long-term memory and where the store should live (default ~/agent-memory-store).

  2. Get agent-memory

    Clone the repo and build the mem, mem-mcp and mem-hook binaries with uv sync --all-packages.

  3. Install and configure

    Run mem init, then mem setup --host claude-code / codex / muse-code to merge hooks, skills and MCP entries safely into each host.

  4. Run your first memory

    Record a decision with mem record, recall it with mem recall, then delete .index and mem rebuild to prove nothing was lost.

// 機能

選ばれる理由

Markdown is the truth

One memory = one Markdown file with frontmatter (abstract, type, validity interval, links, provenance) — greppable, git-able and portable.

Ranked local retrieval

Recall returns an L0 list of paths/abstracts/scores (via BM25 FTS5, optionally fused with vectors), so the agent opens only the depth it needs.

Automatic writes

Distillation triggers at conversation boundaries (SessionStart/Stop/SessionEnd hooks) without the agent having to remember to write.

Sleep-time Manage layer

An independent consolidation pass on its own clock can add and update; deletions only ever arrive as proposals you confirm, and supersede keeps history (recall --as-of).

One store, many hosts

Claude Code, Codex CLI and Muse Code share one store through the same pipeline; the CLI is the universal fallback for anything that can run a shell command.

No keys, no network in the read path

There is no LLM client inside the library — judgement is borrowed from the host agent's own CLI, keeping writes visible in your transcript.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone and build

    Clone agent-memory and build its binaries with uv (Python 3.12+, no PyPI release yet).

    git clone https://github.com/tigerless-labs/agent-memory.git
    cd agent-memory
  2. Initialize a store

    Create the default store at ~/agent-memory-store (or set AGENT_MEMORY_STORE).

    mem init
  3. Wire it into your agent

    Probe and configure a host, then record and recall a first memory.

    mem setup --host claude-code
    mem record --type decision --field project=agent-memory --abstract "Markdown files are the single source of truth" --body "Indexes are rebuildable caches."
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who maintains agent-memory?

tigerless-labs maintains it on GitHub.

Is it free?

Yes, MIT-licensed, and it runs entirely locally.

Does it need a paid API key?

No API key at all — the README stresses none of it needs one; distillation borrows the host agent's existing login/model.

How does it compare to Memary or Memobase?

Those are service/graph or profile systems. agent-memory is a local runtime whose store is plain Markdown files with a rebuildable index, shared across agent hosts.

How do I get started?

Clone, uv sync --all-packages, mem init, mem setup --host <your agent>, then mem record / mem recall.

// さらに探索

似ているツール

AIエージェント

langmem

LangMem: long-term memory primitives for LangGraph agents that learn and adapt from conversations.

★ 1.7k スターMIT
ガイドを見る →
AIエージェント

Memoh

Multi-agent platform where every agent gets its own computer and long-term memory.

★ 2.6k スターAGPL-3.0
ガイドを見る →
AIエージェント

LongMemory

LongMemory: local-first memory for AI agents with temporal truth, provenance, and hybrid recall

★ 4.5k スターApache-2.0
ガイドを見る →
AIエージェント

magic-context

Self-managing, unbounded context and long-term memory for coding agents: one session, for life.

★ 2.3k スターMIT
ガイドを見る →
AIエージェント

cognee

Open-source AI memory that gives agents persistent long-term recall.

★ 31.6k スターApache-2.0
ガイドを見る →
AIエージェント

EverOS

One portable, local-first memory layer for every AI agent - Markdown-native, user-owned and self-evolving.

★ 13.4k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: AIエージェント

LibreAIカタログに掲載されたAIエージェントプロジェクトの中で最もスターの多いもの — agent-memoryが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る agents

さらに見る: AIエージェント

カタログの中でagent-memoryとスター数が近いAIエージェントプロジェクト — 前後の棚もそのまま見て回れます。

agent-memoryを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。