For the complete documentation index, see llms.txt. This page is also available as Markdown.

Downloading The Go Agent

Agent Files

To integrate SeaLigts with your Golang project, you will need two different agent files: the slgoagent and the slcli.

Depending on your OS, the SeaLights Go Agent files can be downloaded from:

  • https://${DOMAIN}/slgoagent/latest/slgoagent-${OS_ARCH}.tar.gz

  • https://${DOMAIN}/slcli/latest/slcli-${OS_ARCH}.tar.gz

Where OS_ARCH is one of: darwin-amd64, darwin-arm64, linux-amd64, linux-arm64, and DOMAIN can be our generic endpoint (agents.sealights.co) or your specific account domain endpoint (<your_custom_domain>.sealights.co/agents).

For your convenience, please find direct links to the agents in a single table

Download a token from the SeaLights dashboard and place the sltoken.txt file in the working directory. See 'Generating an Agent token' for instructions on how to generate a token.

Sample script

Downloading the latest version

echo "[Sealights] Downloading Sealights Golang & CLI Agents..
wget -nv -O sealights-slcli.tar.gz https://agents.sealights.co/slcli/latest/slcli-linux-amd64.tar.gz

tar -xzf ./sealights-go-agent.tar.gz && tar -xzf ./sealights-slcli.tar.gz 
rm -f ./sealights-go-agent.tar.gz ./sealights-slcli.tar.gz 
./slgoagent -v 2> /dev/null | grep version && ./slcli -v 2> /dev/null | grep version

Downloading a specific version

Replace “latest” with the desired version when downloading a specific version. Please note the format of the specific version URL that includes the v prefix.

Last updated

Was this helpful?