Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/editor_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
push:
branches: [ main ]
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'
pull_request:
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lit_samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
push:
branches: [ main ]
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'
pull_request:
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ng_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
push:
branches: [ main ]
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'
pull_request:
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'

jobs:
build-and-test:
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/python_samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
branches:
- main
paths:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'
- 'a2a_agents/python/a2ui_extension/**'
pull_request:
paths:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'
- 'a2a_agents/python/a2ui_extension/**'

jobs:
build:
Expand All @@ -30,17 +32,17 @@ jobs:
pip install uv

- name: Build contact_lookup
working-directory: a2a_agents/python/adk/samples/contact_lookup
working-directory: samples/agent/adk/contact_lookup
run: uv build .

- name: Build orchestrator
working-directory: a2a_agents/python/adk/samples/orchestrator
working-directory: samples/agent/adk/orchestrator
run: uv build .

- name: Build restaurant_finder
working-directory: a2a_agents/python/adk/samples/restaurant_finder
working-directory: samples/agent/adk/restaurant_finder
run: uv build .

- name: Build rizzcharts
working-directory: a2a_agents/python/adk/samples/rizzcharts
working-directory: samples/agent/adk/rizzcharts
run: uv build .
4 changes: 2 additions & 2 deletions .github/workflows/web_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
push:
branches: [ main ]
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'
pull_request:
paths-ignore:
- 'a2a_agents/python/adk/samples/**'
- 'samples/agent/adk/**'

jobs:
build-and-test:
Expand Down
19 changes: 0 additions & 19 deletions a2a_agents/python/pyproject.toml

This file was deleted.

2,951 changes: 0 additions & 2,951 deletions a2a_agents/python/uv.lock

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies = [
"google-genai>=1.27.0",
"python-dotenv>=1.1.0",
"litellm",
"a2ui",
"jsonschema>=4.0.0",
"a2ui",
]

[tool.hatch.build.targets.wheel]
Expand All @@ -22,5 +22,5 @@ packages = ["."]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv.sources]
a2ui = { workspace = true }
[tool.hatch.metadata]
allow-direct-references = true
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ Subagents are configured using RemoteA2aAgent which translates ADK events to A2A
Open a new terminal for each command

```bash
cd a2a_agents/python/adk/samples/restaurant_finder
cd samples/agent/adk/restaurant_finder
uv run . --port=10003
```

```bash
cd a2a_agents/python/adk/samples/contact_lookup
cd samples/agent/adk/contact_lookup
uv run . --port=10004
```

```bash
cd a2a_agents/python/adk/samples/rizzcharts
cd samples/agent/adk/rizzcharts
uv run . --port=10005
```

3. Run the orchestrator agent:

```bash
cd a2a_agents/python/adk/samples/orchestrator
cd samples/agent/adk/orchestrator
uv run . --port=10002 --subagent_urls=http://localhost:10003 --subagent_urls=http://localhost:10004 --subagent_urls=http://localhost:10005
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies = [
"google-genai>=1.27.0",
"python-dotenv>=1.1.0",
"litellm",
"a2ui",
"jsonschema>=4.0.0",
"a2ui",
]

[tool.hatch.build.targets.wheel]
Expand All @@ -22,6 +22,8 @@ packages = ["."]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.metadata]
allow-direct-references = true

[tool.uv.sources]
a2ui = { workspace = true }
google-adk = { git = "https://github.com/google/adk-python.git", rev = "143ad44" }
6 changes: 6 additions & 0 deletions samples/agent/adk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tool.uv.workspace]
members = ["contact_lookup", "orchestrator", "restaurant_finder", "rizzcharts"]

[tool.uv.sources]
a2ui = { path = "../../../a2a_agents/python/a2ui_extension" }

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies = [
"google-genai>=1.27.0",
"python-dotenv>=1.1.0",
"litellm",
"a2ui",
"jsonschema>=4.0.0",
"a2ui",
]

[tool.hatch.build.targets.wheel]
Expand All @@ -22,5 +22,5 @@ packages = ["."]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv.sources]
a2ui = { workspace = true }
[tool.hatch.metadata]
allow-direct-references = true
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This sample uses the Agent Development Kit (ADK) along with the A2A protocol to
1. Navigate to the samples directory:

```bash
cd a2a_agents/python/adk/samples/rizzcharts
cd samples/agent/adk/rizzcharts
```

2. Create an environment file with your API key:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies = [
"google-genai>=1.27.0",
"python-dotenv>=1.1.0",
"litellm",
"a2ui",
"jsonschema>=4.0.0",
"a2ui",
]

[tool.hatch.build.targets.wheel]
Expand All @@ -22,5 +22,5 @@ packages = ["."]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv.sources]
a2ui = { workspace = true }
[tool.hatch.metadata]
allow-direct-references = true
Loading