# Monitoring Infrastructure for AI Agents

**Source**: https://www.checklyhq.com/ai-reliability/

> Checkly provides monitoring infrastructure that AI agents can invoke through a CLI, MCP server, agent skills, webhooks, and APIs. Agents can inspect failures, propose monitors, verify fixes, and participate in incident workflows through programmable interfaces.

## Interfaces for agents

- **CLI**: create, test, inspect, and deploy monitors from a terminal or CI job.
- **MCP server**: inspect Checkly state and work with supported reliability workflows from an MCP client.
- **Agent Skills**: install current Checkly instructions with `npx checkly skills install`.
- **REST API and SDKs**: retrieve results, trigger checks, and build custom integrations.
- **Webhooks**: deliver check and incident events to agent workflows in real time.

## Reliability loop

1. A Checkly monitor detects a broken browser journey, API workflow, endpoint, or scheduled job.
2. The failed run supplies structured evidence such as error messages, Playwright traces, screenshots, console output, network requests, and response data where supported.
3. An agent uses the CLI, MCP server, or API to inspect the failure and propose a change.
4. The agent runs a check on demand to verify the fix.
5. Monitoring changes can be reviewed in Git and deployed through CI.

## Guardrails and limits

Agents should use the same review and permission boundaries as human operators. Checkly CLI write commands require explicit confirmation before mutation. Checkly supplies outside-in monitoring evidence; it does not replace application logs, infrastructure metrics, or the observability backend an agent may also need during an investigation.

## Related resources

- [Checkly for AI agents](https://www.checklyhq.com/ai-reliability/)
- [MCP server documentation](https://www.checklyhq.com/docs/ai/mcp-server/)
- [Agent Skills documentation](https://www.checklyhq.com/docs/ai/skills/)
- [Checkly CLI](https://www.checklyhq.com/cli/)
- [Monitoring as Code](https://www.checklyhq.com/product/monitoring-as-code/)
- [OpenAPI specification](https://www.checklyhq.com/openapi.json)
