mnemosyne-openai-agents
OpenAI Agents SDK lifecycle hooks for the Mnemosyne memory substrate. on_turn_start, on_turn_end, search, and store hooks backed by the substrate, container-scoped, with automatic redaction.
Install
pip install mnemosyne-openai-agents
Quick start
from mnemosyne_openai_agents import MnemosyneAgentMemory
from mnemosyne_openai_agents.hook import TurnContext, TurnResponse
memory = MnemosyneAgentMemory(agent_id="alice")
# Auto-inject relevant memories at the start of a turn
context = TurnContext(agent_id="alice", input="what's my favorite editor?")
relevant = memory.on_turn_start(context)
for mem in relevant:
print(mem["content"])
# Persist the turn at the end
response = TurnResponse(output="VS Code is your favorite editor.")
memory.on_turn_end(context, response)
License
MIT © Geass Labs
Metadata
Release files for mnemosyne-openai-agents 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 | Provenance | Actions |
|---|---|---|---|---|
| mnemosyne_openai_agents-0.1.0.tar.gz | 5.1 kB | Without provenance | Details for mnemosyne_openai_agents-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mnemosyne_openai_agents-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mnemosyne_openai_agents-0.1.0-py3-none-any.whl |
Total release size: 11.3 kB
Release files / mnemosyne_openai_agents-0.1.0.tar.gz
| Download URL | mnemosyne_openai_agents-0.1.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b8dbb22ef1a8419a39a4c65c2748a4346983dd917ecc031957af90d58eb34a6
|
|
BLAKE2b-256 checksum How to use checksums |
99eac6818b1f313e0d8febf2434e66d66b038694c2753b3a48ccdeacc44a497e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / mnemosyne_openai_agents-0.1.0-py3-none-any.whl
| Download URL | mnemosyne_openai_agents-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebbb57c8f7fde6b850ea4ab5db2a989d54582706a45557bd7648a9daa675e1d0
|
|
BLAKE2b-256 checksum How to use checksums |
a87d4db291bf2f465f93cb0cb733e75b44f3d07956225ef8d656665a9915d1cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for mnemosyne-openai-agents 0.1.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.