Skip to content

Latest commit

 

History

History
201 lines (122 loc) · 11.3 KB

File metadata and controls

201 lines (122 loc) · 11.3 KB

Create AI Agents and Agent Teams for your enterprise

Create Procurement Policy Advisor Tool and Agent (RAG) using AI Agent Studio

Introduction

AI Agent Studio for Fusion Applications is a comprehensive platform for creating, extending, deploying and managing AI Agents and Agent Teams across the enterprise. Oracle AI Agent Studio delivers easy-to-use tools, including advanced testing, robust validation, and built-in security, that helps Oracle Fusion Applications customers and partners create and manage AI agents. Leveraging the same technology that Oracle uses to create AI agents, Oracle AI Agent Studio enables users to easily extend pre-packaged agents and/or create new agents and then deploy and manage them.

Objectives

In this activity you will use Oracle Fusion AI Agent Studio to

  • Create a Procurement Policy Document Tool that references your company-specific procurement policy documents (PDF)
  • Create an Agent that uses the Document Tool to respond to user questions related to procurement.

Pre-requisite

Alert Flat As a pre-requisite for this adventure, please download following files to your local desktop

  1. Policy document file (ProcurementPolicies.pdf)

[Right-click here and select Download Linked File as OR Save Link as OR Save File as.](../07a-rag-agent-prc/files/ProcurementPolicies.pdf)
2. Prompt file for the AI Agent **(Prompt-Procurement-Policy-Advisor.txt)**
[Right-click here and select Download Linked File as OR Save Link as OR Save File as.](../07a-rag-agent-prc/files/Prompt-Procurement-Policy-Advisor.txt)

Begin Exercise

  1. In this activity you will learn the power and ease building Agentic AI with the Oracle AI Agent Studio

    AI RAG Objectives

  2. The first step is to navigate to AI Agent Studio.

    (1) Click on the Tools tab
    (2) Select the AI Agent Studio tile

    Navigate to AI Agent Studio

  3. Next, we're going to create a Tool

    (1) Click the Tools button/tab at the bottom of the page

    Open tools

  4. Tool Creation

    (1) Click the add tool button to create a new tool

    Create Tool

  5. Here, you will define your first Tool, a Document Tool. This will allow the Agent to use the content of the documents to respond to user questions.

    (1) Enter the following fields:

    • Tool Type: select Document from the dropdown
    • Tool Name: Enter CIOXX Procurement Policy Document Tool, where XX is replaced with your user number.
    • Family: select PRC from the dropdown
    • Product: select Self Service Procurement from the dropdown
    • Description: Enter Cloud Adventure Procurement Policy Document Tool

    (2) Click the Add button button under Documents

    (3) Scroll Down to see the Documents fields and upload your document.

    Edit Suppliers View

  6. Alert flag As a pre-requisite for this step, please download policy document file to your local desktop if you have not already done so as below.

    Right-click here and select Download Linked File as OR Save Link as OR Save File as.

    (1) Enter the following fields:

    • Name: Enter Procurement Policy Documents
    • Status: Select Ready to publish from the dropdown
    • Description: Enter Procurement Policy Documents

    (2) Click on the Drag-and-drop region and then select the file (ProcurementPolicies.pdf) from your Downloads folder on your PC.

    (3) Click the Save Save Button button on the bottom right

    (4) Click the Create button Create Button on the top right corner of the screen.

    tool create

    Congratulations! You’ve completed your first step and created a Policy Document Tool.

  7. Now, you'll create your first Agent! You'll do that from the Agent screen within the AI Agent Studio.

    (1) Click the Agents button/tab Agent Image at the bottom of the page.

    Agents Page

  8. Here, you can see any existing agents. But you want to create a new one.

    (1) Click the + Add button Add button Image.

    Add Agent

  9. Define the Details of the Agent.

    (1) First, you'll enter the fields as described below:

    • Agent Name: CIOXX Procurement Policy Advisor Agent where XX is replaced with your user number.
    • Family: Select PRC from the dropdown
    • Product: Select Self Service Procurement from the dropdown
    • Maximum Interactions: 10
    • Description: Cloud Adventure Procurement Policy Advisor Agent
    • Agent Persona and Role: As a Procurement Policy Advisor, your role is to efficiently access and interpret company-specific procurement policy documents, providing workers with clear, actionable guidance on company procurement requirements.
    • Prompt: Alert Flat Please note that the Prompt is a critical part of the Agent Definition as it provides guidance for the Agent. To streamline this step, we've pre-created the prompt. The prompt text is available in the copy block below.

      Alternatively, prompt text is available in Prompt-Procurement-Policy-Advisor-Agent.txt file that you can download to your local desktop as below.

    [Right-click here and select Download Linked File as OR Save Link as OR Save File as.](../07a-rag-agent-prc/files/Prompt-Procurement-Policy-Advisor.txt)
    Once done, please open this file and copy the contents into the Prompt field.

    (2) Click the Create Button Create Button

    Create Agent

