ai_agents
The AI Agents is a framework that can be used to create Agents of all sorts, including so called text-to-action agents that can manipulate your actual Drupal configurations or content based on textual or multimodal instructions.
The module offers a framework for building your own configuration agents, that can be shipped in recipes or modules. They utilize tools calling, so the only development needed is if there is not a tool for what your agent is trying to solve.
When you install the module it comes with 3 agents that it will install.
- Field Type Agent - This agent can take your instructions and create or edit fields on fieldable entities or answer questions about fields in general.
- Content Type Agent - This agent can create, edit and answer questions about node types.
- Taxonomy Agent - This agent can create, edit and answer questions about vocabularies and taxonomy terms.
This means that you will be able to add an instruction like
Can you create an image field on the Page and call it "My Images". I want it to store the image so no one else can see it.
And it will create an image field and change its configuration to store it in private file system if it exists.
The solution opted in for Drupal CMS is to use the Agents together with the Chatbot and AI Assistants API from the AI module.
Submodules
- AI Agents Explorer - This offers a developers and debugging tool for testing out the path and output a specific agent is taking.
- AI Agents Modeler API - This offers a way of using the modelers API and BPMN.io to setup the models in a graph environment, similar to ECA.
Try it out
You can do the following to try one agent out, if you do not want to install Drupal CMS
- Install the AI Module and one provider with tools calling
- Install the AI Agents Module & AI Agents Explorer
- Setup the provider.
- Go to Agent Overview page: /admin/config/ai/agents
- Click Explore on any of the agents
- Try to ask in the form "What can you do?"
Setting up a new agent
Visit /admin/config/ai/agents
Click on +Add AI Agent
Write a title, system prompt and choose the tools it can use.
Try it out in AI Agents Explorer.
Documentation
Its documented on the AI documentation page.