PgAdmin 4 9.13 Adds AI Assistant Panel to Query Tool

PgAdmin 4 9.13 AI Assistant Integration
PgAdmin 4 version 9.13 adds an AI Assistant panel to its Query Tool, enabling SQL generation from natural language input when AI services are configured. This feature appears as a tab within the SQL Editor panel alongside existing History and Scratch Pad tabs.
Query Tool Features
The Query Tool remains a feature-rich SQL environment that allows:
- Execution of arbitrary SQL commands and ad-hoc queries
- Editing of updatable SELECT query result sets
- Display of current connection and transaction status
- Export of output panel data to CSV files
- Review of SQL execution plans in text, graphical, or table formats (similar to explain.depesz.com)
- Viewing analytical information about SQL statements
- Opening multiple Query Tool instances in individual tabs
Workspace Layout Changes
Version 9.13 introduces a Workspace layout that provides a distraction-free environment for the Query Tool. Key changes include:
- Welcome page opens by default when accessing Query Tool workspace
- All Query Tool and View/Edit Data tabs open within the Query Tool workspace
- Ability to connect to ad-hoc servers not registered in Object Explorer
- Connection parameters include: Server Name, Host name/address, Port, Database, User, Password, Role, and Service fields
- Connect & Open Query Tool button launches the tool with provided server details
This differs from the classic UI where users must connect to a database server and navigate to the database node before using the Query Tool.
Panel Organization
The Query Tool features two main panels:
- Upper panel (SQL Editor): Contains tabs for entering/editing queries, History tab for session queries, Scratch Pad for text snippets, and the new AI Assistant tab
- Lower panel (Data Output): Displays query result sets, execution plan information, server messages, and asynchronous notifications
If the Scratch Pad is closed, it can be reopened by right-clicking in the SQL Editor or other panels and adding a new panel.
📖 Read the full source: HN AI Agents
👀 See Also

WhatsApp AI Assistant Built with Claude Code as OpenClaw Alternative
A developer built a WhatsApp AI assistant using Claude Code as the agentic brain, with a local relay server for WhatsApp webhooks and MCP server bridging. The project includes Arcade for scoped auth to Google Calendar, Gmail, and Slack.

Claude Code's Tool API Details Revealed
A Reddit user extracted details about Claude Code's tool API, including file system operations, bash execution, web search, and how tool calls are structured using XML-like blocks.

LivingAgents.ai: A Web-Based AI Agent Simulation Using Claude API
LivingAgents.ai is a web-based simulation where every agent is powered by the Claude API, performing actions like foraging, trading, crafting, attacking, reproducing, and dying permanently, with each action requiring a real LLM call.
MartinLoop: Open-Source Control Plane for AI Coding Agents with Budget Stops and Audit Trails
MartinLoop is an open-source control plane that adds hard budget stops, JSONL audit trails, failure classification, and test-verified completion checks to AI coding agents.