https://github.com/alphasecio/google-a2a
A collection of Google A2A agents and clients, deployed on Cloud Run or Railway.
https://github.com/alphasecio/google-a2a
a2a a2a-client a2a-server cloudrun google-a2a railway streamlit
Last synced: 13 days ago
JSON representation
A collection of Google A2A agents and clients, deployed on Cloud Run or Railway.
- Host: GitHub
- URL: https://github.com/alphasecio/google-a2a
- Owner: alphasecio
- License: mit
- Created: 2026-03-18T02:24:05.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-04-28T14:30:28.000Z (about 2 months ago)
- Last Synced: 2026-04-28T16:27:22.237Z (about 2 months ago)
- Topics: a2a, a2a-client, a2a-server, cloudrun, google-a2a, railway, streamlit
- Language: Python
- Homepage:
- Size: 150 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Google A2A
A collection of [A2A protocol](https://google.github.io/A2A/) agents and clients. Deploy on Google [Cloud Run](https://cloud.google.com/run) or [Railway](https://railway.app/?referralCode=alphasec).
## Structure
```
├── server/
│ ├── hello_apikey/ # Public hello + API-key-authenticated dice rolling
│ └── hello_oauth/ # Public hello + OAuth-authenticated dice rolling
└── client/
├── streamlit_app.py # Web GUI client (supports API key + OAuth 2.0)
├── hello_apikey_client.py # CLI test client (API key)
└── hello_oauth_client.py # CLI test client (OAuth 2.0)
```
## Quick Start
```bash
# Server (API key)
cd server/hello_apikey && cp .env.example .env
uv run python __main__.py
# Server (OAuth 2.0)
cd server/hello_oauth && cp .env.example .env
uv run python __main__.py
# Client
cd client && cp .env.example .env
streamlit run streamlit_app.py
```
## Servers
| Name | Path | Auth | Deploy |
|------|------|------|--------|
| Hello (API Key) | `server/hello_apikey` | Static Bearer token | Railway |
| Hello (OAuth) | `server/hello_oauth` | OAuth 2.0 JWT | Cloud Run |
## Clients
| Name | Description |
|------|-------------|
| `streamlit_app.py` | Web GUI — supports None, API key, and OAuth auth |
| `hello_apikey_client.py` | CLI smoke test for API key server |
| `hello_oauth_client.py` | CLI smoke test for OAuth server |