Creating an Agent in Generative AI Agents

Important

Before you start, ensure that you have permission to manage the service.

  1. On the Agents list page, click Create agent.
    If you need help finding the list page, see Listing Agents
  2. Enter the following values:
    • Name: A name that starts with a letter or underscore, followed by letters, numbers, hyphens, or underscores. The length can be from 1 to 255 characters.
    • Compartment: Select the compartment that you want to store the agent in.
    • Description: An optional description
    • Tags: Click Show advanced options and add one or more tags to the agent. If you have permissions to create a resource, then you have permission to update its tags. If you need help, see Tags and Tag Namespace Concepts.
  3. (Optional) Welcome message: Enter a message that greets the user.
    If you leave this field blank, the agent starts the conversation with the default welcome message displayed as a hint text.
  4. Add knowledge bases

    Either select a knowledge base from the listed knowledge bases or create one. If you need help creating a knowledge base, see Creating a Knowledge Base in Generative AI Agents.

    Note

    You can add only one knowledge base to an agent. The agent will use the ingested data from all the data sources in this knowledge base.
  5. (Optional) Select the checkbox to create an endpoint for this agent. You can also create an endpoint for this agent later.If you need help, see creating endpoints.
  6. Click Create.
  • If you created an endpoint for this agent, after the agent is active, go to the agent's detail page and click Launch chat to chat with this agent.
  • If you skipped creating an endpoint for this agent, when you're ready to use the agent, create an endpoint for this agent.