// agents · kingjulio8238/Memary

Memary

Memaryは、kingjulio8238が公開しているオープンソースのAIエージェントプロジェクトです(GitHub: kingjulio8238/Memary)。GitHubスターは2,655、フォークは205で、MITライセンスの下で公開されています。GitHubでの最終更新は2024年10月22日です。

The open-source memory layer for autonomous agents — knowledge-graph memory that emulates human memory

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

プロジェクト基本情報

リポジトリ
kingjulio8238/Memary
GitHubスター
2,655
フォーク
205
ライセンス
MIT
GitHubでの最終更新
2024年10月22日
掲載タイプ
完全なインストールガイド
// 仕組み

仕組み

  1. Clarify your goal

    Decide whether you are adding memory to your own agent, or evaluating Memary through its bundled personal-agent demo.

  2. Get Memary

    pip install memary (Python <= 3.11.9), or clone the repo and install requirements for the full demo.

  3. Install and configure

    Create a .env with your graph database credentials (free FalkorDB or Neo4j instance) and any API keys, choose local Ollama models or OpenAI models, and edit the user/system persona files.

  4. Run your first session

    Launch the Streamlit app, chat with the agent, and watch its knowledge graph and memory modules update in the dashboard.

// 機能

選ばれる理由

Knowledge-graph memory

Facts are stored in a graph database (FalkorDB or Neo4j) via LlamaIndex, with recursive retrieval and multi-hop reasoning over entity subgraphs.

Auto-generated memory

After initialization, memory updates automatically as the agent interacts, and agent responses are written back into the graph.

Memory Stream

Captures every entity inserted into the graph with timestamps, enabling timeline and theme analysis of a user's interests.

Entity Knowledge Store

Tracks frequency and recency per entity to rank what the user knows deeply versus superficially.

Bundled ReAct agent and tools

A demo ChatAgent with default tools (search, vision via LLaVA, location via Google Maps, stocks), plus add_tool/remove_tool for custom tools.

Multi-graph support

With FalkorDB, multiple graphs keyed by user/agent ID let different agents keep separate memory contexts.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone the repo

    Clone Memary for the full demo; the library alone installs from PyPI in step 2.

    git clone https://github.com/kingjulio8238/Memary.git
    cd Memary
  2. Install the package

    Install Memary (Python <= 3.11.9 per the README) and, for a local checkout, its requirements.

    pip install memary
    # local checkout: pip install -r requirements.txt
  3. Run the demo app

    Configure .env and the persona files first, then start the Streamlit app.

    cd streamlit_app
    streamlit run app.py
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who maintains Memary?

kingjulio8238 created and maintains it; documentation is at kingjulio8238.github.io.

Is Memary free?

Yes, MIT-licensed. Its graph databases (FalkorDB/Neo4j) have free tiers, and models can run locally via Ollama.

Does it need a paid API key?

Not necessarily — it defaults to local Ollama models. Hosted options (OpenAI, Perplexity, Google Maps, Alpha Vantage) use your own keys if you enable those tools.

How does it compare to Memobase?

Memobase focuses on user profiles for chatbots as a service. Memary is a research-oriented memory layer centered on a knowledge graph plus memory-stream/entity-store modules you embed yourself.

How do I get started?

pip install memary, set up a free FalkorDB or Neo4j instance in .env, then run the Streamlit demo from the repo. Note the repo's last push was in October 2024.

// さらに探索

似ているツール

AIエージェント

memvid

A serverless, single-file memory layer for AI agents - replace complex RAG pipelines

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

zep

Examples and integrations for Zep — the memory layer for AI agents.

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

iwe

A markdown knowledge graph with LSP for editors and MCP for agents.

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

m_flow

M-flow is a bio-inspired cognitive memory engine for AI agents — a graph alternative to flat RAG

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

graphiti

Real-time knowledge graphs that give agents a memory with structure.

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

basic-memory

Basic Memory: local-first MCP memory so you and your AI tools build a shared knowledge graph in Markdown

★ 4.1k スターAGPL-3.0
ガイドを見る →
// 代替候補

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

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

// さらに見る agents

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

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

Memaryを入手する

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