Python SDK for Echo Memory — AI memory infrastructure
Project description
echo-memory
Python SDK for Echo Memory — AI memory infrastructure.
Install
pip install echo-memory
Quickstart
from echo_memory import EchoClient
client = EchoClient(api_key="echo_sk_...")
# Store a memory
mem = client.store(
"Meeting notes: discussed Q2 roadmap with Sarah",
tags=["meetings", "q2"]
)
print(f"Stored: {mem['id']}")
# Search (hybrid = FTS + vector)
results = client.search("roadmap")
for r in results:
print(f" [{r['relevance_score']:.3f}] {r['memory']['content'][:80]}")
# List recent
recent = client.list(limit=5)
# Delete
client.delete(mem["id"])
Search modes
# Full-text search (FTS5, fastest)
client.search("roadmap", mode="fts")
# Semantic search (vector similarity, most relevant)
client.search("roadmap", mode="semantic")
# Hybrid search (combines both, best of both worlds)
client.search("roadmap", mode="hybrid") # default
Error handling
from echo_memory import EchoClient, AuthenticationError, RateLimitError
try:
client.store("test")
except AuthenticationError:
print("Bad API key")
except RateLimitError as e:
print(f"Rate limited. Retry after {e.retry_after}s")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
echo_memory-0.1.0.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file echo_memory-0.1.0.tar.gz.
File metadata
- Download URL: echo_memory-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c176123e0860837cb15778f1f793697c0ecd060c9e5f93e70b35c96e6fa7f39f
|
|
| MD5 |
b49f67c7b9bd35c7fd8c38466623ca09
|
|
| BLAKE2b-256 |
82c2be8f8a5bcc5234302308e06dc3c6f82f10f4084ffdd4f8b8a9bdf1ffb4b6
|
File details
Details for the file echo_memory-0.1.0-py3-none-any.whl.
File metadata
- Download URL: echo_memory-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11eaa276a40edd907855986b723ee47effdb12e00c0768f94662a3e04dedd8a4
|
|
| MD5 |
bc12a10d5752d346b4e436065ae6be0c
|
|
| BLAKE2b-256 |
ad9dce25efcacd5f8eb2d453c9712eda872ccb68696c1909e0f65ea7d58888cd
|