Skip to content

free your agents. a go implementation of the A2A protocol from google

Notifications You must be signed in to change notification settings

co-browser/a2a-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A2A Go

A Go implementation of the Agent2Agent (A2A) protocol, enabling seamless communication between different agent frameworks.

Caution

This is an early development effort, do not use in production

Installation

go get github.com/co-browser/a2a-go

Quickstart

First, we'll start one of the google A2A agents:

cd A2A/samples/python/agents
uv run google_adk/.
INFO:     Started server process [4070]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://localhost:10002 (Press CTRL+C to quit)

then we'll connect to it with a2a-go:

go run cmd/cli/main.go -agent=http://localhost:10002
======= Agent Card ========
{
  "name": "Reimbursement Agent",
  "description": "This agent handles the reimbursement process for the employees given the amount and purpose of the reimbursement.",
  "url": "http://localhost:10002/",
  "version": "1.0.0",
  "capabilities": {
    "streaming": true,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "defaultInputModes": [
    "text",
    "text/plain"
  ],
  "defaultOutputModes": [
    "text",
    "text/plain"
  ],
  "skills": [
    {
      "id": "process_reimbursement",
      "name": "Process Reimbursement Tool",
      "description": "Helps with the reimbursement process for users given the amount and purpose of the reimbursement.",
      "tags": [
        "reimbursement"
      ],
      "examples": [
        "Can you reimburse me $20 for my lunch with the clients?"
      ]
    }
  ]
}
=========  starting a new task ========

What do you want to send to the agent? (:q or quit to exit)

Documentation

coming soon

About

free your agents. a go implementation of the A2A protocol from google

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages