(Optional) Download and Configure the Pre-Built Oracle AI Database Agent
Install the Oracle AI Database Agent sample in your Autonomous AI Database if your database does not already contain a Select AI agent team for the Google Gemini Marketplace integration.
This sample is located in the google-gemini-marketplace-agents/oracle_ai_database_agent folder of the Oracle Autonomous Database Samples GitHub repository. It is separate from the autonomous-ai-agents folder, which contains the announced prebuilt Select AI agent samples.
If you plan to use one of the pre-built Select AI agent samples from the autonomous-ai-agents folder, or a custom Select AI agent team created directly in Autonomous AI Database, skip this installation and proceed with Configure the Custom Agent (Administrator).
Before You Begin
-
Ensure you have Git Bash or GitHub Desktop installed and configured.
-
Ensure you have
ADMINcredentials for the Autonomous AI Database. -
Identify the
schema_namewhere the agent operates and theai_profile_nameto be used. -
Have the
client_idandclient_secretgenerated earlier. SeeRegister an OAuth Client (OAuth) for more information.
-
Download the pre-built agent package by cloning the repository.
git clone https://github.com/oracle-devrel/oracle-autonomous-database-samples.git -
Go to the Oracle AI Database Agent sample directory:
cd oracle-autonomous-database-samples/google-gemini-marketplace-agents/oracle_ai_database_agentThis step downloads the ready-made agent files.
-
Connect to your database as an administrator and run the tools installer script.
@oracle_ai_database_agent_tool.sqlWhen prompted, enter the
schema_name. The script completes without further configuration. -
Run the agent installer script to deploy the agent.
@oracle_ai_database_agent.sqlWhen prompted, enter the
schema_nameandai_profile_name.The script creates the necessary database objects, grants permissions, installs the pre-built agent team, and finishes with a confirmation message.