Oracle's October 2026 update to Autonomous AI Database adds agent support to Select AI for Java. The tools, tasks, agents and teams are still defined and run in the database. Your Java code creates them, runs them and resumes them.
What to know
- There are
Tool,Task,AgentandTeamclasses. Nothing exists in the database until you callcreate(). - Built-in tool types include SQL, RAG, web search, email and Slack.
- An agent runs only inside a team.
runTeam(name, request)starts a run or resumes one. - The database creates the conversation ID. Keep it: you need it to resume a run or to reply when the run pauses for human input.
- Others run a shared team by its owner-qualified name. The grant lets them run it, but not change, export, disable or drop it.
- You need
com.oracle.database.selectai:select-ai1.1.0 or later, on JDK 17 or later.
Don't auto-retry after a timeout
If a team run times out on the Java side, the database may still be working on it. Check the team's state by conversation ID before you send the request again, or the work can run twice.
My take: keep the agent definitions in the database and treat Java, APEX or anything else as a caller. Source: Select AI for Java: agents.
Get the Oracle + AI digest
One email when a new tested guide, template or APEX release note lands — English or Arabic. No spam; unsubscribe anytime.