Reference A2A (Agent-to-Agent) server for the ApertureStack tool stack. It bridges tooldiscovery and toolexec to provide a JSON-RPC + REST + SSE surface for A2A agents.
- A2A JSON-RPC (
agent/invoke,agent/status) - REST endpoints for
agent-card,skills, and task metadata - SSE streaming for task updates
- Bootstraps tools from a YAML file
export METATOOLS_A2A_HOST=0.0.0.0
export METATOOLS_A2A_PORT=8091
export METATOOLS_A2A_BASE_PATH=/a2a
export METATOOLS_A2A_TOOLS_FILE=./tools.yaml
go run ./cmd/metatools-a2atools:
- tool:
name: echo
description: Echo a message
inputSchema:
type: object
properties:
message:
type: string
required: [message]
backend:
kind: local
local:
name: echoThe backend definition follows toolfoundation/model.ToolBackend.
POST /a2aJSON-RPCGET /a2a/agent-cardGET /a2a/skillsGET /a2a/tasksGET /a2a/tasks/{id}GET /a2a/tasks/{id}/events(SSE)
See LICENSE in the repository root.