Skip to main content

AI & workflows

Ai Loop Create

Building blocks for agent loops: context selectors, criteria editor, approvals, messages, activity feed, run summaries, change sets, history and loop creation.

AI workflows

Building blocks for agent loops: context selectors, criteria editor, approvals, messages, activity feed, run summaries, change sets, history and loop creation.

Success criteria

3 items

Run the workflow test suite?

The agent wants to verify the component tests before continuing.

Preview

php artisan test --compact --filter="ai loop"

You

Keep the component showcase green on every loop.

Agent

I'll start with the workflow tests and update the showcase if anything fails.

Loop activity

Iteration 4

  • Read WorkflowComponentsTest.php

    4s
  • Run php artisan test --compact --filter=ai

    Running
  • Update ai-workflows.blade.php

    Pending

Run summary

Iteration 4·3m 12s

Completed
Files changed
3
Tests passed
28
Tests failed
0
All workflow tests passed. Criteria progress updated for the next iteration.

Pending approvals

2 waiting

2
  • Run tests?

    php artisan test --compact
  • Commit docs update?

    Three files changed in docs/components.md.

Run log

2 messages

You

Keep the showcase green.

Agent

Running workflow tests first.

Changes this run

2 files

  • tests/Feature/WorkflowComponentsTest.php

    Modified +24 -3
  • docs/components.md

    Modified +48 -0

Loop history

2 iterations

  • Iteration 4 Current

    Updating showcase

    Running 1m 02s
  • Iteration 3

    All tests passed

    Complete 2m 48s

No agent loops yet

Create a loop to give the agent a goal, success criteria and workspace context.

Start a new loop

Define the goal and workspace before the first iteration runs.

Success criteria

0 items

Agent loops

3 loops