# Go Agent: How to use

## Go Agent Usage Modes

The Go Agent has two usage modes available:

* Coverage Listener Mode - Instrument your Application Under Test (AUT) code to collect coverage data during testing.
  * Also referred to: Running SeaLights on the "Application Side"
* Test Runner Mode - Instrument Go test frameworks to collect test execution details
  * Also referred to: Running SeaLights on the "Test Runner Side"

These modes work independently and can be used together to provide complete test intelligence.

Read More: [What are Agent "Usage Modes"?](/knowledgebase/setup-and-configuration/getting-started/what-are-agent-usage-modes.md)


---

# Agent Instructions: 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:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/go-agent/go-agent-v2/go-agent-how-to-use.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
