SKEG · CONCEPTS

Clients and integrations

Choose a client, embedding integration or operator tool for your application.

Skeg 0.8 · Development documentation

Choose a client by the operations your application needs. RESP is the main application interface for authentication, payloads and filtered vector search. The native wire has a separate, smaller surface; see protocol compatibility.

Application clients

ProjectUse it for
Python (skeg)Synchronous clients. skeg.connect() negotiates RESP3 and accepts login credentials. skeg.client() uses the native wire.
Rust (skeg-client)Asynchronous clients. Use resp::Client for RESP3 or SkegClient for the native wire.
GleamA client for BEAM applications; check its guide for protocol and command coverage.

You can also use a RESP client to send the documented command subset directly. The quickstart provides examples for the Skeg CLI and the official Python and Rust clients. For an example using Python’s redis package directly, follow your first search. Check the Redis command and authentication compatibility before reusing a Redis client configuration.

Embeddings and retrieval

For a complete example using Ollama’s HTTP API and a RESP client directly, follow search text with local embeddings. Use the adapters below when you want their integration interfaces.

ProjectUse it for
Ollama integrationGenerate local embeddings and store and retrieve documents through OllamaEmbedder and OllamaRetriever.
LlamaIndex integrationConnect SkegVectorStore to an indexing and retrieval pipeline.

Choose an embedding model and match its output dimension to the index. Use the same model and preprocessing when indexing and querying. Check the adapter’s documentation for the SDK version it requires and the backends, persistence options and filters it supports.

Operator tools

skeg-cli provides store inspection, server statistics, account management and backup commands. The CLI and server have separate versions. Check skeg-cli --version and the CLI’s command help before following the backup and restore procedure.

Load existing vectors

If you have vectors in a .npy or .fbin file and want a new Skeg store, use skeg-cli build. To write vectors into an index on a running server, follow batch ingestion. For an existing Skeg 0.7 store, follow the upgrade guide, which covers conversion and verification of the destination store.

Ingestion and network adapters

  • skeg-rigging defines TenantWrite and Embed interfaces for ingestion and federation pipelines, with a local Skeg backend. Its ingestion crate walks files, chunks text, embeds through Ollama and writes through a TenantWrite implementation.
  • skeg-rigging-net supplies network adapters for remote access. Select the adapter matching the service you run; an HTTP adapter does not add an HTTP listener to the Skeg server.

Follow each project’s setup and compatibility instructions. Installing an integration does not install its embedding model or start a Skeg server.