Your AI Agent Wants Your Data. Here's How to Lock It Down - Jeff Smith, Oracle
핵심 요약
Securing AI agent data access requires implementing authentication, role-based filtering, and pre-packaged report tools directly at the database layer rather than relying on LLM-generated SQL.
하이라이트
Oracle native support for vectors allows databases to participate directly in RAG pipelines alongside relational and graph data workloads.
Natural language to SQL conversion frequently generates flawed queries that compile successfully but return incorrect business data.
Database-level security dynamically strips unauthorized data from query results based on user single sign-on roles before information reaches AI agents.
Schema annotation tools consume unstructured documents from network drives and store metadata directly inside the database to improve query generation accuracy.
Oracle database instances integrate with the Model Context Protocol via specialized servers to manage tool execution and context windows efficiently.
타임라인
Oracle AI Database Capabilities and RAG Integration
Database management tools have evolved over decades to handle various data types, now incorporating native vector support for financial, healthcare, and enterprise data. This native capability allows organizations to query structured information and vectorized content through a single interface, eliminating the need to duplicate data across multiple external platforms.
- Oracle databases integrate vector and graph data workloads to support modern RAG pipelines within a single instance.
- A single Model Context Protocol server connects AI agents directly to enterprise databases without data replication.
- Database infrastructure teams typically initiate the deployment of new AI and Model Context Protocol technologies.
Risks of Natural Language to SQL and Report-Based Alternatives
Business users frequently ask ad-hoc operational questions without possessing deep SQL expertise. While large language models can translate natural language into database queries, they often produce syntactically valid queries that retrieve incorrect business insights. Routing agent requests through pre-defined, parameterized reports prevents query errors and reduces unnecessary token consumption.
- Unchecked natural language to SQL generation creates high token costs and unreliable business analytics.
- Pre-written parameterized reports limit LLM errors by replacing dynamic SQL generation with controlled query templates.
- Model Context Protocol servers support both custom report execution tools and raw SQL query execution modes.
DevOps Troubleshooting and Schema Documentation
Database administrators can utilize read-only standby instances, such as DataGuard, to let AI agents safely diagnose performance bottlenecks and collect statistics. Furthermore, documenting legacy database schemas often relies on consuming unstructured text files and storing annotations natively, which drastically improves the precision of subsequent AI-driven queries.
- Read-only standby database instances provide safe environments for AI agents to investigate production performance issues.
- Schema annotation tools ingest documentation from network shares to maintain contextual metadata inside the database.
- Database-level security controls prevent unauthorized data exposure when external tools query production environments.
Enterprise Security and Roadmap
Enterprise deployments require strict access controls to ensure AI agents only retrieve information matching the user's authorization level. By tying agent requests to single sign-on identity providers like Azure Entra ID, the database dynamically applies security policies and strips restricted columns from the output before returning data to the agent framework.
- Single sign-on integration passes organizational roles and scopes directly to the database layer during agent sessions.
- Dynamic data security rules filter result sets automatically before information transmits back to the agent interface.
- Oracle provides Model Context Protocol resources and documentation via oracle.com/mcp.
설명
Jeff Smith has built database tools at Oracle for 25 years, and he's here to make agents and databases get along safely. He explains why natural language to SQL is powerful but risky, since queries can run cleanly and still return the wrong data, and how Oracle's MCP server makes it safer: offering your team's vetted reports as tools instead of ad hoc SQL, pointing agents at a read-only standby for performance tuning, annotating schemas so agents stop brute-forcing your data dictionary, and deep data security that strips out rows a user isn't allowed to see before results ever reach the agent. Chapters: 0:00 Intro 0:56 What is the Oracle AI Database? 3:28 Why agents need database access 5:07 Use case 1: Reports as tools 7:09 Why natural language to SQL is risky 9:43 List reports, execute reports 11:30 Use case 2: Performance tuning 14:48 Use case 3: Schema docs for agents 17:27 Security: who's asking? 20:42 What's coming Jeff Smith https://www.oracle.com Join us in SF for the second annual AIE CODE summit: https://aie.codes our last flagship summit of 2026. Applications live now!
