Create base Entity Agent class
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3546397. -->
Reported by: [jofitz](https://www.drupal.org/user/2617663)
Related to !184
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>As identified in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-13"><a href="https://www.drupal.org/project/ai_agents/issues/3517117" title="Status: Needs work">#3517117: BlockContent AiAgent</a></span>, we currently have a Node agent and a Taxonomy agent and are in the process of creating a Block Content agent. A base entity agent will avoid duplicating underlying methods.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Create base entity agent</li>
<li>(optional) Create entity agent interface</li>
<li>Refactor Node & Taxonomy agent methods</li>
<li>(optional) Deprecate entity-specific methods</li>
</ul>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li><del>Create base entity agent</del></li>
<li><del>(optional) Create entity agent interface</del></li>
<li><del>Refactor Node & Taxonomy agent methods</del></li>
<li>(optional) Deprecate entity-specific methods</li>
</ul>
<h3 id="summary-api-changes">API changes</h3>
<p>Deprecate entity-specific methods, e.g. <code>getVerboseNodeTypesAsString()</code> and <code>getVerboseTaxonomyTermsAsString()</code></p>
> Related issue: [Issue #3517117](https://www.drupal.org/node/3517117)
issue