Create action to trigger agents
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3521665. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !3
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Triggering agents is as simple as picking the wanted agent and sending it some text instructions. We should be able to create an action for it.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Create an action in the ai_integration_eca_agents module.<br>
The action should be based on ECA's ConfigurableActionBase.<br>
The action should take a configuration that is the agent id (select)<br>
The action should take a configuration that is the instructions (textarea)<br>
The action should execute the agent.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>We should do a follow up issue, so you can also pass in files.<br>
We should do a follow up issue so you can pass along any seeded tools that was used.</p>
issue