# Go Agent

The SeaLights Go agent supports:

* **Go SDK**: version **1.16 and above**
* **Go generics**: fully supported from **Go SDK v1.18** onward

To provide coverage data, the agent performs **automatic static instrumentation** with **zero third-party dependencies**. This applies to both **standalone Go applications** and **AWS Lambda functions** (via SeaLights' Collector support).

Go does not support dynamic runtime instrumentation. Therefore, SeaLights uses **build-time static instrumentation**. This process prepends a lightweight registration call at the beginning of each method to track its execution during test runs. The method’s original logic remains untouched. In effect, this achieves the same outcome as dynamic agents in other languages like Java or .NET — it simply occurs earlier in the development lifecycle.

<figure><img src="/files/ssIZL8KQh8BeFxo6TQuu" alt=""><figcaption></figcaption></figure>


---

# 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.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.
