Catalog (70)

IDDocumentUpdatedAnchorsSHA
agents/ag2-extraction-notesAG2 Extraction Notes
agents/ag2-extraction-notes.md
10/20/2018, 1:46:40 AM11e8d0072ebec1
asset-provenanceAsset Provenance
asset-provenance.md
10/20/2018, 1:46:40 AM41025c0acc117
closeout-notesAI-RSI one-click closeout notes
closeout-notes.md
10/20/2018, 1:46:40 AM21f560f6a8535
content-credibility-engineContent Credibility Engine
content-credibility-engine.md
10/20/2018, 1:46:40 AM8d9aa32358670
demo-scriptDemo Video — Shot List & Script (60–90s)
demo-script.md
10/20/2018, 1:46:40 AM2131ddae42e6e
deploymentDeployment — Vercel + Render
deployment.md
10/20/2018, 1:46:40 AM84911b1f459b5
development-roadmapMeta Museum Development Roadmap
development-roadmap.md
10/20/2018, 1:46:40 AM23624a8a089d72
development/aidd-tddAIDD + TDD Discipline
development/aidd-tdd.md
10/20/2018, 1:46:40 AM5cd0a0524525a
envEnvironment Variables
env.md
10/20/2018, 1:46:40 AM109c18634cab1a
evals/golden-museum-questionsGolden Eval Dataset: Complex Museum Questions
evals/golden-museum-questions.md
10/20/2018, 1:46:40 AM62876a2b5e78d
linked-art/conformance-matrixLinked Art 1.0 — Conformance Matrix
linked-art/conformance-matrix.md
10/20/2018, 1:46:40 AM553ff87000bf4
linked-art/Linked%20Art%20NotesLinked Art Notes.md
linked-art/Linked Art Notes.md
10/20/2018, 1:46:40 AM0aca66d51107b
linked-art/Linked%20Open%20Art%20Data%20Web%20App%20-%20Must-have%20Data%20SourcesLinked Open Art Data Web App (AI) — Must-have Data Sources
linked-art/Linked Open Art Data Web App - Must-have Data Sources.md
10/20/2018, 1:46:40 AM77b7d350fe8a0
linked-art/LinkedArtAppFeatures🏛️ Art Explorer: Linked Art Application & Ecosystem
linked-art/LinkedArtAppFeatures.md
10/20/2018, 1:46:40 AM14e23b890ecd2a
linked-art/LinkedArtChallengesLinkedArtChallenges.md
linked-art/LinkedArtChallenges.md
10/20/2018, 1:46:40 AM0d8c987070277
linked-art/LinkedArtCollaborationLinkedArtCollaboration.md
linked-art/LinkedArtCollaboration.md
10/20/2018, 1:46:40 AM114ccf63edef3
linked-art/LinkedArtDashboardLinkedArtDashboard.md
linked-art/LinkedArtDashboard.md
10/20/2018, 1:46:40 AM06d04d4b2bf79
linked-art/LinkedArtFeatureRoadmapFeature Roadmap for Linked Open Art Data Apps
linked-art/LinkedArtFeatureRoadmap.md
10/20/2018, 1:46:40 AM8ac10d8e79c20
linked-art/LinkedArtJobReadyLinkedArtJobReady.md
linked-art/LinkedArtJobReady.md
10/20/2018, 1:46:40 AM0c60b357bcb87
linked-art/LinkedArtModel1.0-ReferenceLinked Art Model 1.0 Reference (Round 1)
linked-art/LinkedArtModel1.0-Reference.md
10/20/2018, 1:46:40 AM344e6d48d474b3e
linked-art/LinkedArtPatternsLinkedArtPatterns.md
linked-art/LinkedArtPatterns.md
10/20/2018, 1:46:40 AM0d45bbbb02d70
linked-art/LinkedArtPRD🖼️ Product Requirements Document
linked-art/LinkedArtPRD.md
10/20/2018, 1:46:40 AM2091bc1f37307c
linked-art/LinkedArtRoadmapLinkedArtRoadmap.md
linked-art/LinkedArtRoadmap.md
10/20/2018, 1:46:40 AM0e52e71c6bd28
linked-art/LinkedArtSaaSLinkedArtSaaS.md
linked-art/LinkedArtSaaS.md
10/20/2018, 1:46:40 AM03d260738fb29
linked-art/LinkedArtSoftwareCode and Tools
linked-art/LinkedArtSoftware.md
10/20/2018, 1:46:40 AM89e8fef24aea9
linked-art/LinkedArtSOTAWebAppLinkedArt SOTA Web App — Master Build Specification
linked-art/LinkedArtSOTAWebApp.md
10/20/2018, 1:46:40 AM129a5f0baca89c6
linked-art/LinkedArtUnmetNeedsLinkedArtUnmetNeeds.md
linked-art/LinkedArtUnmetNeeds.md
10/20/2018, 1:46:40 AM0cb35fac29cc1
linked-art/LinkedArtUseCasesLinkedArtUseCases.md
linked-art/LinkedArtUseCases.md
10/20/2018, 1:46:40 AM05c572ce8e7f3
linked-art/LinkedArtWidgetsLinkedArtWidgets.md
linked-art/LinkedArtWidgets.md
10/20/2018, 1:46:40 AM0b39911c7d97d
linked-art/LinkedDesignLinkedDesign.md
linked-art/LinkedDesign.md
10/20/2018, 1:46:40 AM00a02240471e5
linked-art/LODEngineLODEngine.md
linked-art/LODEngine.md
10/20/2018, 1:46:40 AM0ef73426f80db
linked-art/LODPipelineLODPipeline.md
linked-art/LODPipeline.md
10/20/2018, 1:46:40 AM0fe95e61ed9da
linked-art/LODToolsLODTools.md
linked-art/LODTools.md
10/20/2018, 1:46:40 AM03167947fc4e4
linked-art/SPARQLSPARQL.md
linked-art/SPARQL.md
10/20/2018, 1:46:40 AM050e00ed51733
linked-art/VocabulariesVocabularies.md
linked-art/Vocabularies.md
10/20/2018, 1:46:40 AM0e0574a338aaa
linked-art/YaleLuxYaleLux.md
linked-art/YaleLux.md
10/20/2018, 1:46:40 AM074fd47fae749
meta-wiki-art-bridgeMeta Wiki Art Bridge (MediaWiki + Wikibase)
meta-wiki-art-bridge.md
10/20/2018, 1:46:40 AM77a43fb0c48b8
ops/activity-adoption-proofActivity Feed Adoption Proof Runbook
ops/activity-adoption-proof.md
10/20/2018, 1:46:40 AM568a80b43ae58
ops/ag2-workerAG2 Worker and Bridge Runbook
ops/ag2-worker.md
10/20/2018, 1:46:40 AM950efcd4e3318
ops/auth-credential-rotationAuth credential rotation runbook
ops/auth-credential-rotation.md
10/20/2018, 1:46:40 AM4449b8b8eecb6
ops/deployment-preflightDeployment Preflight Runbook
ops/deployment-preflight.md
10/20/2018, 1:46:40 AM5ac60432d0aed
ops/era-c-exit-gate-evidenceEra C Exit-Gate Evidence Pack
ops/era-c-exit-gate-evidence.md
10/20/2018, 1:46:40 AM6656b9c7f85c6
ops/go-live-checklistGo-Live & Evidence-Pipeline Checklist
ops/go-live-checklist.md
10/20/2018, 1:46:40 AM6ae7f5d71f7dc
ops/k6-slok6 SLO Load Test (SOTA §20.4)
ops/k6-slo.md
10/20/2018, 1:46:40 AM4328b5b3163d4
ops/kpi-evidenceSOTA §26 KPI Evidence Input
ops/kpi-evidence.md
10/20/2018, 1:46:40 AM5d7b2973d2927
ops/launch-reviewLaunch Review Packet
ops/launch-review.md
10/20/2018, 1:46:40 AM5880e41ebcbe3
ops/managed-linked-art-pilot-runbookManaged Linked Art Pilot Runbook
ops/managed-linked-art-pilot-runbook.md
10/20/2018, 1:46:40 AM11d4f125c2ddae
ops/otel-localLocal OpenTelemetry Wiring (Tempo / Jaeger)
ops/otel-local.md
10/20/2018, 1:46:40 AM51ebbc3b33f92
ops/outbox-projectorTransactional Outbox Projector (Postgres -> Solr/GraphDB)
ops/outbox-projector.md
10/20/2018, 1:46:40 AM5dc70ad766471
ops/procurement-readiness-packetProcurement Readiness Packet
ops/procurement-readiness-packet.md
10/20/2018, 1:46:40 AM9c5685e82cca7
ops/reconciliation-serviceReconciliation Service (C2)
ops/reconciliation-service.md
10/20/2018, 1:46:40 AM605162c313ea9
ops/search-graph-provisioningSolr 9 + GraphDB Provisioning
ops/search-graph-provisioning.md
10/20/2018, 1:46:40 AM6fc1b15279a84
ops/security-dr-drillPen Test Baseline + DR Drill Runbook
ops/security-dr-drill.md
10/20/2018, 1:46:40 AM3a766ef3e2afc
progress/2026-05-31/era-c-readiness-snapshotEra C Readiness Snapshot (May 31, 2026)
progress/2026-05-31/era-c-readiness-snapshot.md
10/20/2018, 1:46:40 AM39672614ceb53
progress/era-historyMeta Museum — Era Delivery History
progress/era-history.md
10/20/2018, 1:46:40 AM47cc030755d1e5
providers/harvard-art-museumsHarvard Art Museums API Integration Plan
providers/harvard-art-museums.md
10/20/2018, 1:46:40 AM11fa8b980154f5
providers/louvre-collections-jsonLouvre Collections JSON Integration Plan
providers/louvre-collections-json.md
10/20/2018, 1:46:40 AM11775f91a8d813
providers/nga-open-dataNational Gallery of Art (NGA) Open Data Integration Plan
providers/nga-open-data.md
10/20/2018, 1:46:40 AM1151c4807c8de0
providers/princeton-art-museumPrinceton University Art Museum API Integration Plan
providers/princeton-art-museum.md
10/20/2018, 1:46:40 AM11c8823f65ee41
providers/rkd-knowledge-graphRKD Knowledge Graph Integration Plan
providers/rkd-knowledge-graph.md
10/20/2018, 1:46:40 AM162b4b42f2ad42
providers/smithsonian-open-accessSmithsonian Open Access Integration Plan
providers/smithsonian-open-access.md
10/20/2018, 1:46:40 AM12db1ffa4cab02
providers/vanda-collections-apiVictoria and Albert Museum (V&A) Collections API Integration Plan
providers/vanda-collections-api.md
10/20/2018, 1:46:40 AM11755d93972233
qualityQuality & Performance
quality.md
10/20/2018, 1:46:40 AM6174add040960
reconciliation/exhibition-literature-reconciliationExhibition + Literature Reconciliation (B6.1)
reconciliation/exhibition-literature-reconciliation.md
10/20/2018, 1:46:40 AM7293e9d81dd7c
responsible-aiResponsible AI
responsible-ai.md
10/20/2018, 1:46:40 AM8f90006650821
risk-registerRisk Register
risk-register.md
10/20/2018, 1:46:40 AM4becb213d5c5e
roadmap-to-10Roadmap to 10/10
roadmap-to-10.md
10/20/2018, 1:46:40 AM1540a11000dc7e
roadmapMeta Museum Roadmap
roadmap.md
10/20/2018, 1:46:40 AM18c5170f9ecb2b
rsi-wikiAI-RSI compounding wiki
rsi-wiki.md
10/20/2018, 1:46:40 AM8b64914fe6f20
wikibase-cloud-migration-checklistWikibase Cloud -> Self-Host Migration Checklist
wikibase-cloud-migration-checklist.md
10/20/2018, 1:46:40 AM12170657fcbf2b

    Current Document: AG2 Extraction Notes

    Source updated 10/20/2018, 1:46:40 AM · SHA-256 e8d0072ebec1 · 224 lines

    Canonical ID: agents/ag2-extraction-notes

    JSON for this doc:/api/docs/content?path=agents/ag2-extraction-notes.md

    Human link:/docs?doc=agents%2Fag2-extraction-notes.md

    Canonical API endpoint:/api/docs/content?path=agents%2Fag2-extraction-notes.md

    Sections (stable anchors):

    AG2 Extraction Notes

    This document preserves the Meta Museum-relevant AG2 patterns extracted from the

    temporary `metagenauto/` reference repository before that folder was removed from

    the app workspace.

    Decision

    Meta Museum keeps the current TypeScript `AgentTask` contract layer as the public

    and testable boundary. AG2 remains a future execution engine behind that boundary,

    not a replacement for the existing review-first API.

    Current production rule:

    without human approval.

    paths, and review state.

    • Agents draft, score, reconcile, and review.
    • Agents do not publish, merge identities, clear rights, deploy, or install tools
    • Every agent-facing result must preserve citations, rights warnings, refusal

    Extracted AG2 Runtime Rules

    predicate or explicit terminate target.

    • Target runtime from the reference repo was AG2 `0.13.2`, imported as `autogen`.
    • Use a centralized `make_agent()` factory for AI-only agents.
    • AI-only agents use `human_input_mode="NEVER"`.
    • Human approver agents use `human_input_mode="ALWAYS"` and `llm_config=False`.
    • Executor-only agents use `llm_config=False`.
    • Every autonomous agent must have `max_consecutive_auto_reply`.
    • Use at least two termination controls: turn/round caps plus a termination
    • Keep `code_execution_config=False` unless code execution is the explicit job.
    • Avoid exposing secrets through tool parameters or client-visible schemas.
    • Do not use cached LLM responses in eval gates or production decision paths.

    Agent Factory Pattern

    The useful reference design was:

    • resolve a named model tier (`cheap`, `mid`, `strong`, `hub`);
    • apply shared constructor defaults;
    • inject structured output schemas only when needed;
    • create either a `ConversableAgent` or `AssistantAgent`;
    • create executor and human-proxy agents through separate helper constructors.

    Meta Museum mapping:

    | AG2 idea | Meta Museum owner |

    |---|---|

    | `make_agent()` bounded constructor | future `services/agents/ag2-bridge` |

    | AI-only default | current agent profiles remain review-only |

    | executor-only proxy | future server-side tool executor |

    | human proxy | existing `approvalRequired: true` and future review queue |

    | structured response schema | existing Zod contracts and future Pydantic bridge |

    Tool Registration Rules

    AG2 distinguishes caller and executor agents:

    • caller exposes a tool schema to the model;
    • executor runs the actual function.

    Rules to retain:

    any write.

    • Tool descriptions must be specific and auditable.
    • Tool return values should be normalized JSON or compact text records.
    • Secrets belong in server-side dependency contexts, not tool arguments.
    • One credential boundary should have one explicit context object.
    • Tools that mutate state must return a proposed diff or review packet before

    Museum-specific first tools for an AG2 bridge:

    • `search_records`
    • `build_mapping_assist_plan`
    • `find_reconciliation_candidates`
    • `scan_rights_and_provenance`
    • `draft_curatorial_text`
    • `create_agent_task_review_packet`

    Orchestration Patterns To Keep

    Use AG2 only where the pattern earns its complexity.

    Preferred:

    tasks.

    • Star / hub-and-spoke for cross-agent review, with one hub enforcing policy.
    • Pipeline for fixed ordered workflows such as mapping review then import review.
    • Triage-with-tasks for decomposing mixed user requests into typed specialist
    • Redundant review for high-risk claims where two reviewers compare evidence.
    • Escalation for cheap deterministic checks before expensive reasoning.

    Avoid as default:

    • organic group chats for standards-critical workflows;
    • autonomous mutation/self-improvement against production code;
    • public A2A endpoints before auth, rate limits, and approval gates exist.

    Human Approval Gates

    The reference repo had seven useful gate classes. Meta Museum should adapt them

    to cultural-heritage workflows:

    | Gate | Meta Museum equivalent |

    |---|---|

    | `phase_transition` | roadmap/status claim changes |

    | `mutation_acceptance` | agent-authored code or config changes |

    | `production_deploy` | public deploy or release |

    | `external_tool_install` | new agent tool, MCP server, connector, or crawler |

    | `safeguard_policy_change` | rights, citation, sensitivity, or refusal policy |

    | `a2a_endpoint_exposure` | public or LAN-visible agent endpoint |

    | `story_proposal` | agent-authored backlog item or roadmap scope |

    Additional museum gates to add before AG2 execution:

    • identity merge / `equivalent` write;
    • rights clearance or reuse status upgrade;
    • public Wiki/MediaWiki/Wikibase publish;
    • provenance claim rewrite;
    • sensitive-record disposition;
    • bulk import activation from an AI-generated mapping.

    Eval Gate Pattern

    The valuable pattern is not the old test files themselves; it is the discipline:

    1. Write an eval case before adding a new agent capability.
    1. Keep structural gates runnable without live LLM calls.
    1. Add behavioral gates for grounded outputs, refusals, and policy violations.
    1. Require all prior gates to remain green.
    1. Treat eval regressions as blockers, not warnings.

    Meta Museum already has the right local equivalent:

    • `tests/api/agents-run.test.ts`
    • AI eval gate scripts and `/api/ai-evals/summary`
    • closeout guard and README/roadmap currency rule
    • citation/refusal tests for AI chat/query/content flows

    Next AG2 bridge acceptance:

    • AG2 bridge can be disabled with no API contract change.
    • Same request returns the same `AgentTask` envelope shape in local and AG2 modes.
    • Every AG2 output validates against existing Zod contracts.
    • Timeout, refusal, tool error, and partial-output cases are tested.

    Observability Pattern

    Keep the fault-tolerant tracing shape:

    • tracing setup must never crash request paths;
    • no endpoint means no-op tracing;
    • missing SDK means no-op tracing;
    • trace capture of LLM messages must be explicitly enabled;
    • do not export sensitive traces to third-party backends without approval.

    Useful span categories:

    • agent run;
    • tool call;
    • approval request;
    • LLM call;
    • citation retrieval;
    • rights/provenance scan;
    • refusal;
    • human approval outcome.

    AG-UI / A2A Notes

    Do not make AG-UI or A2A the first bridge. Start with an internal server-side AG2

    adapter called by the existing Next route. Consider AG-UI or A2A only after:

    • persistent AgentTask history exists;
    • approval queue UI exists;
    • auth/rate limits are tested;
    • trace IDs connect the Next request and AG2 run;
    • shutdown/timeout behavior is proven.

    If A2A is later exposed:

    • default to loopback only;
    • publish minimal agent cards;
    • require auth and rate limiting;
    • treat endpoint exposure as a human approval gate.

    What Was Not Ported

    The temporary repo included useful but non-essential systems that should not be

    copied into Meta Museum now:

    • its Next.js command-hub UI;
    • its ticket system;
    • Slack/Discord/Telegram agents;
    • mutation/self-improvement engine;
    • Chroma-specific project memory;
    • Google Drive toolkit;
    • book quote library;
    • its roadmap and council personas.

    Those are reference ideas only. Meta Museum's domain agents are Clio, Mercator,

    Janus, Themis, and Calliope, and their job is museum-data review with evidence

    and human oversight.

    1. Done: persist AgentTask run history in managed `agent-tasks.json` storage and

    expose the editor-gated `/api/agents/tasks` review queue.

    1. Done: add an internal, disabled-by-default AG2 bridge boundary behind

    `src/services/agents.ts` for Mercator and Janus, with timeout, contract

    validation, and local fallback behavior.

    1. Done: implement the local Python AG2 worker endpoint in

    `services/ag2-worker`, exposing `POST /ag2/agents/run` and `GET /health`.

    1. Done: validate AG2 output through the existing TypeScript bridge contract

    plus Python service-level tests for Mercator, Janus, approval refusal, and

    scope limits.

    1. Done: add route-to-bridge trace propagation plus timeout/refusal coverage

    around the worker boundary.

    1. Done: add deployment/runtime docs for enabling

    `METAMUSEUM_AG2_BRIDGE_ENABLED` in `docs/ops/ag2-worker.md` and

    `docs/env.md`.

    1. Done: add live-worker eval artifacts and production sign-off policy through

    `pnpm ag2:worker:eval` / `pnpm ag2:worker:eval:check`.

    1. Only then consider A2A/AG-UI or multi-agent group-chat execution.

    AI/agent quick endpoints