Skip to content

Commit 41a5501

Browse files
committed
Update cagent repo URLs
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
1 parent 32f0b2a commit 41a5501

File tree

6 files changed

+41
-42
lines changed

6 files changed

+41
-42
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175
fi
176176
echo "Using cagent version from CAGENT_VERSION: ${CAGENT_VERSION}"
177177
curl -fL -o cagent \
178-
"https://github.com/docker/cagent/releases/download/${CAGENT_VERSION}/cagent-linux-amd64"
178+
"https://github.com/docker/docker-agent/releases/download/${CAGENT_VERSION}/cagent-linux-amd64"
179179
chmod +x cagent
180180
sudo mv cagent /usr/local/bin/
181181

.github/workflows/update-cagent-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
CURRENT: ${{ steps.check.outputs.current }}
9797
run: |
9898
BRANCH="auto/update-cagent-version"
99-
RELEASE_URL="https://github.com/docker/cagent/releases/tag/$VERSION"
99+
RELEASE_URL="https://github.com/docker/docker-agent/releases/tag/$VERSION"
100100
101101
# Configure git
102102
git config user.name "github-actions[bot]"

README.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cagent GitHub Action
22

3-
A GitHub Action for running [cagent](https://github.com/docker/cagent) AI agents in your workflows. This action simplifies the setup and execution of cagent, handling binary downloads and environment configuration automatically.
3+
A GitHub Action for running [Docker Agent](https://github.com/docker/docker-agent) AI agents in your workflows. This action simplifies the setup and execution of cagent, handling binary downloads and environment configuration automatically.
44

55
## Quick Start
66

@@ -15,7 +15,6 @@ A GitHub Action for running [cagent](https://github.com/docker/cagent) AI agents
1515
```
1616
1717
2. **Configure API key** in your repository settings:
18-
1918
- Go to `Settings` → `Secrets and variables` → `Actions`
2019
- Add `ANTHROPIC_API_KEY` (or another provider's key) from [Anthropic Console](https://console.anthropic.com/)
2120

@@ -51,11 +50,11 @@ For automated pull request reviews with a multi-agent system, see the [PR Review
5150
```yaml
5251
name: PR Review
5352
on:
54-
issue_comment: # Enables /review command in PR comments
53+
issue_comment: # Enables /review command in PR comments
5554
types: [created]
5655
pull_request_review_comment: # Captures feedback on review comments for learning
5756
types: [created]
58-
pull_request_target: # Triggers auto-review on PR open; uses base branch context so secrets work with forks
57+
pull_request_target: # Triggers auto-review on PR open; uses base branch context so secrets work with forks
5958
types: [ready_for_review, opened]
6059
6160
permissions:
@@ -66,14 +65,14 @@ jobs:
6665
uses: docker/cagent-action/.github/workflows/review-pr.yml@latest
6766
# Scoped to the job so other jobs in this workflow aren't over-permissioned
6867
permissions:
69-
contents: read # Read repository files and PR diffs
68+
contents: read # Read repository files and PR diffs
7069
pull-requests: write # Post review comments and approve/request changes
71-
issues: write # Create security incident issues if secrets are detected in output
72-
checks: write # (Optional) Show review progress as a check run on the PR
70+
issues: write # Create security incident issues if secrets are detected in output
71+
checks: write # (Optional) Show review progress as a check run on the PR
7372
secrets:
7473
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
75-
CAGENT_ORG_MEMBERSHIP_TOKEN: ${{ secrets.CAGENT_ORG_MEMBERSHIP_TOKEN }} # PAT with read:org scope; gates auto-reviews to org members only
76-
CAGENT_REVIEWER_APP_ID: ${{ secrets.CAGENT_REVIEWER_APP_ID }} # GitHub App ID; reviews appear as your app instead of github-actions[bot]
74+
CAGENT_ORG_MEMBERSHIP_TOKEN: ${{ secrets.CAGENT_ORG_MEMBERSHIP_TOKEN }} # PAT with read:org scope; gates auto-reviews to org members only
75+
CAGENT_REVIEWER_APP_ID: ${{ secrets.CAGENT_REVIEWER_APP_ID }} # GitHub App ID; reviews appear as your app instead of github-actions[bot]
7776
CAGENT_REVIEWER_APP_PRIVATE_KEY: ${{ secrets.CAGENT_REVIEWER_APP_PRIVATE_KEY }} # GitHub App private key; paired with App ID above
7877
```
7978
@@ -137,30 +136,30 @@ See the [full PR Review documentation](review-pr/README.md) for more details.
137136
138137
## Inputs
139138
140-
| Input | Description | Required | Default |
141-
| --------------------- | ------------------------------------------------------------------------------------ | -------- | ------------------------------- |
142-
| `agent` | Agent identifier (e.g., `docker/code-analyzer`) or path to `.yaml` file | Yes | - |
143-
| `prompt` | Prompt to pass to the agent | No | - |
144-
| `mcp-gateway` | Install mcp-gateway (`true`/`false`) | No | `false` |
145-
| `mcp-gateway-version` | Version of mcp-gateway to use (specifying this will enable mcp-gateway installation) | No | `v0.22.0` |
146-
| `anthropic-api-key` | Anthropic API key for Claude models (at least one API key required) | No* | - |
147-
| `openai-api-key` | OpenAI API key (at least one API key required) | No* | - |
148-
| `google-api-key` | Google API key for Gemini models (at least one API key required) | No* | - |
149-
| `aws-bearer-token-bedrock` | AWS Bearer token for Bedrock models (at least one API key required) | No* | - |
150-
| `xai-api-key` | xAI API key for Grok models (at least one API key required) | No* | - |
151-
| `nebius-api-key` | Nebius API key (at least one API key required) | No* | - |
152-
| `mistral-api-key` | Mistral API key (at least one API key required) | No* | - |
153-
| `github-token` | GitHub token for API access | No | `github.token` |
154-
| `github-app-id` | GitHub App ID for custom identity (comments/reviews appear as the app) | No | - |
155-
| `github-app-private-key` | GitHub App private key (required if `github-app-id` is provided) | No | - |
156-
| `timeout` | Timeout in seconds for agent execution (0 for no timeout) | No | `0` |
157-
| `debug` | Enable debug mode with verbose logging (`true`/`false`) | No | `false` |
158-
| `working-directory` | Working directory to run the agent in | No | `.` |
159-
| `yolo` | Auto-approve all prompts (`true`/`false`) | No | `true` |
160-
| `max-retries` | Maximum number of retries on failure (0 = no retries) | No | `2` |
161-
| `retry-delay` | Base delay in seconds between retries (doubles each attempt) | No | `5` |
162-
| `extra-args` | Additional arguments to pass to `cagent run` | No | - |
163-
| `add-prompt-files` | Comma-separated list of files to append to the prompt (e.g., `AGENTS.md,CLAUDE.md`) | No | - |
139+
| Input | Description | Required | Default |
140+
| -------------------------- | ------------------------------------------------------------------------------------ | -------- | -------------- |
141+
| `agent` | Agent identifier (e.g., `docker/code-analyzer`) or path to `.yaml` file | Yes | - |
142+
| `prompt` | Prompt to pass to the agent | No | - |
143+
| `mcp-gateway` | Install mcp-gateway (`true`/`false`) | No | `false` |
144+
| `mcp-gateway-version` | Version of mcp-gateway to use (specifying this will enable mcp-gateway installation) | No | `v0.22.0` |
145+
| `anthropic-api-key` | Anthropic API key for Claude models (at least one API key required) | No\* | - |
146+
| `openai-api-key` | OpenAI API key (at least one API key required) | No\* | - |
147+
| `google-api-key` | Google API key for Gemini models (at least one API key required) | No\* | - |
148+
| `aws-bearer-token-bedrock` | AWS Bearer token for Bedrock models (at least one API key required) | No\* | - |
149+
| `xai-api-key` | xAI API key for Grok models (at least one API key required) | No\* | - |
150+
| `nebius-api-key` | Nebius API key (at least one API key required) | No\* | - |
151+
| `mistral-api-key` | Mistral API key (at least one API key required) | No\* | - |
152+
| `github-token` | GitHub token for API access | No | `github.token` |
153+
| `github-app-id` | GitHub App ID for custom identity (comments/reviews appear as the app) | No | - |
154+
| `github-app-private-key` | GitHub App private key (required if `github-app-id` is provided) | No | - |
155+
| `timeout` | Timeout in seconds for agent execution (0 for no timeout) | No | `0` |
156+
| `debug` | Enable debug mode with verbose logging (`true`/`false`) | No | `false` |
157+
| `working-directory` | Working directory to run the agent in | No | `.` |
158+
| `yolo` | Auto-approve all prompts (`true`/`false`) | No | `true` |
159+
| `max-retries` | Maximum number of retries on failure (0 = no retries) | No | `2` |
160+
| `retry-delay` | Base delay in seconds between retries (doubles each attempt) | No | `5` |
161+
| `extra-args` | Additional arguments to pass to `cagent run` | No | - |
162+
| `add-prompt-files` | Comma-separated list of files to append to the prompt (e.g., `AGENTS.md,CLAUDE.md`) | No | - |
164163

165164
### Prompt Files (`add-prompt-files`)
166165

@@ -169,6 +168,7 @@ The `add-prompt-files` input allows you to include additional context files as s
169168
> **Note:** The `review-pr` action automatically reads `AGENTS.md` and `CLAUDE.md` from the repository root — you don't need to specify them via `add-prompt-files`. Use this input for additional files beyond those defaults.
170169

171170
**File Resolution (handled by cagent):**
171+
172172
- Searches up the directory hierarchy (like `.gitignore`)
173173
- Also checks the home folder (`~/`)
174174
- Files are added as system messages, not appended to the user prompt
@@ -201,6 +201,7 @@ add-prompt-files: "STYLE_GUIDE.md" # Found via hierarchy search
201201
**At least one API key is required.** The action validates this at startup and fails fast with a clear error if no API key is provided.
202202

203203
Supported providers:
204+
204205
- **Anthropic** (`anthropic-api-key`): Claude models - [Get API key](https://console.anthropic.com/)
205206
- **OpenAI** (`openai-api-key`): GPT models - [Get API key](https://platform.openai.com/)
206207
- **Google** (`google-api-key`): Gemini models - [Get API key](https://aistudio.google.com/)
@@ -218,10 +219,9 @@ permissions:
218219
contents: read
219220
pull-requests: write
220221
issues: write
221-
checks: write # Optional: show review progress as a check run on PRs
222+
checks: write # Optional: show review progress as a check run on PRs
222223
```
223224

224-
225225
## Examples
226226

227227
### Multiple Agents in a Workflow
@@ -314,5 +314,5 @@ This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENS
314314

315315
## Links
316316

317-
- [cagent Repository](https://github.com/docker/cagent)
317+
- [Docker Agent Repository](https://github.com/docker/docker-agent)
318318
- [MCP Gateway Repository](https://github.com/docker/mcp-gateway)

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ runs:
361361
if [[ "$CAGENT_CACHE_HIT" != "true" ]]; then
362362
echo "Downloading cagent $CAGENT_VERSION for $PLATFORM-$ARCH_NAME..."
363363
retry_download \
364-
"https://github.com/docker/cagent/releases/download/$CAGENT_VERSION/$CAGENT_BINARY" \
364+
"https://github.com/docker/docker-agent/releases/download/$CAGENT_VERSION/$CAGENT_BINARY" \
365365
"$GITHUB_WORKSPACE/cagent"
366366
chmod +x "$GITHUB_WORKSPACE/cagent"
367367
else

review-pr/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The workflow automatically handles:
6161

6262
## Running Locally
6363

64-
Requires [cagent](https://github.com/docker/cagent) installed locally. The reviewer agent automatically detects its environment. When running locally, it diffs your current branch against the base branch and outputs findings to the console.
64+
Requires [Docker Agent](https://github.com/docker/docker-agent›) installed locally. The reviewer agent automatically detects its environment. When running locally, it diffs your current branch against the base branch and outputs findings to the console.
6565

6666
```bash
6767
cd ~/code/my-project

security/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ This action includes **built-in security features for all agent executions**:
1313
- Comment-triggered actions are the main abuse vector - this protects against cost/spam attacks
1414

1515
2. **Output Scanning** - All agent responses are scanned for leaked secrets:
16-
1716
- API key patterns: `sk-ant-*`, `sk-*`, `sk-proj-*`
1817
- GitHub tokens: `ghp_*`, `gho_*`, `ghu_*`, `ghs_*`, `github_pat_*`
1918
- Environment variable names in output
@@ -310,4 +309,4 @@ If you discover a security vulnerability, please:
310309

311310
- [OWASP Top 10](https://owasp.org/www-project-top-ten/)
312311
- [GitHub Security Best Practices](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions)
313-
- [cagent Repository](https://github.com/docker/cagent)
312+
- [Docker Agent Repository](https://github.com/docker/docker-agent)

0 commit comments

Comments
 (0)