---
title: "AI Agents in DataGrip"
url: https://daily.dev/posts/ai-agents-in-datagrip-btqw7aafa
source_url: https://blog.jetbrains.com/datagrip/2026/08/26/ai-agents-in-datagrip
type: article
source: "JetBrains"
published: 2026-08-26T14:31:43.256Z
updated: 2026-08-26T15:12:10.327Z
tags: ["backend", "ai-coding", "mcp"]
reading_time: 1
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Agents in DataGrip

**[JetBrains](https://daily.dev/sources/jetbrains)** · 1 min read · 0 upvotes · 0 comments

## Summary

JetBrains released a video walkthrough of the AI agent integration in the latest DataGrip release, supporting Claude Code, Codex, and Junie via built-in MCP tools and skills. The video covers setting up connections from text descriptions or JDBC URLs, asking agents natural-language questions about schema architecture, text-to-SQL querying, AI-driven schema cleanup with dependency safety checks, and targeting specific objects with @dbObject and @fileName mentions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.jetbrains.com/datagrip/2026/08/26/ai-agents-in-datagrip>

## Questions this post answers

### How do I use Claude Code, Codex, or Junie with DataGrip to query my database?

DataGrip provides built-in MCP tools and skills that power up AI agents like Claude Code, Codex, and Junie with database capabilities. You can set up connections from a text description or JDBC URL, ask agents about your schema in natural language, run text-to-SQL queries, and target specific objects using @dbObject or files with @fileName identifiers.

_Developers wiring AI agents into their database workflow can follow discussions on tools like this via daily.dev._

### Can AI agents in DataGrip automatically clean up unused database tables?

Yes, DataGrip's AI agent integration includes a schema cleanup capability that auto-detects out-of-place tables and performs dependency safety checks before executing any cleanup operations, reducing the risk of accidentally breaking dependent objects during automated schema maintenance.

_Teams evaluating AI-assisted schema maintenance tools can track updates like this on daily.dev._

## Similar posts on daily.dev

- [DataGrip 2026.2: AI Agent Skills, MCP Tools and CLI Commands for Data Source Management, Bundled JDBC Drivers, and Improved Session Control](https://daily.dev/posts/datagrip-2026-2-ai-agent-skills-mcp-tools-and-cli-commands-for-data-source-management-bundled-jdb-tkkx8t4ip) · JetBrains · 3 upvotes · 0 comments
- [How to Use AI Agents in IntelliJ IDEA With ACP](https://daily.dev/posts/how-to-use-ai-agents-in-intellij-idea-with-acp-kuctw5rln) · JetBrains · 0 upvotes · 0 comments
- [Specialized IDEs deserve AI too: Kiro adopts ACP](https://daily.dev/posts/specialized-ides-deserve-ai-too-kiro-adopts-acp-lin59ouze) · Kiro · 0 upvotes · 0 comments

---

Tags: [#backend](https://daily.dev/tags/backend), [#ai-coding](https://daily.dev/tags/ai-coding), [#mcp](https://daily.dev/tags/mcp)

[View this post on daily.dev](https://daily.dev/posts/ai-agents-in-datagrip-btqw7aafa)
