Interoperability¶
AgentTeams includes a dedicated interoperability feature family for moving or exposing agent infrastructure across frameworks without losing team intent.
Why This Exists¶
Real projects often need to:
- keep one framework as canonical source of truth,
- run the same team in a different runtime, or
- maintain compatibility interfaces for adjacent systems.
The interoperability family supports those workflows through three explicit modes.
Three Interoperability Modes¶
| Mode | CLI Entry | Primary Use | Source Canonical Docs |
|---|---|---|---|
| Format migration | --convert-from |
Rewrite an existing team into target framework format | Preserved prose, rewritten wrappers |
| CAI interop pipeline | --interop-from |
Normalize to canonical representation then emit target | Preserved prose + optional bundle artifacts |
| Lightweight bridge | --bridge-from |
Expose source team to a target runtime without full regeneration | Source remains canonical |
What Is The Difference?¶
Use this quick rule:
- Choose
--convert-fromwhen you want a direct one-step format migration from source framework files to target framework files. - Choose
--interop-fromwhen you want normalization through the Canonical Agent Interface (CAI) and optional interop bundle artifacts before/alongside target emission. - Choose
--bridge-fromwhen you want runtime compatibility entrypoints while keeping source agent documentation canonical and not fully regenerated.
Practical distinction:
--convert-fromchanges wrapper format around existing authored content.--interop-frompasses through a canonical representation layer designed for transport/inspection.--bridge-fromdoes not replace source docs; it creates a lightweight target-facing interface over them.
Mode A: Format Migration (--convert-from)¶
Use this when you want a target framework version of an existing team while preserving agent body prose.
agentteams \
--convert-from /path/to/source/agents \
--framework claude \
--output /path/to/project/.claude/agents
Behavior:
- Preserves agent body markdown.
- Rewrites front matter/wrapper format for target framework.
- Converts instructions naming (
copilot-instructions.md<->CLAUDE.md) as needed. - Non-dry-run writes run a live security freshness preflight before files are written; stale-intel blocks can only be bypassed via a valid signed waiver (
references/security-waivers.log.csv+AGENTTEAMS_WAIVER_SIGNING_KEY).
Mode B: CAI Interop Pipeline (--interop-from)¶
Use this when you want canonical normalization and optional compatibility bundle artifacts.
agentteams \
--interop-from /path/to/source/agents \
--framework copilot-cli \
--interop-mode bundle \
--output /path/to/project/.github/copilot
Modes:
direct: write target framework files only.bundle: write target framework files plus interoperability artifacts.- Both write modes enforce the same live security freshness preflight used by the main render path, including the same signed-waiver exception model.
Bundle artifacts are written under references/interop/<source>-to-<target>/ and include:
team-manifest.cai.jsoninterop-manifest.jsonrouting-map.jsoninstructions-map.jsoncompatibility-report.md
Mode C: Lightweight Bridge (--bridge-from)¶
Use this when you need target runtime entrypoints that reference source canonical infrastructure without regenerating source agent docs.
Bridge artifacts are written under references/bridges/<source>-to-<target>/:
bridge-manifest.jsonagent-inventory.mdquickstart-snippet.mdentrypoint.md
Bridge freshness checks:
agentteams \
--bridge-from /path/to/source/agents \
--framework claude \
--output /path/to/project \
--bridge-check
--bridge-check is read-only: it verifies bridge freshness against the source manifest and does not perform the write-path security freshness preflight.
Directional Coverage¶
All three frameworks are supported in all six directional pairings:
copilot-vscode -> copilot-clicopilot-vscode -> claudecopilot-cli -> copilot-vscodecopilot-cli -> claudeclaude -> copilot-vscodeclaude -> copilot-cli
Automation Support¶
Bridge automation is available through repository workflows:
.github/workflows/bridge-maintenance.ymlfor scheduled bridge refresh and check operations..github/workflows/bridge-watchdog.ymlfor stale-run monitoring and issue escalation.
API Reference Links¶
For module-level API details, see: