Skip to main content

Official Python SDK & Local-First RAG Memory Engine for AI Agents

Project description

EchoGraph Python SDK

Official Python Client for the EchoGraph Cognitive Memory Engine. Easily connect long-term episodic memory to your LLMs (OpenAI, Gemini, Claude, LangChain, or custom agents).

🚀 1-Step Zero-Config Setup

Users can set up everything with two simple commands:

pip install echograph
echograph setup

That's it! echograph setup automatically detects the operating system (macOS, Windows, or Linux), locates Claude Desktop's configuration file, and registers the EchoGraph Local SQLite RAG MCP Server.


🛠️ CLI Commands

Command Description
echograph setup Automatically configures Claude Desktop MCP server (zero manual JSON editing)
echograph list Lists all local SQLite RAG memories
echograph store "text" Stores a new memory into local SQLite DB
echograph search "query" Performs semantic RAG vector search locally
echograph sync Uploads local SQLite data to cloud server
echograph pull Downloads cloud memories onto local device

1. Local-First Mode (Offline SQLite Database)

Stores and retrieves RAG memories locally at ~/.echograph/echograph_local.db with sub-millisecond response times. Zero server required!

from echograph import EchoGraphClient

# Initialize local-first client (default)
client = EchoGraphClient(local_first=True)

# Store memory locally in SQLite
client.store("User prefers dark mode UI and SQLite database", type="preference")

# Search local RAG context
context = client.format_context("database preferences")
print(context)

2. On-Demand Cloud Sync ("Upload to Cloud")

Uploads all local SQLite memories to the EchoGraph cloud server when requested by user or sync routine:

client.authenticate("user@example.com", "your_password")

# Upload all un-synced local memories to cloud
sync_res = client.upload_to_cloud()
print(sync_res)

# Pull synced cloud memories onto a new device
pull_res = client.pull_from_cloud()
print(pull_res)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

echograph_rag-0.2.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

echograph_rag-0.2.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file echograph_rag-0.2.1.tar.gz.

File metadata

  • Download URL: echograph_rag-0.2.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for echograph_rag-0.2.1.tar.gz
Algorithm Hash digest
SHA256 56b22a378583f28b58a88a0eeba7a5a449aa5c2aa4cc8233cfa297ca807fcabc
MD5 22e8ee544e5d3a1aa2f99626e5933583
BLAKE2b-256 41239b47964095607f20e0110434c7ab5c04a9dcca25e479f9ce23d4c60a8751

See more details on using hashes here.

File details

Details for the file echograph_rag-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: echograph_rag-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for echograph_rag-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6321459a53b5da44c4fbd750b09cebb11acb4816a0e79fb9df5cc80b50310856
MD5 a6532f03ebec9a99816ee70cd38dd336
BLAKE2b-256 5fc4f38613dcd7aea6ea7c53c351e3f93918a650cc553ee594c142cad32bee56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page