{"id":50137293,"url":"https://github.com/MisterVVP/a2a-cpp","last_synced_at":"2026-06-09T14:00:53.328Z","repository":{"id":351634183,"uuid":"1211831692","full_name":"MisterVVP/a2a-cpp","owner":"MisterVVP","description":"C++20 SDK for the Agent2Agent (A2A) Protocol: build A2A clients and servers with REST, JSON-RPC, gRPC/protobuf, streaming, auth hooks, CMake, vcpkg.","archived":false,"fork":false,"pushed_at":"2026-06-08T14:15:49.000Z","size":517,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-08T15:24:27.072Z","etag":null,"topics":["a2a","a2a-agent","a2a-client","a2a-protocol","a2a-server","agent-to-agent","agentic-ai","agents","ai","ai-agents","cmake","cpp","multi-agent-systems","multiagent-systems","sdk"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MisterVVP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-15T19:44:58.000Z","updated_at":"2026-06-03T19:58:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/MisterVVP/a2a-cpp","commit_stats":null,"previous_names":["mistervvp/a2a-cpp"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/MisterVVP/a2a-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MisterVVP%2Fa2a-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MisterVVP%2Fa2a-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MisterVVP%2Fa2a-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MisterVVP%2Fa2a-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MisterVVP","download_url":"https://codeload.github.com/MisterVVP/a2a-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MisterVVP%2Fa2a-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34110012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["a2a","a2a-agent","a2a-client","a2a-protocol","a2a-server","agent-to-agent","agentic-ai","agents","ai","ai-agents","cmake","cpp","multi-agent-systems","multiagent-systems","sdk"],"created_at":"2026-05-23T23:00:30.545Z","updated_at":"2026-06-09T14:00:53.315Z","avatar_url":"https://github.com/MisterVVP.png","language":"C++","funding_links":[],"categories":["⚙️ Implementations \u0026 Libraries"],"sub_categories":[],"readme":"# a2a-cpp: C++20 Agent2Agent (A2A) SDK\n\n[![TCK conformance (main)](https://img.shields.io/github/actions/workflow/status/mistervvp/a2a-cpp/tck.yml?branch=main\u0026label=TCK%20conformance%20%28main%29)](https://github.com/mistervvp/a2a-cpp/actions/workflows/tck.yml?query=branch%3Amain+job%3Amandatory-conformance)\n\n**a2a-cpp** is a modern C++ SDK for building Agent2Agent protocol clients and servers.\n\nIt supports core A2A workflows including client/server APIs, discovery, REST/JSON-RPC/gRPC transports, streaming, authentication hooks, and CMake/vcpkg/Conan build integration.\n\n## TCK Compliance Level\n\n[MUST](https://github.com/a2aproject/a2a-tck/blob/1.0-dev/README.md#compatibility-levels) (validated in CI via `--level must --transport grpc,jsonrpc,http_json` in `.github/workflows/tck.yml`).\n\n## Documentation\n\n- Documentation website (GitHub Pages): `https://mistervvp.github.io/a2a-cpp/`\n- Documentation home source: [`book/src/README.md`](book/src/README.md)\n- Project docs and engineering notes: [`docs/`](docs/)\n- Build and validation guide: [`docs/build.md`](docs/build.md)\n\n## Repository layout\n\n- `include/` public headers\n- `src/` library implementation\n- `tests/` unit and integration tests\n- `proto/` protocol definitions\n- `scripts/` local tooling and CI helpers\n- `benchmarks/` optional Google Benchmark performance suite\n- `tools/bench_runner/` Go benchmark threshold/report utility\n\n## Performance benchmarks\n\nThe SDK includes C++ microbenchmarks for core hot paths. Benchmarks are run in CI with threshold checks to catch performance regressions.\n\nGoogle Benchmark measures SDK internals directly, including proto/JSON serialization, task store operations, task lifecycle logic, transport routing, server transport handling, UUIDv7 task ID generation, Agent Card generation, and HTTP adapter parsing/serialization. A Go-based benchmark runner parses Google Benchmark JSON output, compares fixed thresholds from `benchmarks/thresholds.json`, and generates CI summaries.\n\nBenchmarks are optional and should be run in Release mode:\n\n```bash\ncmake -S . -B build-bench \\\n  -DCMAKE_BUILD_TYPE=Release \\\n  -DA2A_BUILD_BENCHMARKS=ON\ncmake --build build-bench --target a2a_benchmarks -j\"$(nproc)\"\n./build-bench/benchmarks/a2a_benchmarks\n```\n\nTo run the CI-style threshold check locally:\n\n```bash\n./build-bench/benchmarks/a2a_benchmarks \\\n  --benchmark_out=benchmark-results.json \\\n  --benchmark_out_format=json \\\n  --benchmark_repetitions=5 \\\n  --benchmark_report_aggregates_only=true\n\ngo run ./tools/bench_runner/cmd/a2a-bench-runner \\\n  --results benchmark-results.json \\\n  --thresholds benchmarks/thresholds.json \\\n  --summary benchmark-summary.md\n```\n\nSee [`benchmarks/README.md`](benchmarks/README.md) for threshold strategy, Release-mode guidance, and instructions for adding benchmarks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMisterVVP%2Fa2a-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMisterVVP%2Fa2a-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMisterVVP%2Fa2a-cpp/lists"}