Hi AG2/AutoGen team 👋
AG2 is great at orchestrating conversations between agents (GroupChat, nested chats, etc.) but all that coordination state lives in memory. I want to propose an integration with a zero-infrastructure protocol that could make AG2 workflows durable and distributed.
GNAP (Git-Native Agent Protocol) is an open RFC for agent coordination over git. The full spec is 4 JSON files — agents.json, task files, message files, and a version file. Any agent that can do git pull/push joins the team.
AG2-specific integration value:
AG2 has powerful conversation patterns but lacks a durable, cross-process task queue. GNAP could act as AG2's persistence and distribution layer:
GroupChat conversations → persisted as GNAP messages in messages/
- Long-running tasks → tracked in
tasks/ with status (pending → in_progress → done)
- Human proxies → any human with git access becomes a first-class agent
- Multi-machine AG2 deployments → each machine pulls the same repo
GNAP vs current alternatives for AG2 persistence:
| Approach |
Complexity |
Vendor |
Works offline |
| Redis/Celery backend |
High |
Any cloud |
❌ |
| Custom DB |
Very high |
Custom |
❌ |
| GNAP |
Zero (just git) |
None |
✅ |
AG2's ConversableAgent.register_reply() hook could write state to GNAP on each turn, making group chats resumable across restarts.
Happy to prototype a GNAPGroupChatManager adapter if the team is interested.
https://github.com/farol-team/gnap
Hi AG2/AutoGen team 👋
AG2 is great at orchestrating conversations between agents (GroupChat, nested chats, etc.) but all that coordination state lives in memory. I want to propose an integration with a zero-infrastructure protocol that could make AG2 workflows durable and distributed.
GNAP (Git-Native Agent Protocol) is an open RFC for agent coordination over git. The full spec is 4 JSON files —
agents.json, task files, message files, and a version file. Any agent that can dogit pull/pushjoins the team.AG2-specific integration value:
AG2 has powerful conversation patterns but lacks a durable, cross-process task queue. GNAP could act as AG2's persistence and distribution layer:
GroupChatconversations → persisted as GNAP messages inmessages/tasks/with status (pending → in_progress → done)GNAP vs current alternatives for AG2 persistence:
AG2's
ConversableAgent.register_reply()hook could write state to GNAP on each turn, making group chats resumable across restarts.Happy to prototype a
GNAPGroupChatManageradapter if the team is interested.https://github.com/farol-team/gnap