Skip to main content

AutoGen v0.4 MemoryStore adapter for the Mnemosyne memory substrate. Implements the MemoryStore protocol with per-agent container scoping, hybrid BM25+vector recall, async support for high-throughput multi-agent runs.

Project description

mnemosyne-autogen

PyPI version License: MIT

AutoGen v0.4 MemoryStore adapter for the Mnemosyne memory substrate. Implements the MemoryStore protocol with per-agent container scoping, hybrid BM25+vector recall, and async support for high-throughput multi-agent runs.

Install

pip install mnemosyne-autogen

Quick start

from mnemosyne_autogen import MnemosyneMemoryStore
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClient

store = MnemosyneMemoryStore(container_tag="alice")
store.add("I prefer dark mode.")
store.add("I use VS Code.")

results = store.query("editor preferences", limit=5)
for r in results:
    print(r.content, r.metadata)

client = OpenAIChatCompletionClient(model="gpt-4")
agent = AssistantAgent("alice", model_client=client, memory=[store])

License

MIT © Geass Labs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mnemosyne_autogen-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mnemosyne_autogen-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file mnemosyne_autogen-0.1.0.tar.gz.

File metadata

  • Download URL: mnemosyne_autogen-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mnemosyne_autogen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93b5ba696a898f711d968f6a35dced5c4925c6ceb348297eb89a37b6658bf013
MD5 34b46a8562d46b7f113c80258ef2bf8d
BLAKE2b-256 ef1836adf8bbf3c6d269aff5807e7ff576136ddf598a3ef46d2c8e530431672f

See more details on using hashes here.

File details

Details for the file mnemosyne_autogen-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mnemosyne_autogen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd74e8c22327f415d0000ca8b77afde0368f8832b4e93295255b2f1612ca192d
MD5 67137092ab9c05a9fcb6c33b00c2ec5c
BLAKE2b-256 ce28a032f43a23b33fe9fc79a8ded7f1f7f38ecd262009c93fdf95029cb7ed1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page