Skeg
Open-source vector database and key-value store in Rust with disk-backed indexes, RESP3 and metadata filters, for macOS and Linux.
Working when we checked on .
What is Skeg?
Skeg is an open-source vector database that combines vector search with key-value storage and speaks RESP3, so it works from a Redis client. It targets developers running embeddings workloads, especially alongside a local model on one machine. Its disk-backed indexes use Vamana graph traversal over two-bit TQ2 quantized codes in memory, then rerank shortlisted full float32 vectors from SSD. It also supports metadata filters, tenant authentication with quotas, Prometheus metrics, and a Python client.
Skeg pricing
Pricing model: Free
Skeg pros
- Open source under Apache-2.0, written in Rust
- Disk-backed indexes keep full vectors on disk, leaving memory for a local model
- Usable from existing Redis clients over RESP3
- Metadata filters on vector searches via payload attributes
- Tenant authentication with per-tenant quotas
- Prometheus metrics and a local read-only web console (skeg-console)
Skeg cons
- Only macOS and Linux builds are available
- No pricing, hosting, or managed service plans are documented
- Requires self-installation and self-management (e.g. via Homebrew) with no cloud offering shown
Frequently asked questions about Skeg
What is Skeg?
Skeg is an open-source database that combines vector search and key-value storage. It is designed so the database and a local model can share the same machine, with full vectors kept on disk.
Can I use Skeg from a Redis client?
Yes. Skeg speaks RESP3, so supported key-value commands like SET can be run alongside Skeg's vector commands such as SKEG.VINDEX.CREATE, SKEG.VSET and SKEG.VSEARCH.
How does Skeg answer a vector query?
A disk index uses quantized TQ2 codes to walk a Vamana graph and shortlist candidates in memory, reads the original full float32 vectors from SSD, reranks them at full precision, and returns IDs, scores and payloads via RESP3.
Does Skeg support metadata filters on searches?
Yes. Vectors can carry payloads such as 'user=alice type=pdf ts=20240115', and SKEG.VSEARCH accepts a FILTER expression like 'user = alice AND ts >= 20240101' to restrict nearest-neighbor results.
Is there a Python client?
Yes. An importable skeg Python client supports connecting, creating a vindex with a chosen dimension and disk backend, setting vectors, and running vsearch queries.
What platforms does Skeg run on?
Skeg provides macOS and Linux builds, and can be installed on either platform via Homebrew (brew install skegdb/tap/skeg).
Does Skeg support multi-tenancy?
Yes. Skeg can run with tenant authentication and strict tenant scoping, with every connection scoped from the handshake, and quotas can be set per tenant via SKEG.QUOTA.SET.
How is Skeg licensed and what is it built with?
Skeg is open source under the Apache-2.0 license and is written in Rust. Its source is available on GitHub at github.com/skegdb/skeg.
Does Skeg offer observability?
Yes. Skeg exposes Prometheus metrics and ships skeg-console, a local read-only web console that reports traffic, index state, maintenance, shards, and per-operation latencies.
Can memory usage be limited?
Yes. The SKEG_MEMORY_LIMIT_BYTES environment variable can set an admission headroom budget, for example limiting resident memory to a fixed byte count.