> For the complete documentation index, see [llms.txt](https://help.swarmia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.swarmia.com/features/ai-tools/ai-readiness.md).

# AI readiness

See whether your repositories give AI agents the context and delivery pipeline they need to ship reliable work

Available at [AI tools → AI readiness](https://app.swarmia.com/ai/readiness)

AI coding agents are only as effective as the system they work in. They need two things from a repository:

* **Instructions**: configuration files such as `AGENTS.md` or `CLAUDE.md` that tell agents how to build, test, and navigate the codebase, and what "done" means.
* **A fast path to production**: agents open more pull requests than people do, so every change leans harder on your pipeline. When merged work waits hours to reach production, more AI-generated code only makes the queue longer.

AI readiness shows both for each active repository, so you can find the busy repositories where agents lack context or where changes are slow to ship.

## What you see

A repository is active when it has merged pull requests in the selected timeframe. The summary at the top shows how many repositories are active, how many have a configuration file for at least one AI tool, and how many have full coverage.

For each active repository, the table shows:

* **Time to deploy**: the time from merge to production deployment for pull requests deployed in the selected timeframe. Use the aggregate selector to switch between average, median, and percentiles, and the comparison selector to compare against the previous period or [Swarmia benchmarks](/definitions/dora-metrics/time-to-deploy.md#benchmarks).
* **Merged PRs**: pull requests merged in the selected timeframe. Use this to find the repositories where most work happens.
* **Coverage**: how many of the selected AI tools have a configuration file in the repository. Hover over the badge to see the breakdown per tool.
* **One column per AI tool**: hover over a configured tool to see the latest pull requests that updated its configuration files, or over an unconfigured one to see which files Swarmia looked for.

Filter the view by team, repository, and AI tool. When you select a team, merged PRs and time to deploy only include that team's pull requests.

## How to use it

1. **Start from the busiest repositories.** Merged PRs tells you where agent context pays off the most. A frequently changed repository without configuration files is the first gap to close.
2. **Check that instructions stay current.** Hover over a configured tool to see when its files were last updated. Instructions written once and never touched tend to drift from how the codebase works.
3. **Look at how fast changes reach production.** A long time to deploy in an active repository means AI-generated work piles up after merge. Use [CI visibility](/features/metrics/get-visibility-into-your-ci-pipeline.md) to find slow or failing workflows, and [DORA metrics](/features/metrics/track-dora-metrics.md) to follow delivery over time.

## Where does the data come from?

The view is based on merged pull requests and the file paths reported by GitHub or GitLab. Configuration files are detected from pull requests, over all history and not just the selected timeframe. A file committed directly to a branch without a pull request, or merged before Swarmia started syncing your data, isn't detected. A file stays detected even after it's deleted.

{% hint style="info" %}
Swarmia doesn't read your source code. Read more about [data access](/resources/security-and-data-retention/data-access.md).
{% endhint %}

The table only shows the AI tools enabled in your [AI tool settings](https://app.swarmia.com/settings/ai-assistants).

Time to deploy uses your [production deployments](/settings/organization/configuring-deployments-in-swarmia.md). A repository without production deployments in the timeframe shows no value. A pull request deployed to production several times counts once per deployment.

## Frequently asked questions

### Why is time to deploy missing for a repository?

The repository has no production deployments with linked pull requests in the selected timeframe. Check that [deployments are configured](/settings/organization/configuring-deployments-in-swarmia.md) for it. See [why time to deploy is 0 or missing](/definitions/dora-metrics/time-to-deploy.md#why-is-my-time-to-deploy-0-or-missing) for other common reasons.

### Why is a repository missing from the table?

Only repositories with merged pull requests in the selected timeframe appear. If you've selected a team, the pull requests must belong to that team.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.swarmia.com/features/ai-tools/ai-readiness.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
