[Discuss] Decouple AI Context from AI Agents
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3556909. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) >>> <p>[Tracker]<br> <strong>Update Summary: </strong>[One-line status update for stakeholders]<br> <strong>Check-in Date: </strong>MM/DD/YYYY<br> <strong>Additional Collaborators: </strong> @marcus_johansson, @kristen pol<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>This is obviously a big change, but it is also necessary most likely. We currently have a lot of integrations that are not using agents, and that probably will not do it in any near future.</p> <p>If you are for instance using an automator that takes the last 20 comments and creates a newsletter for it, you might still want to use the context for the companies writing style guide.</p> <p>If you are using AI Translate and are translating beteween English and French, you want the companies writing style guide in French, since a word to word translation might cause poor communication in French.</p> <p>etc.</p> <p>There is a discussion at for instance <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-3"><a href="https://www.drupal.org/project/ai/issues/3556187" title="Status: Closed (duplicate)">#3556187: (Discuss) Should we create a system prompt form element?</a></span> on how to make it technically possible to connect any module to any system prompt.</p> <p>In theory you can use the agents framework for a single LLM call, that does not use tools or structured output. So you could wrap everything in agents. This will require UX/UI to step in, for coming up with a concept how you can find, create and list 100s of agents, but that is secondary. And if that is the case, I think the discussion is then rather to remove the prompt library. So this is another option, that then moves this discussion to AI module again.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Discuss what to do.</p> > Related issue: [Issue #3563106](https://www.drupal.org/node/3563106) > Related issue: [Issue #3567798](https://www.drupal.org/node/3567798)
issue