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.0.tar.gz (11.0 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.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: echograph_rag-0.2.0.tar.gz
  • Upload date:
  • Size: 11.0 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.0.tar.gz
Algorithm Hash digest
SHA256 8639f91edb88adcf39b65e765fef2823e24701784ef1acccc5151dd490ec2aff
MD5 dfbe410b9fb60e5f11611a48bd343a9e
BLAKE2b-256 65b947ecc346d22728b335991c3fe0b046b4463ba2ac301047381e5db4307519

See more details on using hashes here.

File details

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

File metadata

  • Download URL: echograph_rag-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32bbe615f237b06da6a97c5c01e4c2bee52c58cc56aa8a3589b7766cdd088570
MD5 2f0cd83954ab1f615223319948defacd
BLAKE2b-256 0d58c249fe1695de4744c4d4de1f24c61a79d15c95cbbb5679816d8d2a054c73

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