A scheduled agent workflow with outputs
in v1alpha3Every morning a command step fetches venue programs, an agent keeps the concerts that match a taste, and a second command step sends the digest. This is plain v1alpha3 under the core profile.
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: Workflowmetadata: name: concert-scoutspec: version: 0.1.0 description: Checks venue programs every morning and reports new concerts. owner: team: music-fans classification: internal triggers: - type: manual - type: schedule cron: "0 7 * * *" timezone: Europe/Berlin concurrencyPolicy: forbid startingDeadline: 30m inputs: - name: venues type: array default: - https://venue.example.org/program budget: maxCostUsd: 0.5 maxDuration: 30m agents: - id: curator model: provider: example-provider name: example-model instructions: Rate concerts against the taste in the task. End with complete_step. secrets: - name: WEBHOOK_URL source: secret-manager scope: - command permissions: default: deny tools: shell.execute: allow: true workflow: - id: fetch type: command image: registry.example.com/concert-scout/tools:1.4 command: fetch-programs > "$AWP_OUTPUTS/events" env: VENUES: "${{ inputs.venues }}" timeout: 5m retries: 1 outputs: - name: events description: JSON array of concerts with artist, date and venue. - id: rate agent: curator task: "Keep the Metalcore and Hardcore concerts: ${{ steps.fetch.outputs.events }}" dependsOn: - fetch outputs: - name: digest description: Plain-text summary, one concert per line. - id: notify type: command image: registry.example.com/concert-scout/tools:1.4 command: send-digest env: DIGEST: "${{ steps.rate.outputs.digest }}" dependsOn: - rate
apiVersion: awp.agenticworkflowprotocol.org/v1alpha3kind: WorkflowRunmetadata: generateName: concert-scout-spec: workflowRef: name: concert-scout version: 0.1.0 inputs: venues: - https://club.example.org/events
What it shows
The schedule uses the input default (a schedule supplies no inputs); forbid skips a tick while the previous run still runs. The command writes its output as a file into $AWP_OUTPUTS, the agent ends with complete_step, and values reach the second command through env, never through the command text. The WorkflowRun on the right is a manual start: its creator is the actor, and version is an assertion that fails the request if the workflow has moved on.
Why
Each line maps to one rule a runtime MUST enforce: tick handling (5.2), outputs (5.6.4), no expressions in command (5.6.2), default: deny with one explicit allow (7.5), budget checked before every model call (5.7), image tags resolved and pinned at start (10.1).