Files
Steven EubankandClaude Opus 4.8 26010d80ce docs(observability): rename "Hire an agent" to "Agent prompts" (#51148)
The "Hire an agent" and "monitor" wording oversold the feature: it is
just a prompt you give an agent to check health, security, performance,
or resources, optionally on a schedule. Rename the group to "Agent
prompts", drop "monitor" from the four child pages (Health, Security,
Performance, Resources), and use plainer framing across the landing page
and observability hub. URL slugs are unchanged.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Renamed the Observability section to “Agent prompts” and updated its
page titles and descriptions to describe project checks.
* Clarified that prompts read project data without changing it, and that
findings can be sent through existing harness connections.
* Updated setup guidance to refer to running prompts and using “checks”
in task names.
* Renamed the Health, Security, Performance, and Resources entries. The
related links, schedules, and reporting details remain unchanged.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-01 23:20:06 +00:00

42 lines
1.5 KiB
Plaintext

---
id: 'automate-with-agents-health'
title: 'Health'
subtitle: 'A read-only agent that checks API and Auth errors and Postgres connection pressure once per hour.'
description: 'Hourly checks for server errors and connection pressure'
---
```mermaid
flowchart TD
Schedule([Every hour]) --> Inspect[query_logs and execute_sql]
Inspect --> Signals["Server errors and connection pressure"]
Signals --> Review{Anything new to report?}
Review -->|Yes| Report[Finding and next step]
Review -->|No| Silent[Stay silent]
Inspect -->|Missing data or access| Gap[Report new or changed gaps]
```
## What it watches
- API and Auth server-error rates in the last complete hour, compared with the preceding hour
- Current Postgres connection pressure
It uses `query_logs` and read-only `execute_sql` on project-scoped [Supabase MCP](/docs/guides/ai-tools/mcp).
## When it watches
<AgentWatchSchedule id="health" />
## What it will output
This prompt reports new or changed problems with the affected service, measured error rate or connection usage, and a next investigation step. See [what triggers a health report](/docs/guides/observability/detecting#health).
If a check cannot run, the agent tells you what is missing. Clear checks and unchanged findings stay quiet.
<$Partial path="monitoring_agent_output.mdx" />
## Set up the agent
Allow the agent to read the documentation linked in its prompt. Save its alert state between runs so it can avoid repeat reports.
<AgentSetup id="health" />