Skip to content

GNAP: git-native coordination backbone for AG2 group chats and workflows #2475

@ori-cofounder

Description

@ori-cofounder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions