Skip to main content

Logo SeaGOAT

A code search engine for the AI age. SeaGOAT is a local search tool that leverages vector embeddings to enable you to search your codebase semantically.

Getting started

Install SeaGOAT

In order to install SeaGOAT, you need to have the following dependencies already installed on your computer:

  • Python 3.11 to 3.14
  • ripgrep
  • bat (optional, highly recommended)

When bat is installed, it is used to display results as long as color is enabled. When SeaGOAT is used as part of a pipeline, a grep-line output format is used. When color is enabled, but bat is not installed, SeaGOAT will highlight the output using pygments. Using bat is recommended.

To install SeaGOAT using pipx, use the following command:

pipx install seagoat

System requirements

Hardware

Should work on any decent laptop.

Operating system

SeaGOAT is designed to work on Linux (tested ✅), macOS (partly tested, help 🙏) and Windows (help needed 🙏).

Start SeaGOAT server

In order to use SeaGOAT in your project, you have to start the SeaGOAT server using the following command:

seagoat-server start /path/to/your/repo

Search your repository

If you have the server running, you can simply use the gt or seagoat command to query your repository. For example:

gt "Where are the numbers rounded"

You can also use Regular Expressions in your queries, for example

gt "function calc_.* that deals with taxes"

Stopping the server

You can stop the running server using the following command:

seagoat-server stop /path/to/your/repo

Configuring SeaGOAT

SeaGOAT can be tailored to your needs through YAML configuration files, either globally or project-specifically with a .seagoat.yml file. For instance:

# .seagoat.yml

server:
  port: 31134  # Specify server port

Generative search providers

The --generative flag uses an LLM to enhance search results. By default it uses a local Ollama server, but you can configure a cloud provider instead. Cloud providers send your code snippets to a third party, so they are opt-in. This setting is only read from the global config file, never from a repository's .seagoat.yml:

# global config file — use MiniMax as the generative provider
generative:
  provider: minimax        # ollama | openai | minimax
  model: MiniMax-M2.5      # optional, provider-specific default used otherwise
Provider Default model API key env var Base URL
ollama (default) deepseek-r1:8b — local
openai gpt-4o-mini OPENAI_API_KEY https://api.openai.com/v1
minimax MiniMax-M2.5 MINIMAX_API_KEY https://api.minimax.io/v1

If no provider is configured, SeaGOAT uses Ollama. API keys are read from the environment variables above; prefer them over putting apiKey in the config file.

Check out the documentation for more details!

Development

Requirements:

Install dependencies

After cloning the repository, install dependencies using the following command:

uv sync

Running tests

uv run ptw .

Test changed files

uv run pytest .  --testmon

Test all files

uv run pytest .

Manual testing

You can test any SeaGOAT command manually in your local development environment. For example to test the development version of the seagoat-server command, you can run:

uv run seagoat-server start ~/path/an/example/repository

FAQ

The points in this FAQ are indications of how SeaGOAT works, but are not a legal contract. SeaGOAT is licensed under an open source license and if you are in doubt about the privacy/safety/etc implications of SeaGOAT, you are welcome to examine the source code, raise your concerns, or create a pull request to fix a problem.

How does SeaGOAT work? Does it send my data to ChatGPT?

SeaGOAT does not rely on 3rd party APIs or any remote APIs and executes all functionality locally using the SeaGOAT server that you are able to run on your own machine.

Instead of relying on APIs or "connecting to ChatGPT", it uses the vector database called ChromaDB, with a local vector embedding engine and telemetry disabled by default.

Apart from that, SeaGOAT also uses ripgrep, a regular-expression based code search engine in order to provider regular expression/keyword based matches in addition to the "AI-based" matches.

While the current version of SeaGOAT does not send your data to remote servers, it might be possible that in the future there will be optional features that do so, if any further improvement can be gained from that.

Why does SeaGOAT need a server?

SeaGOAT needs a server in order to provide a speedy response. SeaGOAT heavily relies on vector embeddings and vector databases, which at the moment cannot be replace with an architecture that processes files on the fly.

It's worth noting that you are able to run SeaGOAT server entirely locally, and it works even if you don't have an internet connection. This use case does not require you to share data with a remote server, you are able to use your own SeaGOAT server locally, albeit it's also possible to run a SeaGOAT server and allow other computers to connect to it, if you so wish.

Does SeaGOAT create AI-derived work? Is SeaGOAT ethical?

If you are concerned about the ethical implications of using AI tools keep in mind that SeaGOAT is not a code generator but a code search engine, therefore it does not create AI derived work.

That being said, a language model is being used to generate vector embeddings. At the moment SeaGOAT uses ChromaDB's default model for calculating vector embeddings, and I am not aware of this being an ethical concern.

What programming languages are supported?

Currently SeaGOAT is hard coded to only process files in the following formats:

  • Text Files (*.txt)
  • Markdown (*.md)
  • Python (*.py)
  • C (*.c, *.h)
  • C++ (*.cpp, *.cc, *.cxx, *.hpp)
  • TypeScript (*.ts, *.tsx)
  • JavaScript (*.js, *.jsx)
  • HTML (*.html)
  • Go (*.go)
  • Java (*.java)
  • PHP (*.php)
  • Ruby (*.rb)

Why is SeaGOAT processing files so slowly while barely using my CPU?

Since processing files for large repositories can take a long time, SeaGOAT is designed to allow you to use your computer while processing files. It is an intentional design choice to avoid blocking/slowing down your computer.

This design decision does not affect the performance of queries.

By the way, you are able to use SeaGOAT to query your repository while it's processing your files! When you make a query, and the files are not processed yet, you will receive a warning with an estimation of the accuracy of your results. Also, regular expression/full text search based results will be displayed from the very beginning!

What character encodings are supported?

The preferred character encoding is UTF-8. Most other character encodings should also work. Only text files are supported, SeaGOAT ignores binary files.

Where does SeaGOAT store it's database/cache?

Where SeaGOAT stores databases and cache depends on your operating system. For your convenience, you can use the seagoat-server server-info command to find out where these files are stored on your system.

Can I host SeaGOAT server on a different computer?

Yes, if you would like to use SeaGOAT without having to run the server on the same computer, you can simply self-host SeaGOAT server on a different computer or in the cloud, and configure the seagoat/gt command to connect to this remote server through the internet.

By default the server only accepts connections from the same computer. To accept remote connections, set host: 0.0.0.0 under server in the global configuration file of the computer running the server.

Keep in mind that SeaGOAT itself does not enforce any security as it is primarily designed to run locally. If you have private code that you do not wish to leak, you will have to make sure that only trusted people have access to the SeaGOAT server. This could be done by making it only available through a VPN that only your teammates can access.

Can I ignore files/directories?

SeaGOAT already ignores all files/directories ignored in your .gitignore. If you wish to ignore additional files but keep them in git, you can use the ignorePatterns attribute from the server configuration. Learn more

Metadata

Release files for seagoat 1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seagoat 1.6.1
File Size Uploaded Provenance Actions
seagoat-1.6.1.tar.gz 96.1 kB With provenance Details for seagoat-1.6.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for seagoat 1.6.1
File Actions
seagoat-1.6.1-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details for seagoat-1.6.1-cp311-abi3-win_arm64.whl
seagoat-1.6.1-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for seagoat-1.6.1-cp311-abi3-win_amd64.whl
seagoat-1.6.1-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for seagoat-1.6.1-cp311-abi3-musllinux_1_2_x86_64.whl
seagoat-1.6.1-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for seagoat-1.6.1-cp311-abi3-musllinux_1_2_aarch64.whl
seagoat-1.6.1-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for seagoat-1.6.1-cp311-abi3-manylinux_2_28_x86_64.whl
seagoat-1.6.1-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for seagoat-1.6.1-cp311-abi3-manylinux_2_28_aarch64.whl
seagoat-1.6.1-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for seagoat-1.6.1-cp311-abi3-macosx_11_0_arm64.whl
seagoat-1.6.1-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for seagoat-1.6.1-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 2.5 MB

