You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This installs the optional dependencies needed to run the debate scenario (Gemini).
15
16
3. Set environment variables
16
17
```
17
18
cp sample.env .env
18
19
```
19
-
Add your Google API key to the .env file
20
+
Fill in the keys you plan to use (e.g. `GOOGLE_API_KEY` for the debate example and `OPENAI_API_KEY` for the tau2 example).
20
21
21
22
4. Run the [debate example](#example)
22
23
```
@@ -29,6 +30,8 @@ This command will:
29
30
30
31
**Note:** Use `--show-logs` to see agent outputs during the assessment, and `--serve-only` to start agents without running the assessment.
31
32
33
+
**Note:** If you see `Error: Some agent endpoints are already in use`, change the ports in the scenario TOML (or stop the process using them).
34
+
32
35
To run this example manually, start the agent servers in separate terminals, and then in another terminal run the A2A client on the scenario.toml file to initiate the assessment.
33
36
34
37
After running, you should see an output similar to this.
@@ -37,21 +40,22 @@ After running, you should see an output similar to this.
37
40
38
41
## Project Structure
39
42
```
40
-
src/
41
-
└─ agentbeats/
42
-
├─ green_executor.py # base A2A green agent executor
43
-
├─ models.py # pydantic models for green agent IO
44
-
├─ client.py # A2A messaging helpers
45
-
├─ client_cli.py # CLI client to start assessment
46
-
└─ run_scenario.py # run agents and start assessment
47
-
48
43
scenarios/
49
-
└─ debate/ # implementation of the debate example
50
-
├─ debate_judge.py # green agent impl using the official A2A SDK
51
-
├─ adk_debate_judge.py # alternative green agent impl using Google ADK
52
-
├─ debate_judge_common.py # models and utils shared by above impls
53
-
├─ debater.py # debater agent (Google ADK)
54
-
└─ scenario.toml # config for the debate example
44
+
├─ debate/
45
+
│ ├─ judge/src/ # green agent (green-agent-template structure)
0 commit comments