subagentjobs-a2a-bridge
crates/a2a-bridge
Exposes the subagentjobs MCP server as an A2A agent so external A2A clients (e.g. Gemini, other agents) can invoke job-search capabilities without knowing MCP. Spawns the MCP binary as a stdio child process per call (call_mcp_tool) and serves an axum HTTP front (GET /.well-known/agent-card.json, POST / for tasks/send). AgentExecutor trait integration with a2a-server-lf is a documented TODO -- current handlers are explicitly marked as placeholder/stub in the source comments pending that pre-release API stabilizing.
handle_agent_card (GET /.well-known/agent-card.json)handle_tasks_send (POST /, translates A2A tasks/send into MCP tool call search_jobs)call_mcp_tool (spawns MCP binary over stdio, JSON-RPC 2.0 initialize + tools/call)
a2a-lf (git: a2aproject/a2a-rs)a2a-server-lf (git: a2aproject/a2a-rs)schema (path dep)axumtokiouuidanyhow
crates/a2a-bridge/Cargo.toml, src/main.rs
created 2026-07-02 05:26:28 · JSON