Oracle Agentic AI in Integration 3
Automate complex workflows using AI agents that intelligently orchestrate your Oracle integrations as tools — adapting in real time to achieve a defined business goal.
Traditional Integrations
- Fixed, predefined sequence of steps
- Runs exactly the same way every time
- Best when you need full control over order
- Ideal for enterprise connectivity
- Complex when too many conditional paths
AI Agents
- Adaptable — decides steps dynamically via LLM
- Achieves a goal even when the path isn't predefined
- Best when possibilities are too many to hard-code
- Uses integrations as tools
- Reasons, acts, observes and iterates
Key Concepts
Understand the building blocks before you start building agents.
AI Agent
A software program that uses a Large Language Model (LLM) to reason and act — without human intervention — to achieve a specific goal. The agent decides which tools to call and in what order, based on what it learns from each step.
Agentic AI Tool
An integration that has been registered as a tool for AI agents. The agent invokes tools to interact with external systems. An integration must meet these requirements to become a tool:
ReAct (Reasoning + Action)
The agent alternates between reasoning and acting. It updates its plan based on new information at each step.
Plan and Execute
The agent asks the LLM to generate a complete plan first, then executes each step sequentially.
You can also customise existing patterns or create entirely new ones for your agents.
Human in the Loop
Enables human intervention at critical decision points. Use it when:
- Approval is needed before executing a tool
- The agent needs confirmation before proceeding
- The agent doesn't know what to do next
- A tool call results in an error needing human guidance
Prompt Templates
Ready-to-use system prompts with {{ payload.variable }} placeholders. Resolved from the request payload at runtime before being sent to the LLM. One agent can have multiple templates.
Knowledge Bases (RAG)
Add corporate documents to a Retrieval-Augmented Generation knowledge base inside Oracle Integration. Agents and integrations can query these documents — turning static files into live, queryable knowledge.
Projects
All AI agents, integrations, and tools are created inside projects. Each project also acts as an MCP server, exposing its integrations as discoverable tools for third-party agent frameworks.
Build and Run Your First AI Agent
Build a simple expense approval agent. Expenses ≤ $50 are automatically approved; expenses > $50 are rejected. One integration, one tool, one agent.
- Access to Oracle Integration (free trial available)
- LLM base URL — e.g.
https://api.openai.com - LLM model name — e.g.
gpt-4o-mini - LLM API key
| Tool name | Purpose | Input JSON | Output JSON |
|---|---|---|---|
| Auto Approve Expense Report | Automatically approves submitted expenses | { "AmountClaimed": "" } |
{ "AutoApproveResponse": "" } |
After running the agent: go to Observe to see all integration instances. Look for Auto Approve Expense Report, ReAct Pattern Intg, and Get Tool Data Intg. If any show errors, click the number in the Errored column → Instances tab → View Details.
Add Human Approval to Your Agent
Extends Tutorial 1: instead of rejecting expenses over $50, the agent routes them to a manager for human approval via a web form and workflow.
Two tools in this agent
- Process Automation must be enabled on your Oracle Integration instance
- Assign role ServiceDeveloper or ServiceAdministrator to users who need Human in the Loop access
- Completed Tutorial 1 (or have an existing AI agent)
| Field | Description |
|---|---|
| Claim Amount | The dollar amount the employee is claiming |
| Approver Comments | Free-text field for the manager to add notes on their decision |
Use Integrations as Tools in an MCP Server
Each Oracle Integration project can act as an MCP (Model Context Protocol) server, allowing any third-party agent framework that supports MCP to discover and invoke your integrations as tools.
Project = MCP server
Each project becomes its own MCP server with a dedicated URL. You choose which integrations within the project to expose.
Any integration, any framework
Any integration can be used as a tool regardless of which agent framework invokes it — Oracle Integration or third-party.
| Question | Answer |
|---|---|
| Can I use a tool in both an Oracle agent and a third-party framework? | Yes. Once registered as an agentic AI tool, it's available via the MCP server URL to any client. |
| How many integrations can a project expose? | You selectively register which integrations to expose — you don't have to expose all of them. |
| Is the MCP URL stable? | Yes. The URL persists and can be shared with multiple clients. |
Advanced Features
Go beyond the basics — dynamic prompting, persistent run memory, knowledge bases, and fine-tuned thinking pattern configuration.
Prompt templates
Instead of a static system prompt, associate one or more prompt templates with your agent. Each template has placeholders that resolve from the incoming request payload at runtime.
The correct template is selected based on the payload context and sent to the LLM as the system prompt.
Run agent with knowledge of previous runs
By default each agent run is stateless. You can configure the agent to carry context from previous runs — enabling it to build on past interactions, avoid repeated mistakes, and support multi-turn workflows.
- Pass previous run context in the prompt payload
- Useful for iterative approvals and multi-step workflows
- Allows the agent to remember earlier decisions in a conversation
RAG knowledge bases
Upload corporate documents to a Retrieval-Augmented Generation knowledge base inside Oracle Integration. Agents can query these documents as a tool, and integrations can also query them directly.
| Setting | Description | Notes |
|---|---|---|
| Max iterations | Limits the number of reasoning + action cycles before the agent provides a final answer | Prevents infinite loops |
| Temperature | Controls LLM creativity in reasoning | Higher = more creative; lower = more deterministic |
| Guidelines | Sent as the system prompt — defines how the agent reasons step by step | Be specific and structured |
| LLM connection | Base URL, model name, and API key for the LLM | Test connection before activating |
Control what the LLM sees
When registering a tool, you control which parameters are visible to the LLM. For integrations with many fields, only mark as Visible the parameters that are relevant to the tool's stated purpose. This reduces noise and improves the LLM's ability to use the tool correctly.