agent-memory
Agent memory and knowledge management with 4-layer cognitive architecture
Part of the AumOS open-source agent infrastructure portfolio.
Features
- Four-layer cognitive memory model —
WORKING(active context),EPISODIC(events),SEMANTIC(facts and concepts), andPROCEDURAL(how-to knowledge) — each with its own storage, retrieval, and eviction semantics - Importance scoring with five qualitative tiers (
CRITICALthroughTRIVIAL) and a numeric[0, 1]score, plus time-based decay that reduces importance automatically as memories age - Contradiction detection and resolution:
ContradictionDetectoridentifies conflictingMemoryEntrypairs andContradictionResolverapplies configurable resolution strategies - Provenance tracking records the source and trust level of every memory item, with
reliabilityscores that factor into retrieval ranking - Three storage backends — in-memory, SQLite, and Redis — all behind the
MemoryStoreABC;UnifiedMemoryprovides a single facade across all four layers AutoMemorizeMiddlewareandContextBuilderwork together to automatically memorize tool outputs and construct retrieval-augmented context windows for LLM calls- Freshness validation and forced refresh policies prevent stale semantic memories from being surfaced in time-sensitive retrieval queries
Quick Start
Install from PyPI:
pip install agent-memory
Verify the installation:
agent-memory version
Basic usage:
import agent_memory
# See examples/01_quickstart.py for a working example
Documentation
Enterprise Upgrade
For production deployments requiring SLA-backed support and advanced integrations, contact the maintainers or see the commercial extensions documentation.
Contributing
Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.
License
Apache 2.0 — see LICENSE for full terms.
Part of AumOS — open-source agent infrastructure.
Metadata
Release files for aumos-agent-memory 0.2.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 | Provenance | |
|---|---|---|---|---|
| aumos_agent_memory-0.2.0.tar.gz | 172.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aumos_agent_memory-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 304.9 kB
Release files / aumos_agent_memory-0.2.0.tar.gz
| Download URL | aumos_agent_memory-0.2.0.tar.gz |
|---|---|
| Size | 172.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc8b2a0c3cb57e99f37dc87a223aff173835800be7860fc6ecc3493e3294f0f2
|
|
BLAKE2b-256 checksum How to use checksums |
09a46e241da9c15ebd0777cc0a0ab097997b0b8d7608206b6f13f52878c4106d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / aumos_agent_memory-0.2.0-py3-none-any.whl
| Download URL | aumos_agent_memory-0.2.0-py3-none-any.whl |
|---|---|
| Size | 132.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c0c2c4f07b4af04c373dd4dac60a682aa063cab26f621efcd092398961889d8
|
|
BLAKE2b-256 checksum How to use checksums |
0a0d117a3884be8e0f90dcff47f8d1ade488e22241ef4f36896da801f90aea08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for aumos-agent-memory 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.