> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/c++-agent.md).

# C++ Agent

### What is the C++ Agent? <a href="#what-is-the-go-agent" id="what-is-the-go-agent"></a>

The SeaLights C++ Agent provides code coverage and test intelligence for C++ applications and services. It integrates directly into your C++ build process to collect comprehensive coverage data during testing and deployment.

#### When/why to use this agent <a href="#when-why-to-use-this-agent" id="when-why-to-use-this-agent"></a>

Use the C++ Agent when working with C++ applications or C++ test frameworks. You need to match the agent to the language of your Application Under Test or test runner:

* C++ applications → Use C++ Agent in Coverage Listener Mode
* C++ test frameworks → Use C++ Agent in Test Runner Mode

### Supported environments/frameworks

#### OS:

* Ubuntu 20.04 and newer
* Debian 11 and newer
* Compatible Linux distributions

#### Architectures:

* x64 (64 bit Intel/AMD)
* x86 (32 bit Intel/AMD)
* ARM64
* ARMv7 (32 bit ARM)

#### Compilers:

* GCC/G++ - versions 9.4 through 13.3
* Clang - versions 20 through 21

#### Test Frameworks:

* Google Test (Gtest) - versions 14, 15, 16

#### Standard Library Dependencies

The SeaLights C++ Agent depends on specific versions of standard runtime libraries. Ensure your system provides the following minimum versions:

| Architecture | Library | Minimum Version |
| ------------ | ------- | --------------- |
| x64          | GLIBCXX | v3.4.28         |
| x64          | GLIBC   | v2.31           |
| ARMv7        | GLIBCXX | v3.4.29         |
| ARMv7        | GLIBC   | v2.34           |

The agent is also compatible with environments using **MUSL** (1.2.3 - 1.2.5).

> Ensure that the runtime libraries available on your system meet or exceed these versions. Older versions may cause the tracer library to fail to load.

{% hint style="info" %}
**Windows / MSVC support (Beta)**

A Windows-native C++ agent for Visual Studio 2017–2026 (MSVC) builds is available as a beta release. It uses a different integration model (MSBuild injection rather than compiler flags) and produces its own parameter reference and workflow documentation.

See C++ Agent for Windows (Beta) to get started.
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/c++-agent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
