PS

plateerlab/synaptic-memory

Database management

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

33 stars 1 forks 品質 54 トレンド 15NOASSERTION

ハイブリッド検索、ライブDB同期、韓国FTS、メモリフィードバック付きLMLエージェント用のナレッジグラフ+ MCPツールサーバー.

概要

LLMエージェントのナレッジグラフ+ MCPツールサーバー、ハイブリッド検索、CDCベースのライブデータベースの同期、韓国FTS内蔵。 そのコマンドは、小さなSQLite-backedグラフを作成し、3つの検索を実行します。 Omit --db は、非記憶、ゼロ依存性の煙テストのためです。 拡張された例のフルソース:例/quickstart.py. RAGは、通常、独立したチャンクから応答します。 Synaptic は最初にグラフを構築します。そのため、エージェントはリレーションを検索したり、構造化された行を検査したり、どの証拠が助けられたかを記憶することができます。 ベクトルデータベースの置換ではありません。 既存の文書、SQLデータ、埋め込みエンドポイント、エージェントランタイムの周りのグラフとツールレイヤーです。 です。 自動検出ファイルフォーマットまたはDBスキーマ、オントロジープロファイル、インジェスト、インデックス、ビルドFKエッジ。 - mode="cdc" は、増分更新を有効にします。updated at-style 列を持つテーブルは、透かしフィルターで読み込まれます。他の人は、毎列のコンテンツハッシュに戻ります.

概要(AI 翻訳)

デフォルトパス: インデックスタイムでゼロ API 呼び出し。 ゼロインフラ ゼロロックイン。 LLMエージェントのナレッジグラフ+MCPツールサーバー、ハイブリッド検索機能、 CDC ベースのライブデータベースの同期、韓国 FTS が組み込まれています。

お問い合わせ

お問い合わせ

##5分スタート

そのコマンドは、小さなSQLite-backedグラフを作成し、3つの検索を実行します。 LLMをインデックス化時に呼び出さない。 Omit [--db] は、 ゼロ依存煙テスト。 拡張された例のフルソース: [examples/quickstart.py]。

お問い合わせ

なぜRAGなのか?

RAGは、通常、独立したチャンクから応答します。 Synaptic は最初にグラフをビルドします。 そのため、エージェントはリレーションを探し、フォローしたり、構造化された行を調べたり、覚えたりすることができます。 どの証拠が助けたか。

| プレーンラグ | シナプスメモリ | お問い合わせ | チャンク + ベクトル検索 | 文書・チャンク・行・端 | | 通常データ変更に関する再構築 | ライブデータベースのCDC同期 | | 既定のシングルショット検索 | マルチターン探査用MCPツール | | ご意見・ご要望・ご意見・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・ご要望・

ベクトルデータベースの置換ではありません。 周りのグラフとツールレイヤーです

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Synaptic Memory

Default path: zero API calls at index time. Zero infra. Zero lock-in. A knowledge graph + MCP tool server for LLM agents, with hybrid retrieval, CDC-based live database sync, and Korean FTS built in.

한국어 README


5-minute start

pip install "synaptic-memory[sqlite,korean,vector]"
synaptic-quickstart --db quickstart.db

That command builds a tiny SQLite-backed graph and runs three searches — all without calling any LLM at indexing time. Omit --db for an in-memory, zero-dependency smoke test. Full source for the expanded example: examples/quickstart.py.


Why not just RAG?

Plain RAG usually answers from independent chunks. Synaptic builds a graph first, so an agent can search, follow relations, inspect structured rows, and remember which evidence helped.

Plain RAG Synaptic Memory
chunks + vector search documents, chunks, rows, and edges
usually rebuilds on data change CDC sync for live databases
single-shot retrieval by default MCP tools for multi-turn exploration
feedback lives outside the index optional memory events, feedback, and health signals

It is not a vector database replacement. It is the graph and tool layer around your existing documents, SQL data, embedding endpoint, and agent runtime.


import asyncio
from synaptic import SynapticGraph

async def main():
    # Any data → knowledge graph (CSV, JSONL, directory)
    graph = await SynapticGraph.from_data("./my_data/", preset="rag")
    try:
        result = await graph.search("my question")
        print(result.nodes[0].node.title if result.nodes else "no result")
    finally:
        await graph.close()

asyncio.run(main())

That’s it. Auto-detects file format or DB schema, generates an ontology profile, ingests, indexes, builds FK edges.

Presets keep the common knobs compact:

# local: deterministic, no external services (default)
graph = await SynapticGraph.from_chunks(chunks, preset="local")

# rag: reads SYNAPTIC_EMBED_URL / SYNAPTIC_RERANK_URL if set
graph = await SynapticGraph.from_data("./docs/", preset="rag")

# agent: rag + deterministic component bridging for multi-turn exploration
graph = await SynapticGraph.from_data("./docs/", preset="agent")

Live database sync (CDC) — mode="cdc" enables incremental updates: tables with an updated_at-style column are read with a watermark filter, others fall back to per-row content hashing. Deletes are detected via a TEMP TABLE LEFT JOIN; FK rewires re-link the corresponding RELATED edges. Search results are

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →