Move AI Agents Entity to AI Core and create a better structure
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3553398. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !987
>>>
<p>--- AI TRACKER METADATA ---<br>
Update Summary: Move AI Agents Entity to AI Core and create a better structure<br>
Check-in Date: MM/DD/YYYY (US format) [When we should see progress/get an update]<br>
Due Date: MM/DD/YYYY (US format) [When the issue should be fully completed]<br>
Blocked by: [#XXXXXX] (New issues on new lines)<br>
Additional Collaborators: @username1, @username2<br>
AI Tracker found here: <a href="https://www.drupalstarforge.ai/">https://www.drupalstarforge.ai/</a><br>
--- END METADATA ---</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>AI Agents will be take over by AI Core in 2.0, so anyone wanting to run an agent can do this by just installing AI module (and probably Tool API).</p>
<p>The first step is to move over the configuration entity, so it becomes the responsibility of the AI core module.</p>
<p>While we are doing that, we should also add the following as possibilities:<br>
1. You can create instances of tools - meaning that you can use the same plugin in different versions.<br>
2. A proper schema for tools - not in multiple places like now. It should all be under tools key in AI Agents.<br>
3. An update hook for configurations, currently managed by the AI Agents module, that rewrites all agents to use this when upgrading from AI Agents. And that uninstalls the AI Agents module.</p>
issue