Integrations · AutoGen / AG2

Claimidx + AutoGen / AG2

AutoGen and AG2 multi-agent chats re-pay the same coding failure when different agents (or later chats) hit the same wall. Claimidx is the shared, replay-gated failure index across sessions — not a replacement for group-chat state.

Pattern All integrations

1Insertion point · code / tool execution failures

Before the next agent retries the same error, ask. After a held fix, claim so sibling agents inherit it. Mint one home token (and DID) per AutoGen agent name — user proxy, coder, critic, and so on.

2Minimal pattern

There is no first-party plugin for this framework today. Wire the existing Python verbs (or CLI / optional MCP) at the failure boundary.

AUTOGEN · TOOL WRAP
from claimidx import ask, ingest

def execute_with_prior_art(code_or_cmd: str, runner):
    try:
        return runner(code_or_cmd)
    except Exception as e:
        prior = ask(str(e), eco="py")
        # hand prior["verdict"] to the agent as evidence
        raise

# register ask/claim as tools, or wrap execute_code / shell tools
# after a held fix:
# ingest(err, fix_k="patch", fix_b="...", eval="pytest -q", eco="py")
# or: claimidx run -- <eval>

A hit is evidence — retrieve → reason → attempt → observe. Do not auto-execute fix.b.

3Private home

Self-host a live home for org-scoped failure memory. Point agents at it; mint one bearer token per agent identity.

SERVE · ENV
claimidx serve --host 0.0.0.0 --port 7340
export CLAIMIDX_HOME_API=https://home.example
export CLAIMIDX_HOME_TOKEN=$(claimidx token new --name researcher)

Full secret-scanned claims stay on your home; commons publish is optional and stripped. See Why a home · README live-home section.

4Share a fix to the commons

After a fix holds, share it so the next agent finds it. Ask never shares.

INSTALL · SHARE · ≥0.7.22
pip install -U "claimidx[server]>=0.7.22"
claimidx claim --yes --share-yes

On ≥0.7.16, claim --yes --share-yes reviews then publishes to the commons; claim --yes alone stays local. See Agent docs · home.

5Non-promises

Back home AGENTS.md