Add the Plan Agentic AI Pattern

AI agents can use different thinking patterns for reasoning. Before you can create an AI agent, you need to create the thinking pattern the AI agent will use. With the Plan pattern, the AI agent does not use any tools. The Plan pattern is used to implement Plan & Execute with multiple AI agents.

For OpenAI, Anthropic, or Azure as the LLM, use the Plan pattern. For OCI Generative AI, use the Plan for OCI GenAI pattern.

  1. In the left navigation pane, select Projects.
  2. Select your project.
  3. In the left navigation pane, select AI Agents AI Agent icon.
  4. In the Agent patterns section, click Add.

    The Create pattern panel is displayed.

  5. In Create pattern, configure required fields for your pattern:
    • Name: Name for the agentic AI pattern. Specify a descriptive name so that you can identify the type of pattern you have created.
    • Identifier: Uniquely identifies the pattern in the project. By default, the identifier is automatically populated from the pattern name.
    • Version: Automatically assigned. Versions follow the format xx.yy.zzzz, where xx is the major version and yy.zzzz is the minor version.
    • Pattern recipe: Select Plan.
  6. Click Create.
    The Pattern details page is displayed.
  7. Configure the Pattern and LLM.

    You see the following fields:

    • Max iterations: Limits the number of reasoning and action steps the AI agent can take before providing a final answer or exiting. This field prevents infinite loops.
    • Guidelines: Instructions for the LLM as how the AI agent is to reason and think. There are default guidelines provided for you.
    1. Change any desired fields and click Save.
    2. Under LLM Connections, click Edit icon to configure the LLM connection.
      A new LLM connection is created and is displayed.
    3. Configure connection information for your LLM.
      • Base URL: URL to connect to your LLM. For example: https://api.openai.com.
      • Model: Model to use for your AI agent. For example: gpt-4o-mini
      • API Key Based Authentication: Specify your API key to connect to the LLM.
    4. Click Test to test that your connection works, then click Save.

      When you save, Oracle Integration creates an integration that implements the Plan pattern called Plan Pattern in the Integrations section. This system-created integration is automatically activated.

  8. Click Back Back icon to return to the Pattern details page.
  9. Click Back Back icon to return to the AI Agents page.