> 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/swarmia-ai.md).

# Swarmia AI

Ask questions about engineering data and turn answers into charts and reports.

Swarmia AI lets you ask questions about engineering data in plain language. It combines delivery performance, AI usage, survey feedback, and initiatives into answers, charts, and reports.

You can continue the conversation, refine a result, or open it in [Explore](https://help.swarmia.com/features/metrics/explore) to edit and save it.

### Getting started

Start a conversation in either place:

1. Select **Swarmia AI** in the main navigation.
2. Select **Ask Swarmia AI** in any view.

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2FyeWjAVs0lJwLfk94SEBv%2Fimage.png?alt=media&amp;token=ef95df04-5810-4ce6-ae7f-e197314fcb8f" alt=""><figcaption></figcaption></figure>

Starting from a view includes its context automatically. This helps you ask targeted questions about the data in front of you.

### Asking questions

Ask in plain language. Include a team, time range, metric, or comparison when it matters.

Try prompts like these:

* “Give me a daily digest of team metrics. Highlight meaningful changes.”
* “Visualize PR cycle time by team for the last quarter.”
* “Show DORA metrics for the last 30 days. Compare them with the prior period.”
* “What are our current delivery bottlenecks? What should we fix first?”
* “How is AI affecting test coverage? Suggest improvements.”
* “Summarize our latest survey results. Where should we improve most?”

Find tested prompts for every role in the [prompt library](/guides/prompt-library.md).

Swarmia AI analyzes quantitative metrics and qualitative feedback, including survey comments. It can also use the [Build book](https://www.swarmia.com/build/) to suggest next steps.

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2FtroYO9zOGNocAf8ug7R1%2Fai-chat-example.png?alt=media&amp;token=49dcb236-7b8a-4fb2-8f83-9a22fb372263" alt=""><figcaption></figcaption></figure>

### Response format and follow-ups

Responses can include:

* **Summaries** — plain-language analysis and recommendations
* **Tables** — breakdowns by team, person, time period, or metric
* **Charts** — visualized trends and comparisons

Refine any response. You can:

* Ask a follow-up question.
* Request a breakdown by team, author, or time period.
* Add or remove data from a chart.
* Open the result in **Explore** to adjust, save, and revisit it.

Swarmia AI responds quickly by default. Increase the reasoning level for deeper analysis. This may take longer.

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2FsJMMmat8ZSLKcQ5nqCq5%2Fmodes.png?alt=media&amp;token=d54f0a37-7f19-4193-a897-a1fbd59598a2" alt=""><figcaption></figcaption></figure>

### Saving results

Open any table or chart in [Explore](https://www.swarmia.com/changelog/2026-04-02-explore-view). You can adjust it with AI and save it as a custom report.

### Taking action

Swarmia AI can make selected changes for you. Ask in plain language when you know what to do next.

It prepares the change, asks for missing details, and shows a preview. Nothing changes until you confirm. Afterward, it shows the affected objects. You can inspect or undo the result where available.

Actions use your existing permissions. Swarmia AI cannot perform actions you cannot perform yourself. Learn more about [Roles and permissions](/settings/organization/managing-users-and-roles.md).

<figure><img src="https://2772466312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMa8uBmGhQgR7MTPq9yh7%2Fuploads%2F6UF8AyzHeZpNzL3l8TIv%2Fimage.png?alt=media&amp;token=77f21bb4-0ace-4794-bfaf-99935e524a4c" alt=""><figcaption></figcaption></figure>

#### Available actions

* **Save a key metric.** Ask Swarmia AI to save a useful metric as a [Key metrics](/features/metrics/key-metrics.md).
* **Set up a working agreement.** Ask it to “Set up [Working agreements](/features/working-agreements.md) eg: for unlinked PRs.” Swarmia AI gathers the required limits, previews the agreement, and applies it after confirmation. Notifications are included with the agreements.
* **Create a custom PR view.** Ask "Create a [PR inbox](/features/managing-pull-requests-in-progress-with-the-pull-request-view.md) view for PRs in the payments repository, PRs with a certain label, and more." Swarmia AI proposes a name, icon, and filters, previews the matching PRs, and saves the view after you confirm.
* **Set up** [Initiatives](/features/focus/deliver-strategic-initiatives.md)**:** Ask "Create an initiative for every Story with ‘billing API’ in the name." Swarmia AI suggests a name and scope, shows you a preview, and creates it after you confirm.
* **Filter or sort a view.** Ask “Show only PRs from the Ballmer team.” Swarmia AI creates a new Explore view. Your current view stays unchanged.
* **Add an annotation.** Ask Swarmia AI to explain a pull request, issue, or signal. It drafts [Notes](/features/notes.md) for you to accept, edit, or reject. AI-written annotations are marked as such.

#### What's not supported

Swarmia AI cannot change organization-wide settings or rewrite historical data.

### Appropriate use and limitations

Results depend on your available data. Missing or inconsistent data can affect accuracy.

Swarmia AI identifies patterns in engineering activity. It does not measure individual productivity, performance, or competence. Its outputs can be incomplete or incorrect.

Activity counts vary by project type, review load, batch size, and role. They do not show the quality or amount of an individual's contribution.

Do not use outputs for individual decisions. This includes performance reviews, compensation, promotion, discipline, or termination. Use Swarmia AI for team and system insights. Apply judgment with full context.

Every insight is backed by an explicit data query. Select **Explore** to inspect the query, adjust it, and rerun it.

### Sharing feedback

Rate each response with 👍 or 👎. For more detailed feedback, reach out to your customer success manager or email <hello@swarmia.com>.

To ask the same questions from Claude, Cursor, or another compatible client, connect the [MCP server](/settings/integrations/mcp-server.md)


---

# 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/swarmia-ai.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.
