Create first improvement of agent form
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3559183. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !213
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>There are a lot of good suggestions in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-1"><a href="https://www.drupal.org/project/ai/issues/3552140" title="Status: Active">#3552140: (Discuss) Improve the add/edit Agent UI to make it less overwhelming</a></span> that we should implement, some of these takes longer time and some of these are not possible at the moment, since the function calls are missing icons.</p>
<p>However the tool picker form element comes with a button variable you can add, so one easy fix is to make the configure happen as a button on the function to make the tools less complex.</p>
<p>Also after we pick a tool or many tools, those should be queued to have to be setup after picking.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Follow the instructions above.</li>
<li>Since drupal modal is limited, use a lightweight modal for showing HTML on the page.</li>
</ul>
issue