peargent-echo
Official Python SDK for Peargent Echo — persistent memory for AI agents.
Installation
pip install peargent-echo
Quick Start
from peargent_echo import PeargentEcho
client = PeargentEcho(api_key="YOUR_API_KEY") # Get from https://echo.peargent.online/dashboard
# Store a memory
client.add_memory("User prefers Python over JavaScript.")
# Search memories
results = client.search("programming preferences")
print(results)
# Get user profile
profile = client.get_profile()
print(profile)
API Reference
add_memory(content, **options)
Store a new memory. Similar memories are automatically merged.
| Option | Type | Default | Description |
|---|---|---|---|
filter |
bool | True |
Filter irrelevant content |
extract |
bool | True |
Extract entities & facts |
agent_id |
str | - | Agent identifier |
run_id |
str | - | Conversation run ID |
metadata |
dict | - | Custom JSON metadata |
search(query, **options)
Semantically search through stored memories.
| Option | Type | Default | Description |
|---|---|---|---|
limit |
int | 10 |
Max results to return |
include_graph |
bool | False |
Include related memories |
get_profile()
Get the auto-generated user profile from stored memories.
License
MIT
Metadata
Release files for peargent-echo 0.1.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 | |
|---|---|---|---|
| peargent_echo-0.1.0.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| peargent_echo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / peargent_echo-0.1.0.tar.gz
| Download URL | peargent_echo-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05644623b21355e6c6fc84c1f0340e8d68b69ec2ca364b38b9dda5374587936e
|
|
BLAKE2b-256 checksum How to use checksums |
c7f05079ce864599d76ab8e1f77d84f2da39fd6305fa8c22c13a4a4df0370beb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / peargent_echo-0.1.0-py3-none-any.whl
| Download URL | peargent_echo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2293395bd4e18ded644fcbdb6dae8277cc29d0609d573c2e754187d4eb82d214
|
|
BLAKE2b-256 checksum How to use checksums |
b976ac702f859f57b2e653ad9db32ce9a66e1c360d18df6a1dec9ea0f59c66c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|