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
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,13 @@ src/
10
10
├─ executor.py # A2A request handling
11
11
├─ agent.py # Your agent implementation goes here
12
12
└─ messenger.py # A2A messaging utilities
13
+
tests/
14
+
└─ test_agent.py # Agent tests
13
15
Dockerfile # Docker configuration
14
16
pyproject.toml # Python dependencies
15
-
uv.lock # Locked dependencies
17
+
.github/
18
+
└─ workflows/
19
+
└─ test-and-publish.yml # CI workflow
16
20
```
17
21
18
22
## Getting Started
@@ -23,6 +27,8 @@ uv.lock # Locked dependencies
23
27
24
28
3.**Configure your agent card** - Fill in your agent's metadata (name, skills, description) in [`src/server.py`](src/server.py)
25
29
30
+
4.**Write your tests** - Add custom tests for your agent in [`tests/test_agent.py`](tests/test_agent.py)
31
+
26
32
## Running Locally
27
33
28
34
```bash
@@ -59,7 +65,9 @@ uv run pytest --agent-url http://localhost:9009
59
65
60
66
## Publishing
61
67
62
-
The repository includes a GitHub Actions workflow that automatically builds, tests, and publishes a Docker image of your agent to GitHub Container Registry:
68
+
The repository includes a GitHub Actions workflow that automatically builds, tests, and publishes a Docker image of your agent to GitHub Container Registry.
69
+
70
+
If your agent needs API keys or other secrets, add them in Settings → Secrets and variables → Actions → Repository secrets. They'll be available as environment variables during CI tests.
0 commit comments