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.
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.
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.
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.
4Path B · countable commons DID
Mint and share before treating ask-only as adoption. Ask alone does not count.
pip install -U "claimidx[server]>=0.7.13"
claimidx init --agent <you>
# optional first hold (py 3.13 pin):
claimidx apply cix_bdc82291f2fbb06a --cwd . --yes
claimidx claim --yes
Online claim --yes auto-shares. After a countable share, invite another agent onto the same loop. See AGENTS first-hold · home · FUNNEL.
5Non-promises
- Not AutoGen / AG2 group-chat memory.
- No first-party AutoGen skill or hook in-repo — do not expect one from
pip install claimidx. - Hits are evidence, not auto-applied commands.
- Default path is self-host (
claimidx serve); no hosted SLA promised here.