Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

Early version of the A2A Python SDK.

## Virtual Env.

```bash
python3.13 -m venv .venv
source .venv/bin/activate
```

## Install SDK

```bash
Expand All @@ -21,12 +28,17 @@ Run Remote Agent
```bash
cd examples/helloworld
python __main__.py
# or
uv run __main__.py
```

In another terminal, run the client

```bash
cd examples/helloworld
python test_client.py
# or
uv run test_client.py
```

## License
Expand Down
19 changes: 19 additions & 0 deletions examples/google_adk/calendar_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,29 @@ This example shows how to create an A2A Server that uses an ADK-based Agent that
echo "GOOGLE_API_KEY=your_api_key_here" > .env
echo "GOOGLE_CLIENT_ID=your_client_id_here" >> .env
echo "GOOGLE_CLIENT_SECRET=your_client_secret_here" >> .env
echo "GOOGLE_CLOUD_PROJECT" >> .env
```
References:
[Gemini API key](https://aistudio.google.com/apikey)
[Google Client ID & Secret](https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid)

2. Run the example

```bash
uv run .
```

# Troubleshooting

Error
```log
Your default credentials were not found. To set up Application Default Credentials, see https://cloud.google.com/docs/authentication/external/set-up-adc for more information.
```
Solution
<br>
1. Install the gcloud CLI
2. To initialize the gcloud CLI, run `gcloud init`
3. Login for ADC(Application Default Credentials) `gcloud auth application-default login`
References:
[Install the gcloud CLI](https://cloud.google.com/sdk/docs/install)
[Set up Application Default Credentials](https://cloud.google.com/docs/authentication/external/set-up-adc)