A proactive memory layer for long-horizon coding agents, it knows when to remind.
Project description
agentmem-core
The core of AgentMem: a proactive memory layer for long-horizon coding agents. It maintains a structured memory bank and decides when to remind your agent, instead of dumping everything or retrieving on similarity.
pip install agentmem-core
Published as agentmem-core (the name agentmem was already taken on PyPI by an
unrelated project); everything you import and run is still agentmem.
from agentmem import MemorySession, triggers
mem = MemorySession(task="Fix the auth tests without changing the public API")
while not done:
reminder = mem.pending_context() # str | None
reply = call_your_agent(messages, memory_context=reminder)
mem.observe(reply.new_messages)
Full docs, integrations, and the design rationale live in the main repository.
Licensed under Apache-2.0.
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
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 agentmem_core-0.1.0.tar.gz.
File metadata
- Download URL: agentmem_core-0.1.0.tar.gz
- Upload date:
- Size: 108.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
572f262206510137e6f17944ce8ea5324f57033f99d11e2e52046427bb772384
|
|
| MD5 |
02d8af845f9c95a880ce4900aed78e7f
|
|
| BLAKE2b-256 |
6ab1273af3cb6a88062e35090b6d086206e99bbc5148ab73f0a03d1c8154dfbd
|
File details
Details for the file agentmem_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentmem_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 91.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d6b8593904c975e587e38b049f40e56cc89dae2537e602649307810a418fc65
|
|
| MD5 |
9e6488eb8e4f97c56ce8e40573549665
|
|
| BLAKE2b-256 |
ae7bbe6bcdf0ad775b7fe30661317ae1eee96902f7890a5e204fa1fa1f4e11dc
|