18.9.4.3 Managing AI Agents and AI Tools
Create AI Agents and AI Tools to enable richer interactions with Generative AI services.
- About AI Agents and AI Tools
Learn about AI Agents and AI Tools. - Creating an AI Agent
Create an AI Agent in Shared Components on the Generative AI Agents page. - Editing or Deleting an AI Agent
Edit or delete an AI Agent or AI Tool from the Generative AI Agents page. - Copying or Subscribing to an AI Agent
Copy an AI Agent from the current application or from another application. When copying an AI Agent from another application, you can also subscribe to it. - Viewing AI Agent Utilization
View a report that details where AI Agents are used within the current workspace. - Viewing AI Agent History
View a report of recent modifications made to AI Agents in this workspace.
Parent topic: Including Generative AI in Applications
18.9.4.3.1 About AI Agents and AI Tools
Learn about AI Agents and AI Tools.
An AI Agent is a shared component that centralizes key Generative AI settings, including the System Prompt, Welcome Message, and AI Tools. Creating an AI Agent enables the reusability of these settings across multiple AI-enabled components such as Show AI Assistant and Generate Text With AI dynamic actions. You can also use AI Agents with PL/SQL APIs available in the APEX_AI package.
About AI Agents
An AI Agent contains the following:
- Name - Identifies the AI Agent in the App Builder UI.
- Static ID - Use this ID to reference the AI Agent in the APIs in
the
APEX_AIpackage. - Service - Refers to the AI Service to be used by the AI Agent. By default, the Application Default is used.
- System Prompt - Initial instructions or context for the AI Service.
- Welcome Message - The first message shown by the AI Assistant. Note that only components with a UI, such as Show AI Assistant, can utilize this setting.
- Temperature - Sets the level of randomness or predictability of the generated content.
- System Prompt Augmentation Tools - Tools called on each request and used to augment the above-defined System Prompt.
- On Demand Tools - Tools called by the AI Service only when needed, either to fetch data or perform tasks.
- Response Format Type - Determines whether the AI Assistant returns plain text or a JSON object.
Parent topic: Managing AI Agents and AI Tools
18.9.4.3.2 Creating an AI Agent
Create an AI Agent in Shared Components on the Generative AI Agents page.
Tip:
Before you can create an AI Agent, you must define a Generative AI Service and create an application. See Managing Generative AI Services and Creating Applications.To create an AI Agent:
To create a AI Tool:
Related Topics
Parent topic: Managing AI Agents and AI Tools
18.9.4.3.3 Editing or Deleting an AI Agent
Edit or delete an AI Agent or AI Tool from the Generative AI Agents page.
To edit or delete an AI Agent or AI Tool:
Parent topic: Managing AI Agents and AI Tools
18.9.4.3.4 Copying or Subscribing to an AI Agent
Copy an AI Agent from the current application or from another application. When copying an AI Agent from another application, you can also subscribe to it.
To copy an AI Agent:
- Navigate to the AI Agent page:
- Find the AI Agent and click Copy.
- Copy From - Choose where to copy the AI Agent from. Options include:
- This Application
- Other Application
- To copy from the current application:
- Copy From - Select This Application.
- Copy Agent - Select the agent to copy.
- Name - Enter the name of the agent you would like to create.
- Click Copy.
- To copy from another application:
- Copy From - Select Other Application.
- Application - Select the application from which you want to copy.
- Copy Agent - Select the agent to copy.
- Subscribe - Enable Subscribe to subscribe to the agent.
- Click Copy.
Related Topics
Parent topic: Managing AI Agents and AI Tools
18.9.4.3.5 Viewing AI Agent Utilization
View a report that details where AI Agents are used within the current workspace.
To view the AI Agents Utilization report:
Parent topic: Managing AI Agents and AI Tools
18.9.4.3.6 Viewing AI Agent History
View a report of recent modifications made to AI Agents in this workspace.
To view the AI Agents History report:
Parent topic: Managing AI Agents and AI Tools