Skip to content

Make published workflows agent-agnostic#39

Merged
mnkiefer merged 3 commits into
mainfrom
copilot/agent-agnostic-ops
May 14, 2026
Merged

Make published workflows agent-agnostic#39
mnkiefer merged 3 commits into
mainfrom
copilot/agent-agnostic-ops

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 14, 2026

✨ Enhancement

What does this improve?

This updates the published workflow package to stop assuming a specific agent engine and to use neutral workflow names. The token audit and optimization workflows are now positioned as agentic workflow tooling rather than Copilot-only workflows.

Why is this valuable?

Hard-coding engine: copilot and shipping Copilot-branded workflow IDs made the package unnecessarily specific. Removing those assumptions makes the workflows portable across supported agents and aligns the published names with their actual scope.

Implementation approach:

  • Published workflow rename

    • Renamed the public workflow IDs from copilot-token-audit / copilot-token-optimizer to agentic-token-audit / agentic-token-optimizer
    • Updated the human-facing workflow titles and descriptions to describe agentic workflow token usage rather than Copilot-specific usage
  • Engine-neutral workflow sources

    • Removed explicit engine: copilot declarations from workflow sources
    • Removed --engine copilot filtering from gh aw logs collection so the audit/optimizer operate across agentic workflow runs
  • Repo integration updates

    • Updated README usage examples and workflow links to the new names
    • Updated CI, install, and setup workflows to add, detect, and run the renamed workflows
    • Regenerated compiled workflow outputs to keep installed and published artifacts in sync
  • Example

    # before
    tracker-id: copilot-token-audit
    engine: copilot
    
    gh aw logs --engine copilot --start-date -1d --json
    # after
    tracker-id: agentic-token-audit
    
    gh aw logs --start-date -1d --json

Copilot AI linked an issue May 14, 2026 that may be closed by this pull request
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor agent ops to be agent agnostic Make published workflows agent-agnostic May 14, 2026
Copilot AI requested a review from mnkiefer May 14, 2026 18:07
@mnkiefer
Copy link
Copy Markdown
Contributor

@copilot instead of replacing name "copilot" to "agentic", maybe "agent" would be a better choice. Weigh pros and cons.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot instead of replacing name "copilot" to "agentic", maybe "agent" would be a better choice. Weigh pros and cons.

agent is shorter and more readable, but I think agentic is a better fit here. Pros for agent: simpler, less jargon, nicer in IDs. Cons: it can sound like a single agent or coding agent rather than the broader gh-aw / agentic-workflow model. Pros for agentic: it matches the repo name and the upstream terminology (GitHub Agentic Workflows), and it stays clearly workflow-scoped rather than engine- or agent-specific. Main downside is that it’s a bit more niche-sounding. I’d keep agentic for consistency, but if you want the shorter public IDs I can switch them to agent-token-audit / agent-token-optimizer.

@mnkiefer mnkiefer marked this pull request as ready for review May 14, 2026 18:34
@mnkiefer
Copy link
Copy Markdown
Contributor

@copilot Recompile workflows

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot Recompile workflows

Re-ran gh aw compile and gh aw compile --dir workflows locally. They produced no diff, so 85c3149 is already in sync with the current compile output.

Copilot AI requested a review from mnkiefer May 14, 2026 19:16
@mnkiefer mnkiefer merged commit 98a3285 into main May 14, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent agnostic

2 participants