SQL Agent Studio is an "Agent-First" IDE fork of VS Code OSS, engineered to modernize SQL Server database management. It moves beyond traditional "chat sidebars" by placing an autonomous AI agent at the center of the development experience via a "Mission Control" workspace.
- Profile: Product Managers, Operations Lead, Founders.
- Experience: No-code/Natural Language interaction. Changes are presented as "Action Cards" with plain-English impact summaries.
- Goal: Safe data exploration and business-logic updates without requiring T-SQL mastery.
- Profile: Database Administrators, Backend Engineers.
- Experience: Pro-code interaction. Full script visibility, execution plan analysis, and performance telemetry.
- Goal: Automation of complex migrations, performance tuning, and schema refactoring.
The Mission Control is the primary full-screen tab of the IDE.
- Reasoning Graph: A live node-based visualization (React Flow) showing the Agent's thought process (e.g., Analyzing Constraints -> Checking Buffer Pool -> Validating Migration).
- Context Pinboard: A side-panel allowing users to drag-and-drop specific tables/views into the Agent’s "High-Priority Memory."
- Artifacts Panel: A dedicated space for reviewing and commenting on generated "Implementation Plans."
- Certainty Threshold: The Agent must pause if intent certainty is below 90%.
- Ambiguity Detection: Mandatory prompts for clarification on Table Subject, Action Type, or WHERE clause scope.
No write operation can execute without a plan containing:
- Summary: Business and technical goal.
- Prerequisites: Dependencies, permissions, and backup status.
- Implementation: The actual T-SQL scripts.
- Validation: Automated "post-check" queries to verify success.
- Rollback: A "one-click" script to revert all changes.
- The IDE utilizes the Model Context Protocol (MCP) to expose SQL Server capabilities (DDL, Query Exec, Plan Analysis) to the LLM.
- Shell: VS Code OSS distribution (custom fork).
- SQL Service: Bundled
vscode-mssqlextension. - Orchestration: Gemini 3 Flash (Primary) / Gemini 3 Pro (High-Reasoning Escalation).
- Data Auth: Support for Local SQL Express (Windows Auth) and Azure SQL (Microsoft Entra ID).
- Transaction Wrapping: All AI-generated scripts must run within a
BEGIN TRANSACTIONblock. - Shadow Branching: Ability to create a Database Snapshot for plan verification before production execution.
- Data Masking: Automatic detection and masking of PII in Agent responses for Non-Technical users.