Skip to content

Add lightweight A2A support aligned with OpenClaw agent-to-agent flow #227

@everettjf

Description

@everettjf

Summary

MicroClaw currently has subagent/session orchestration inside one runtime, but no first-class instance-to-instance agent-to-agent path. OpenClaw recently added A2A-oriented routing and messaging semantics, and we should provide a MicroClaw-native version that fits our Rust runtime and web stack.

Goal

Add a merge-ready first version of A2A support that lets one MicroClaw instance discover another instance, send a task to it over HTTP, and receive the final response back.

Scope

  • Add a2a config for local identity, inbound auth, and named peers
  • Expose an agent-card discovery endpoint
  • Expose an authenticated inbound A2A message endpoint
  • Add built-in tools for listing peers and sending work to a peer
  • Regenerate generated tool/config docs
  • Add tests covering config normalization, route auth, and end-to-end tool flow
  • Add user-facing docs/blog for setup and usage

Notes

This should align with OpenClaw's practical A2A capability goal: controlled agent-to-agent delegation and response return, while staying idiomatic to MicroClaw's existing web and tool architecture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions