Python client SDK for Eidet — long-term memory for AI coding agents
Project description
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, StoreRequest, MemoryType
client = EidetClient() # defaults to http://localhost:19380
# Store a memory
result = client.store(StoreRequest(
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(request) |
Store a memory (observation, insight, procedure, heuristic) |
recall(repo, query, **kwargs) |
Search memories by meaning and keywords |
context(repo) |
Get compact session context (< 600 tokens) |
get_memory(id) |
Get a specific memory by ID |
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 |
consolidate(repo) |
Merge related observations into insights |
maintenance(repo) |
Run maintenance pipeline |
export_markdown(repo) |
Export memories as markdown |
health() |
Health check |
status() |
Service status and stats |
Requirements
- Eidet service running locally (
eidet serveor installed as system service) - Python 3.10+
- httpx
License
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
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 eidet_sdk-0.4.1.tar.gz.
File metadata
- Download URL: eidet_sdk-0.4.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7eee09b1a15bab0445484f678a7478a05098cb1c8379add84e2aeeb14ebbdc79
|
|
| MD5 |
b8407af1795400f79e73d863d47de4b3
|
|
| BLAKE2b-256 |
2bcd993bd669103964b989d12c23b7ac8b41a688caf705ce2d681d9436b2665a
|
Provenance
The following attestation bundles were made for eidet_sdk-0.4.1.tar.gz:
Publisher:
release.yml on stevehansen/eidet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eidet_sdk-0.4.1.tar.gz -
Subject digest:
7eee09b1a15bab0445484f678a7478a05098cb1c8379add84e2aeeb14ebbdc79 - Sigstore transparency entry: 1293633245
- Sigstore integration time:
-
Permalink:
stevehansen/eidet@b23e886f25fdb06c00bf9a0938c1f31918fa31e5 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/stevehansen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b23e886f25fdb06c00bf9a0938c1f31918fa31e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file eidet_sdk-0.4.1-py3-none-any.whl.
File metadata
- Download URL: eidet_sdk-0.4.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40821b4458ca165bdca50fd07cbfe4c86af6f49089726505dd2d897160a44c28
|
|
| MD5 |
8a3f1fb6ca98dde5467821693b2a0e72
|
|
| BLAKE2b-256 |
06e9005603cbe690a9bd9b74838da944704a1738e3bf3e112dfc391734af0ec8
|
Provenance
The following attestation bundles were made for eidet_sdk-0.4.1-py3-none-any.whl:
Publisher:
release.yml on stevehansen/eidet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eidet_sdk-0.4.1-py3-none-any.whl -
Subject digest:
40821b4458ca165bdca50fd07cbfe4c86af6f49089726505dd2d897160a44c28 - Sigstore transparency entry: 1293633251
- Sigstore integration time:
-
Permalink:
stevehansen/eidet@b23e886f25fdb06c00bf9a0938c1f31918fa31e5 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/stevehansen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b23e886f25fdb06c00bf9a0938c1f31918fa31e5 -
Trigger Event:
push
-
Statement type: