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 or newer
  • 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.5.0

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.5.0
File Size Uploaded Provenance Actions
seagoat-1.5.0.tar.gz 95.9 kB With provenance Details for seagoat-1.5.0.tar.gz

Built distributions (wheels)

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

Total release size: 2.5 MB

Release files / seagoat-1.5.0.tar.gz

Download URL seagoat-1.5.0.tar.gz
Size 95.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fb24efa0935243088da6d79be97e10af2d44f37d236e034a3d5d70564f2b451e
BLAKE2b-256 checksum
How to use checksums
67d467c132d90b911ef3dc71dfdeac234b7ed53c98156c01b0cfcb97d8bc1124
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 24, 2026.

Transparency log

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

Download URL seagoat-1.5.0-cp311-abi3-win_arm64.whl
Size 159.0 kB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
3e8f1377b5030f1f5ffac6dc28e88b15bd09a9830343859c29180f22da345851
BLAKE2b-256 checksum
How to use checksums
520ee397353510d7d320453719303192bb66b2de8333cf656004526ce969e90f
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 24, 2026.

Transparency log

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

Download URL seagoat-1.5.0-cp311-abi3-win_amd64.whl
Size 160.8 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a62f470496b13f25b6d2ede96e07ce6523fa87b176aaa44088e2f14b9d8b3d55
BLAKE2b-256 checksum
How to use checksums
2593ae82fcc799840f8674618622107566d6415a039000d39ef502030087cb71
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 24, 2026.

Transparency log

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

Download URL seagoat-1.5.0-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
59fd26da3eb1588c67d3524e0537b86cb6f04c0f975fe73f7be978de7ea7909f
BLAKE2b-256 checksum
How to use checksums
dd7f504b6873b971ef20729723549a0711877099a66b1d590ce37be409da094b
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 24, 2026.

Transparency log

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

Download URL seagoat-1.5.0-cp311-abi3-musllinux_1_2_aarch64.whl
Size 468.1 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
1d7dadb70d2d09492f62874d1c16db105e4d4eef97c06b5a95a084362d000022
BLAKE2b-256 checksum
How to use checksums
223416f58201028eaa9420271d79008c8fb1dadc9a96c7d09ed592a85d2af1d2
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 24, 2026.

Transparency log

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

Download URL seagoat-1.5.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 297.4 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
c3986dd4567dce0d0dd96e7d83a2c0730b2f5eb6ffd6216618a78fdf466459cf
BLAKE2b-256 checksum
How to use checksums
6621b62b9f8f6834f37280f96f21ef24764f679642b22ad640c7595ee0149c02
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 24, 2026.

Transparency log

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

Download URL seagoat-1.5.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 290.6 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
c2a089dbd90e4dc4180ea6e68f217bb1a61b82df0e83906300fc22c67d85e367
BLAKE2b-256 checksum
How to use checksums
82785432db5c2104fb2c158a9576cd0fe5f0ed6114310abdaea62b6db40327a0
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 24, 2026.

Transparency log

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

Download URL seagoat-1.5.0-cp311-abi3-macosx_11_0_arm64.whl
Size 257.0 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
338e8904b361364f240a4f414a1f44eff366356e929f131dcc6b1a4cae917bd5
BLAKE2b-256 checksum
How to use checksums
19251276ec65f86691ae9e261d21d3c4b321b0aa7cc691cdbfbd547bb189536a
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 24, 2026.

Transparency log

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

Download URL seagoat-1.5.0-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
889bf6343a8ab43cbc5647217819d7f5cf6cd5864d2db0fb8dc285ff484bcfe6
BLAKE2b-256 checksum
How to use checksums
8353ed1adc7a36583d68d64947ed2beba28a3154380096b02dd941adc2dd14b7
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 24, 2026.

Transparency log

Security for seagoat 1.5.0

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.5.0.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 24, 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.5.0 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