OpenParable
Skip to content
← Back to skills

A2a Gateway

Agent Building
a2a-gateway

A2a Gateway is an Agent Skill for agent building published in the adolfousier/opencrabs repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Agent-to-Agent (A2A) protocol gateway reference. JSON-RPC 2.0 peer-to-peer agent communication. (/a2a-gateway, a2a, agent protocol)

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/adolfousier/opencrabs/blob/HEAD/src/docs/reference/templates/skills/a2a-gateway/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/a2a-gateway, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

A2A Gateway Reference

OpenCrabs exposes an A2A Protocol HTTP gateway for peer-to-peer agent communication.

What it does

Other A2A-compatible agents send tasks via JSON-RPC 2.0. OpenCrabs processes them using its full tool suite and returns results.

Endpoints

  • GET /.well-known/agent.json — Agent Card discovery (skills, capabilities)
  • POST /a2a/v1 — JSON-RPC 2.0 (message/send, tasks/get, tasks/cancel)
  • GET /a2a/health — Health check

Setup

Enable in ~/.opencrabs/config.toml:

[a2a]
enabled = true
bind = "127.0.0.1"
port = 18790

Bee Colony Debate

Multi-agent structured debate with knowledge-enriched context from QMD memory search. Configurable rounds, confidence-weighted consensus based on ReConcile (ACL 2024).

Tool: a2a_send

ParamRequiredWhat
actionYesdiscover, send, get, cancel
urlYesBase URL of remote agent (e.g. http://127.0.0.1:18790)
messageFor sendText to send
task_idFor get/cancelTask ID to check/cancel
context_idOptionalContinue a conversation
api_keyOptionalBearer token for authenticated endpoints