> ## Documentation Index
> Fetch the complete documentation index at: https://www.checklyhq.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Agents & Coding Assistants

> Use AI agents and coding assistants with Checkly Skills and the Checkly MCP Server.

From the beginning, Checkly has bet on [Monitoring as Code](https://www.checklyhq.com/docs/concepts/monitoring-as-code.md) which lets you create and control your monitoring infrastructure entirely using code.

By default, [Checkly constructs](https://www.checklyhq.com/docs/constructs/overview.md) reflect all your monitoring properties.

```ts api.check.ts theme={null}
import { ApiCheck, AssertionBuilder } from "checkly/constructs"

new ApiCheck("api-health-check", {
  name: "API Health Check",
  request: {
    url: "https://danube-web.shop/api/books",
    method: "GET",
    assertions: [
      AssertionBuilder.statusCode().equals(200),
    ],
  },
})
```

All your monitoring resources can be updated, tested and deployed via [the Checkly CLI](https://www.checklyhq.com/docs/cli/overview.md).

```bash theme={null}
# test your monitoring configuration
npx checkly test

# deploy and update your monitoring setup
npx checkly deploy
```

**The Monitoring as Code workflow is by default AI-native** because LLMs are excellent at writing and editing Checkly constructs code and modern AI agents can execute CLI commands easily.

Provide the necessary Checkly context and let your AI agent of choice do the rest.

> **Create new checks, alert channels or other constructs**
>
> "Can you set up a new `BrowserCheck` for `example.com`?"

> **Bulk-update your monitoring resources**
>
> "Can you change all checks to run every 5 minutes instead of every 10 minutes?"

> **Gather information about alerts and your monitoring setup**
>
> "I just received an alert. Can you tell me details about the failing checks?"

> **Handle and communicate incidents**
>
> "Can you please open an incident and investigate a fix?"

## Add Checkly context to your AI agent conversation

Install [Checkly Skills](https://www.checklyhq.com/docs/ai/skills.md) or connect the [Checkly MCP Server](https://www.checklyhq.com/docs/ai/mcp-server.md) to give your AI agent enough context to perform Checkly-related tasks.

> **[Checkly Skills](https://www.checklyhq.com/docs/ai/skills.md)**
>
> For coding agents with repo and code access. Author Monitoring as Code with the Checkly CLI.

> **[Checkly MCP Server](https://www.checklyhq.com/docs/ai/mcp-server.md)**
>
> For desktop or sandboxed agents. Live access to Checkly account data and remote actions.

### Skills, MCP, and the CLI

**Use Skills for a CLI-first workflow.** Skills are built for coding agents that have access to your repository and can run commands. The agent edits your Checkly constructs and tests, then uses the [Checkly CLI](https://www.checklyhq.com/docs/cli/overview.md) to test and deploy them. Skills load context on demand, keeping your agent's context window lean until Checkly-related tasks arise. This is the recommended approach for agents that support the [Agent Skills](https://agentskills.io) standard.

**Use the MCP Server in desktop or sandboxed environments.** Some agents, like Claude Desktop, ChatGPT, or a sandboxed assistant, can't access your repository or filesystem. The [Checkly MCP Server](https://www.checklyhq.com/docs/ai/mcp-server.md) connects these clients to Checkly over Streamable HTTP and gives them live data and remote account actions, such as reading check status, inspecting test sessions, triggering existing checks, reading RCA, or managing status page incidents.

| Use case | Recommended path |
| - | - |
| Ask quick, ad hoc questions from a supported client | [MCP Server](https://www.checklyhq.com/docs/ai/mcp-server.md) |
| Inspect live Checkly data without local CLI setup | [MCP Server](https://www.checklyhq.com/docs/ai/mcp-server.md) |
| Trigger existing deployed checks from chat | [MCP Server](https://www.checklyhq.com/docs/ai/mcp-server.md) or [Checkly CLI](https://www.checklyhq.com/docs/cli/overview.md) |
| Create or edit check code | [Checkly Skills](https://www.checklyhq.com/docs/ai/skills.md) with the [Checkly CLI](https://www.checklyhq.com/docs/cli/overview.md) |
| Test, deploy, or automate local Monitoring as Code projects | [Checkly CLI](https://www.checklyhq.com/docs/cli/overview.md) |
| Add reusable Checkly best practices to an agent | [Checkly Skills](https://www.checklyhq.com/docs/ai/skills.md) |

## Feed documentation to your agent

Every Checkly documentation page is available as markdown, and an `llms.txt` index lists them all. Both make it easy to pull the exact docs your agent needs into its context.

> **[Markdown Access](https://www.checklyhq.com/docs/ai/markdown-access.md)**
>
> Append `.md` to any docs URL, request markdown with content negotiation, or copy a page as markdown.

> **[llms.txt](https://www.checklyhq.com/docs/ai/llms-txt.md)**
>
> A machine-readable index of every documentation page for crawling and indexing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.