Agent Suggestions¶
Suggest new agent workflows based on software development needs and downstream activity.
How it works¶
Inventories existing workflows, reviews open issues and PRs for recurring unmet needs, and checks the activity of downstream users. Suggests new workflows that would fill clear gaps — and only files a report when there are high-confidence, non-duplicate suggestions.
Quick Install¶
mkdir -p .github/workflows && curl -sL \
https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/agent-suggestions/example.yml \
-o .github/workflows/agent-suggestions.yml
Trigger¶
| Event | Schedule |
|---|---|
schedule |
Weekly |
workflow_dispatch |
Manual |
Inputs¶
| Input | Description | Required | Default |
|---|---|---|---|
additional-instructions |
Repo-specific instructions appended to the agent prompt | No | "" |
setup-commands |
Shell commands run before the agent starts | No | "" |
allowed-bot-users |
Allowlisted bot actor usernames (comma-separated) | No | github-actions[bot] |
Safe Outputs¶
create-issue— file an agent suggestions report (max 1, auto-closes older reports)
Example Workflow¶
name: Agent Suggestions
on:
schedule:
- cron: "0 12 * * 1"
workflow_dispatch:
permissions:
contents: read
issues: write
pull-requests: read
jobs:
run:
uses: elastic/ai-github-actions/.github/workflows/gh-aw-agent-suggestions.lock.yml@v0
secrets:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}