mengram-crewai
Mengram memory tools for CrewAI agents — semantic (facts), episodic (events), and procedural memory (workflows that learn from failures).
The unique part is get_procedures: step-by-step playbooks with a success/failure track record and preconditions — the assumptions that were violated when the workflow previously failed — so your agents stop repeating mistakes they already made.
Install
pip install mengram-crewai
Free API key at mengram.io (40 memory adds + 200 searches/mo, no card).
Usage
from crewai import Agent
from mengram_crewai import mengram_tools
agent = Agent(
role="DevOps engineer",
goal="Ship the release safely",
tools=mengram_tools(api_key="om-...", user_id="user-123"),
)
The agent gets three tools:
| Tool | What it does |
|---|---|
search_memory |
Semantic search over facts, preferences, events, decisions |
save_memory |
Save a durable fact to long-term memory |
get_procedures |
Learned workflows: steps, track record, preconditions to verify |
Multi-user
Pass your end-user's id as user_id — isolated facts, events, workflows, and profile per user under one API key. See mengram.io/for-agents.
Options
mengram_tools(
api_key="om-...", # or rely on MENGRAM_API_KEY env var
user_id="user-123", # multi-user isolation
limit=5, # max results per tool call
base_url="https://...", # self-hosted instances
)
Metadata
Release files for mengram-crewai 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 |
|---|---|---|---|---|
| mengram_crewai-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for mengram_crewai-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mengram_crewai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mengram_crewai-0.1.0-py3-none-any.whl |
Total release size: 7.7 kB
Release files / mengram_crewai-0.1.0.tar.gz
| Download URL | mengram_crewai-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8f7021eefd3526e9280d2f60ecb29c2c3c9e4581a5f6fff2cd72e71b82d7708
|
|
BLAKE2b-256 checksum How to use checksums |
703ed217f792e2cadd21b4c763f3072d3869d3592805eba4fb1efec81487e965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / mengram_crewai-0.1.0-py3-none-any.whl
| Download URL | mengram_crewai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afdd4b3eee885d44c5986d72f7c51bf0e5ba3764430e7653ae1771d08767965f
|
|
BLAKE2b-256 checksum How to use checksums |
12ebb794eda88c0fa09853474eab69894578be1f2bfae2b3659017e030d74d4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Security for mengram-crewai 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.