<copy>
AGENT ROLE

As a Procurement Policy Advisor, your role is to efficiently access and interpret company-specific procurement policy documents, providing workers with clear, actionable guidance on company procurement requirements.

RESPONSIBILITIES

Your responsibilities include:

Procurement Policies:
- Clearly explain the company procurement requirements outlined in company's procurement policies.
- Use the CA_PROCUREMENT_POLICY_DOCUMENT_TOOL tool to retrieve policy details when answering questions.

IMPORTANT GUIDELINES
  - Provide concise, factual answers based strictly on the data retrieved.
  - Never fabricate or assume information.
  - Format your responses clearly and professionally for easy readability. </copy>
  1. You’ve now created your first Agent. Now you’ll add Tools to the Agent. You'll add the document tool created earlier.

    (1) Click the Tools icon Tool Hammer Icon on the left.

    Add Tools

  2. Find the appropriate tool and add it to your agent.

    (1) Enter CIOXX, where XX is replaced with your user number, in the Ask Oracle field and press the <Enter> key or select CIOXX from the resulting dropdown.
    This filters the list of tools for easier selection.
    (2) Click the Plus Icon next to the tool name CIOXX Procurement Policy Document Tool, where XX is replaced with your user number.

    Add tool

  3. You can review the details of the Tool, including the option to require human approval.

    (1) Click the Add button Add Button.

    Add Tools Complete

  4. That's it! Let's save this and continue.

    (1) Click the Create button Create Button on the top right.

    Add Tools Create

  5. Click on Publish to continue.

Publish Agent

  1. You’ve just created your first AI Agent. In the next adventure, you will put this agent to work as part of an Agent Team.

    Agent Created

Summary

As you have seen here, AI Agent Studio puts customers in the driver’s seat, helping empower you to design the future of AI in your organizations on top of a bedrock of trust and safety. AI Agent Studio includes a built-in testing environment, validation, and traceability tools to confirm accuracy. Oracle maintains the same data controls at a user level, which means no individual sees data or AI recommendations that they do not have access to.

AI Agent Studio empowers enterprises to configure and build AI agents that extend their workforce and help achieve new levels of productivity. It allows you to harness the full potential of AI agents and transform the way work gets done in your organization. AI Agent Studio is a design-time environment that provides a set of tools to create, customize, validate, and deploy GenAI features and AI agents to meet the specific needs of the organization. It is the same unified environment Oracle uses to internally build agents, made available now to customers and partners to customize and extend agents from Oracle-provided pre-configured templates or to create new agents and multi-agent workflows.

Like our AI capabilities, Oracle AI Agent Studio was built natively into Fusion Cloud Applications on our trusted, high performance Oracle Cloud Infrastructure (OCI), which means it can easily and securely access Fusion knowledge stores, tools, and APIs and allows agents to be deployed directly into the flow of work. This approach means maximum flexibility and customization without sacrificing reliability or performance.

You have successfully completed the Activity!

Learn More

Acknowledgements

  • Author - Stephen Chung, Principal SaaS Cloud Technologist; Sajid Saleem, Master Principal SaaS Cloud Technologist; Charlie Moff, Distinguished SaaS Cloud Technologist
  • Contributors - The AI Adventure Team (Gus, Kris, Sajid, Casey, Stephen, Jamil, Sohel, Xavier, Nate, Charlie)
  • Last Updated By/Date - Charlie Moff; Sajid Saleem, February 2026