agent
Basic Information
Xata Agent is an open source AI agent designed to act as a PostgreSQL expert for SREs and DBAs. It monitors databases, inspects logs and metrics, diagnoses root causes of operational issues, and suggests non-destructive fixes and configuration tuning. The agent runs self-hosted using provided Docker images and a Postgres instance for storing configuration, state, and history. It uses preset SQL statements and troubleshooting queries against PostgreSQL internals such as query statistics and locks. The project is extensible and intended to be run alongside existing cloud databases including AWS RDS, Aurora, and Google Cloud SQL. The README emphasizes safe operation by avoiding destructive commands, integration options like Slack notifications and OAuth for authentication, and support for multiple LLM providers for reasoning and recommendations.