Skip to content

Add optional A2A interop gateway#95

Merged
pmbstyle merged 5 commits into
mainfrom
feature/a2a-interop-gateway
May 16, 2026
Merged

Add optional A2A interop gateway#95
pmbstyle merged 5 commits into
mainfrom
feature/a2a-interop-gateway

Conversation

@pmbstyle
Copy link
Copy Markdown
Owner

Summary

  • add an optional A2A interop module inside the existing FastAPI gateway
  • expose a guarded Agent Card and authenticated message:send endpoint for trusted peers
  • add outbound a2a_list_peers / a2a_send_message tools so Octo can discover and message configured peer agents
  • keep A2A tools active when interop is enabled, even with deferred tool loading
  • align inbound message validation with the A2A task/version rules

Validation

  • uv run pytest tests/test_a2a_gateway.py tests/test_router_tool_budget.py tests/test_settings_config_sync.py tests/test_tool_profiles.py tests/test_tool_inventory.py -q
  • uv run pytest tests/test_a2a_gateway.py tests/test_settings_config_sync.py tests/test_tool_profiles.py tests/test_tool_inventory.py tests/test_gateway_ws_resolution.py tests/test_whatsapp_bridge_routes.py -q
  • uv run ruff check src/octopal/interop src/octopal/tools/communication/a2a.py src/octopal/tools/catalog.py src/octopal/tools/inventory.py src/octopal/tools/profiles.py src/octopal/infrastructure/config/models.py src/octopal/infrastructure/config/settings.py src/octopal/gateway/app.py tests/test_a2a_gateway.py tests/test_settings_config_sync.py

@pmbstyle pmbstyle self-assigned this May 16, 2026
@pmbstyle pmbstyle marked this pull request as ready for review May 16, 2026 15:07
@pmbstyle pmbstyle merged commit be9a159 into main May 16, 2026
4 checks passed
@pmbstyle pmbstyle deleted the feature/a2a-interop-gateway branch May 16, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant