{"id":29572820,"url":"https://github.com/go-a2a/a2a-go","last_synced_at":"2025-07-19T05:12:05.811Z","repository":{"id":287316042,"uuid":"964334171","full_name":"go-a2a/a2a-go","owner":"go-a2a","description":"An open protocol enabling communication and interoperability between opaque agentic applications for Go.","archived":false,"fork":false,"pushed_at":"2025-07-16T22:49:23.000Z","size":427,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T00:07:48.110Z","etag":null,"topics":["a2a","go"],"latest_commit_sha":null,"homepage":"http://pkg.go.dev/github.com/go-a2a/a2a","language":"Go","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/go-a2a.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-11T03:51:30.000Z","updated_at":"2025-07-15T22:16:31.000Z","dependencies_parsed_at":"2025-06-03T23:38:13.669Z","dependency_job_id":"38adb731-7fd8-44fc-b5fa-da1ac1437e54","html_url":"https://github.com/go-a2a/a2a-go","commit_stats":null,"previous_names":["go-a2a/a2a","go-a2a/a2a-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/go-a2a/a2a-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-a2a%2Fa2a-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-a2a%2Fa2a-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-a2a%2Fa2a-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-a2a%2Fa2a-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-a2a","download_url":"https://codeload.github.com/go-a2a/a2a-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-a2a%2Fa2a-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265892638,"owners_count":23845046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","go"],"created_at":"2025-07-19T05:12:05.092Z","updated_at":"2025-07-19T05:12:05.802Z","avatar_url":"https://github.com/go-a2a.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A2A for Go\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/go-a2a/a2a.svg)](https://pkg.go.dev/github.com/go-a2a/a2a)\n[![Go](https://github.com/go-a2a/a2a/actions/workflows/go.yml/badge.svg)](https://github.com/go-a2a/a2a/actions/workflows/test.yml)\n\n\u003e [!IMPORTANT]\n\u003e This project is in the alpha stage.\n\u003e\n\u003e Flags, configuration, behavior, and design may change significantly.\n\nA Go implementation of the [Agent-to-Agent (A2A)](https://github.com/google/A2A) protocol. \n\nA2A is an open protocol enabling communication and interoperability between opaque agentic applications.\n\n## Installation\n\n```bash\ngo get github.com/go-a2a/a2a\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/go-a2a/a2a\"\n)\n\nfunc main() {\n\t// Create a new task\n\ttask := a2a.NewTaskBuilder().\n\t\tWithAgentCard(a2a.AgentCard{\n\t\t\tName:    \"Example Agent\",\n\t\t\tURL:     \"https://example.com/agent\",\n\t\t\tVersion: \"1.0.0\",\n\t\t}).\n\t\tWithClient(\"example-client\").\n\t\tAddMessage(\n\t\t\ta2a.NewMessageBuilder(\"user\").\n\t\t\t\tAddTextPart(\"Hello, agent!\").\n\t\t\t\tBuild(),\n\t\t).\n\t\tBuild()\n\n\tfmt.Printf(\"Task ID: %s\\n\", task.ID)\n\tfmt.Printf(\"Task State: %s\\n\", task.State)\n}\n```\n\n## Features\n\n- Full implementation of the A2A protocol in Go\n- Builder pattern for creating tasks, messages, and artifacts\n- OpenTelemetry integration for tracing and metrics\n- High-performance JSON serialization using Bytedance's Sonic\n\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-a2a%2Fa2a-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-a2a%2Fa2a-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-a2a%2Fa2a-go/lists"}