Chayuthpong Makmontrisrisuk

AI WORKFLOWS × DATABASE OPERATIONS

What I let Hermes do in database operations

DBA teams do not lack SQL commands. They lack time to connect alerts, tickets, runbooks, evidence and system context into one coherent picture. Hermes Agent fits that gap because it can work with tools and files, retain procedures as skills and receive requests through channels such as Telegram. Using AI around databases, however, should begin with boundaries rather than production privileges.

Where Hermes belongs in DBA work

I see Hermes as an operating layer between people, process and existing tools. It can receive a request, retrieve context, call approved tools, organize evidence and prepare a decision-ready handoff. It does not need to replace monitoring, ticketing or the database engine, and it should not pretend to be a new source of truth.

Good operational AI is not the system that presses the most buttons. It is the system that makes evidence, scope and impact visible before a person presses one.

A practical operating loop

  1. Receive: accept an alert, ticket or operator question without copying secrets or sensitive records into a knowledge base.
  2. Contextualize: connect the asset, owner, criticality, runbook and relevant history within the granted access.
  3. Collect evidence: use read-only commands to inspect job, backup, capacity or error status and preserve reviewable output.
  4. Summarize and recommend: separate facts, assumptions, risks and options instead of blending them into an overconfident answer.
  5. Approve: route production-changing work to the designated human authority and channel.
  6. Execute within limits: apply least privilege, time limits, a rollback plan and an explicitly scoped target.
  7. Verify: read the real system state after the action, prove service health and record anything still unresolved.
  8. Learn: turn repeatable procedure into a skill or runbook while keeping incident facts in the appropriate evidence system.

Memory, skills and evidence are different things

Hermes provides persistent memory and reusable skills, but they serve different purposes. Memory suits durable context such as communication preferences or stable environment constraints. A skill captures a repeatable procedure, such as checking a failed job or preparing an incident brief.

Operational evidence must live separately. Logs, query output, ticket identifiers, approvals and event times belong in systems with defined access and retention. Remembering is not the same as proving, especially when an organization needs to establish who changed production and why.

Use profiles to separate duties and context

Hermes profiles isolate configuration, sessions, memory and skills. This makes it practical to separate a DBA assistant from portfolio or news work and reduces the chance of internal context leaking into public content. Profile separation does not replace organizational access control, but it makes the working boundary explicit.

Automate coordination before remediation

The best starting points are read-heavy tasks that remove coordination overhead: daily health summaries, duplicate alert grouping, backup-evidence checks, change checklists, incident timelines and scheduled reminders. These improve consistency without handing an agent broad write access.

Once those procedures are stable, teams can consider recommendations and approved, reversible actions. Schema changes, permission changes, failovers and data deletion still need stricter controls even when an agent can produce the correct command.

Measure the quality of control

Success is not the number of tasks an AI completes. More useful measures include evidence-collection time, incident-brief completeness, false-alert reduction, runbook coverage, post-action verification rates and the amount of operational work that no longer depends on one person's memory.

Hermes earns its place when it helps a DBA understand the situation sooner, communicate it clearly and turn individual experience into reviewable procedure. Decision rights and production accountability remain with people and the organization's governance model.

Hermes capabilities referenced here are documented in the official Hermes Agent documentation. This article presents an operating pattern for DBA work; it does not claim a production deployment at any organization.