integrations/ag2/v0.1.0

moorcheh-ai/memantointegrations/ag2/v0.1.0Sep 18, 2026by het0814

Upgrading?

AI Summary

This is the first release of the `memanto-ag2` integration package, providing persistent memory tools for the AG2 (AutoGen) framework to assist agents with remembering, recalling, and answering queries.

Key Highlights

  • Initial release of the AG2 integration package
  • Tool registration functions for Assistant and UserProxy
  • Support for AG2 0.9.x schema and OpenAI LLM configuration
  • Automatic installation of the core `memanto` package

New Features

  • `register_memanto_tools()` function
  • `create_memanto_tools()` function
  • `openai_llm_config()` helper function
  • `configure()` function for defaults
  • 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