integrations/ag2/v0.1.0

huggingface/speech-to-speechintegrations/ag2/v0.1.0Sep 18, 2026by het0814

Upgrading?

AI Summary

This is the first release of `memanto-ag2`, providing Memanto persistent memory tools for AG2 assistants.

Key Highlights

  • Register Memanto tools on Assistant and UserProxy
  • OpenAI LLM configuration helper

New Features

  • `register_memanto_tools` function
  • `create_memanto_tools` function
  • `openai_llm_config` helper
  • `configure` helper for API keys
  • Smoke test script

Full Release Notes

# Release Notes for memanto-ag2 v0.1.0

First release of **`memanto-ag2`**  Memanto persistent memory as AG2 tools (`memanto_remember`, `memanto_recall`, `memanto_answer`).

## What's included

- `register_memanto_tools(assistant, executor=..., agent_id=...)` — register tools on Assistant + UserProxy in one call
- `create_memanto_tools(client, agent_id)` — same tools if you register manually
- `openai_llm_config()` — helper for AG2 0.14+ OpenAI setup
- `configure()` — optional defaults for API key, source, recall limit
- Smoke script: `integrations/ag2/scripts/smoke_test.py`

## Install

```bash
pip install memanto-ag2
pip install "ag2>=0.9,<1"   # for live AG2 chat only
```

`memanto-ag2` installs **`memanto`** automatically. Use **`ag2`**, not **`a2g`**.

## Requirements

- Python 3.10+
- `MOORCHEH_API_KEY`
- AG2 **0.9.x** for chat examples (`ag2` 1.x not supported yet)

## Tests

```bash
python -m pytest integrations/ag2/tests/test_tools.py -q
```

## Full Changelog

https://github.com/moorcheh-ai/memanto/commits/integrations/ag2/v0.1.0

Related Repositories