eidet-sdk
Python client SDK for Eidet — long-term memory for AI coding agents.
Install
pip install eidet-sdk
Usage
from eidet_sdk import EidetClient, MemoryType
client = EidetClient() # defaults to http://localhost:19380
# Store a memory
result = client.store(
repo="/path/to/project",
content="The auth module uses JWT with RS256 signing",
type=MemoryType.OBSERVATION,
tags=["auth", "jwt"],
)
# Search memories
results = client.recall("/path/to/project", "authentication")
# Get session context (L0 identity + L1 top memories, < 600 tokens)
context = client.context("/path/to/project")
# Browse all memories
page = client.browse("/path/to/project", skip=0, take=50)
# Feedback loop
client.feedback("memories/...", was_used=True) # echo (useful)
client.feedback("memories/...", was_used=False) # fizzle (irrelevant)
Context Manager
with EidetClient(url="http://localhost:19380") as client:
results = client.recall("/path/to/project", "deployment")
API Key Authentication
client = EidetClient(url="http://localhost:19380", api_key="your-api-key")
All Methods
| Method | Description |
|---|---|
store(repo, content, ...) |
Store a memory (observation, insight, procedure, heuristic; negative/valence for dead-ends, stage for subtask scoping) |
recall(repo, query, **kwargs) |
Search memories by meaning and keywords (filters: type, tags, valence, stage, cross_repo) |
context(repo) |
Get compact session context (< 600 tokens) |
get_memory(id) |
Get a specific memory by ID (includes contentSha256 for optimistic concurrency) |
update(memory_id, **kwargs) |
Update a memory (content changes create versions; expected_content_sha256 precondition) |
redact(memory_id, reason) |
Scrub a memory's content to a tombstone |
forget(id, reason?) |
Soft-delete a memory |
feedback(memory_id, was_used) |
Echo (useful) or fizzle (irrelevant) feedback |
history(id) |
Get version chain for a memory |
browse(repo, **kwargs) |
Paginated memory listing |
graph(repo, limit?) |
Graph data for visualization |
repos() |
List all known repositories |
intake(repo) |
Ingest project files as seed memories |
intake_git(repo, **kwargs) |
Seed memories from git commit history |
intake_claude_memory(repo, dry_run?) |
Import Claude Code's native per-project memory |
consolidate(repo) |
Merge related observations into insights |
maintenance(repo) |
Run maintenance pipeline |
export_markdown(repo, format?) |
Export memories as markdown ("agents" for AGENTS.md shape) |
health() |
Health check |
status() |
Service status and stats |
is_available() |
Check if the service is reachable |
Requirements
- Eidet service running locally (
eidet serveor installed as system service) - Python 3.10+
- httpx
License
Release files for eidet-sdk 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eidet_sdk-0.12.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eidet_sdk-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / eidet_sdk-0.12.0.tar.gz
| Download URL | eidet_sdk-0.12.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f54d6b44eae18630e4b8ce99846cfc89bd1ff3fce2583d63e533701bc3e5d91f
|
|
BLAKE2b-256 checksum How to use checksums |
6700791f52ab2f64e7b4d8f03af075c6afad0d891af729ed1d0a5be4ee1fc863
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency logRelease files / eidet_sdk-0.12.0-py3-none-any.whl
| Download URL | eidet_sdk-0.12.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2072d15a07ae7273104b59e066cd8e039c47208baa6bb3c279855cbbb1381e31
|
|
BLAKE2b-256 checksum How to use checksums |
02202007561553806618f7b6e30b36b057ff51a7a776b3d5ce8f66e0c35d9f60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.
Transparency log