Create PoC demo of the Background agents and SM approach.
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3560792. -->
Reported by: [harivansh](https://www.drupal.org/user/3678656)
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong>Two proof of concepts have been made and need to be presented to the community. Aim is to record a video explaining them.<br>
<strong>Short Description: </strong>Create working PoCs of moving AI Agents to Symfony Messenger to show how it could be done and create buyin for why it should be done.<br>
<strong>Check-in Date: </strong>12/08/2025<br>
<strong>Additional Collaborators:</strong> @harivansh, @lussoluca,<br>
<em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br>
[/Tracker]</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p><strong></strong></p>
<p>We need a working Proof of Concept (PoC) to validate how Background Agents can run long-running or scheduled tasks outside the main
</p><ol>
<li>Drupal request lifecycle while being orchestrated via a State Machine (SM).</li>
<li>The PoC will help us confirm:</li>
<li>How an agent is triggered (cron, queue, or external webhook).</li>
<li>How its state transitions are managed via SM.</li>
<li>How progress, errors, and retries are logged and handled.</li>
<li>Whether this pattern fits our upcoming automation and integration workflows.</li>
<li>This PoC will serve as a technical foundation before expanding to production-grade workflows.</li>
</ol>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<p>Please provide information like AI modules enabled, which AI provider, browser, etc.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>There are two Proof of concepts that exist and ideally links to them / branches of the AI module should go here:</p>
<ul>
<li>lussoluca's here: <a href="https://github.com/lussoluca/ai_react_agent">https://github.com/lussoluca/ai_react_agent</a></li>
<li>harivansh's: example with flowdrop</li>
</ul>
<p>TBD</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
<p><a href="https://www.drupal.org/project/flowdrop">https://www.drupal.org/project/flowdrop</a><br>
<a href="https://www.drupal.org/project/eca">https://www.drupal.org/project/eca</a><br>
<a href="https://www.drupal.org/project/ai_integration_eca">https://www.drupal.org/project/ai_integration_eca</a></p>
> Related issue: [Issue #3560619](https://www.drupal.org/node/3560619)
issue