Release files / seagoat-1.6.1.tar.gz

Download URL seagoat-1.6.1.tar.gz
Size 96.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b4309a11607f03596c2b35f7e95ed9beb1d805ca4193a7fc3809fec82e482be0
BLAKE2b-256 checksum
How to use checksums
d333eb94e7df75a7a9871e2dc8969fd9814f0f1c5772ecbf2bcfee98db2954e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / seagoat-1.6.1-cp311-abi3-win_arm64.whl

Download URL seagoat-1.6.1-cp311-abi3-win_arm64.whl
Size 158.9 kB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
403549bc8c33af4cffb31ddffa0f2b1e1612cc1f67f1d59e88b63ca84ec9f409
BLAKE2b-256 checksum
How to use checksums
a63563ad0ddf95f2b27641bc0ed51cc9f6ae85366fd16ae49c5c9b21955b46f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / seagoat-1.6.1-cp311-abi3-win_amd64.whl

Download URL seagoat-1.6.1-cp311-abi3-win_amd64.whl
Size 160.7 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
fd5ed1c92ab14670a8ba273ac92519f91c4e8c624e2344f1c79f0dc13d50f530
BLAKE2b-256 checksum
How to use checksums
cfb84952e4fc4a4ed0142d0352417c2100fb2f38a240098e058a478331d94e80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / seagoat-1.6.1-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL seagoat-1.6.1-cp311-abi3-musllinux_1_2_x86_64.whl
Size 497.8 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
376830334094adf1754c2544e9adabba711b0932292e8fc841ab18505a4aec41
BLAKE2b-256 checksum
How to use checksums
58d7b5d786c19c7f887cc842aedf56670ae724d5dc7e04b2fc7433f18d6b400e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / seagoat-1.6.1-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL seagoat-1.6.1-cp311-abi3-musllinux_1_2_aarch64.whl
Size 468.0 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
81625132f3102c7d37e2c257736a150da241d7b64eb940b7dbf5b996514778e0
BLAKE2b-256 checksum
How to use checksums
4be2d401da84a76119b1aa7d5d094df4687c2f05d6dab52be033142c0b6a0331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / seagoat-1.6.1-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL seagoat-1.6.1-cp311-abi3-manylinux_2_28_x86_64.whl
Size 297.3 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9973e28c4b4de76d14183cbf6eb1290a2cfbc82dd7c98dba47df03284a16fe79
BLAKE2b-256 checksum
How to use checksums
334c2760946e0f1c9ae38af53adb7a873a6175e6150335a7b6c05a80f50897b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / seagoat-1.6.1-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL seagoat-1.6.1-cp311-abi3-manylinux_2_28_aarch64.whl
Size 290.5 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
09ffbbd45f67a211af3c054d4b14128966873354f8c8055f25260bd236735d89
BLAKE2b-256 checksum
How to use checksums
77b8ed664943afc1c0eec18545cdd5b14d9e9b8199aeb187faa19e7aa5c5596a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / seagoat-1.6.1-cp311-abi3-macosx_11_0_arm64.whl

Download URL seagoat-1.6.1-cp311-abi3-macosx_11_0_arm64.whl
Size 256.9 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5304086eb2ec75efb309c176ee9387e5f22471444328b6bef489d374cd22ee24
BLAKE2b-256 checksum
How to use checksums
3935c5959763979decb14ef8e94690a39cb440e21934d47d1693f8463962d91c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / seagoat-1.6.1-cp311-abi3-macosx_10_12_x86_64.whl

Download URL seagoat-1.6.1-cp311-abi3-macosx_10_12_x86_64.whl
Size 264.1 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d9fe2ad67c680a879ae245350ed5c7369d2a4f7406d3b338460d99e4514facfb
BLAKE2b-256 checksum
How to use checksums
83a429a9dd723723ffd1a155c96a55ced9d771f29eaa1c95702fa526464be4c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for seagoat 1.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for seagoat-1.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.6.1 This release

9 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page