integrations/ag2/v0.1.0

sadmann7/tablecnintegrations/ag2/v0.1.0Sep 18, 2026by het0814

Upgrading?

AI Summary

First release of the `memanto-ag2` package, enabling Memanto's persistent memory to be used as tools within AG2 (AutoGen) assistants for chat and execution.

Key Highlights

  • New `memanto-ag2` package for AG2 integration
  • Tool registration functions for `memanto_remember`, `memanto_recall`, and `memanto_answer`
  • OpenAI configuration helper for AG2 0.14+
  • Smoke test script included

New Features

  • `register_memanto_tools(assistant, executor, agent_id)` function
  • `create_memanto_tools(client, agent_id)` function
  • `openai_llm_config()` helper
  • `configure()` optional defaults for API key and source

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