Skip to content

[teams] Live-verify OpenCode + internal Chimera teammates end-to-end #151

Description

@0bserver07

Status

Real-Codex integration is verified for the chimera-team-mcp server: I ran codex exec with the server wired in via -c overrides and confirmed it claims + completes a task end-to-end via real MCP tool calls. See examples/agent_teams/verify_integration.py for the protocol-faithful smoke test that runs on every PR.

Two runtime paths are wired correctly but not yet executed end-to-end:

  1. OpenCodeexamples/agent_teams/opencode.json follows OpenCode's documented MCP format. Couldn't run in our env because opencode auth list shows 0 credentials.

  2. Internal Chimera (chimera code -p)chimera code already loads MCP servers from ~/.chimera/mcp.json or <workdir>/.mcp.json (see chimera/cli/code.py:712). examples/agent_teams/chimera_mcp.json follows that format. Not run because the test env doesn't have a Chimera provider configured.

Scope

For each runtime, drop the example config in place, run the verify script with the appropriate --cmd template, capture results, fix anything that breaks:

# OpenCode
opencode auth login   # one-time
cp examples/agent_teams/opencode.json <project>/opencode.json
# adapt verify_integration.py or a sibling to use:
#   --cmd 'opencode run "{prompt}"'

# Internal Chimera
cp examples/agent_teams/chimera_mcp.json ~/.chimera/mcp.json
# verify with:
#   --cmd '.venv/bin/chimera code -p "{prompt}"'

Acceptance

  • A verify_opencode.py script in examples/agent_teams/ that mirrors verify_integration.py but uses real OpenCode. Documented as opt-in (requires auth).
  • Same for Chimera: verify_chimera_native.py.
  • Any divergences from Codex's behavior are noted (system-prompt wording, tool-call ordering, sandbox quirks).
  • Multi-model robustness check: pick 2-3 small models, run the same prompt, see if they all reliably call recv → claim → complete.

References

  • The Codex-only verification is examples/agent_teams/verify_integration.py
  • Sandbox-write gotcha hit on Codex; OpenCode and Chimera have different permission semantics — surface what they need

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions