> For the complete documentation index, see [llms.txt](https://docs.telys.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.telys.ai/readme.md). Agents can also search and read this documentation through its [MCP server](https://docs.telys.ai/~gitbook/mcp).

# Overview

The on-device, offline-first vector-memory engine — a thin Python SDK over a signed native runtime. Install, sign in, and build your first collection here.

Telys is an on-device, offline-first vector-memory engine. The open `telys` Python SDK drives a closed, signed native runtime. Collections, embeddings, and search run on the machine that imports the SDK — nothing is sent to a server to store or query your data.

The SDK defines the API, verifies release signatures and licenses, and loads the runtime lazily through `ctypes`. The runtime — vector store, IVF index, and embedding kernels — is provisioned once with `telys login`, verified offline against embedded public keys, then runs with no network access.

Use Telys for durable semantic memory you control: coding assistants that remember a repository, chat apps that recall past conversations, and RAG pipelines that keep their index and embeddings on the user's hardware. Current version: **0.1.15**.

{% hint style="info" %}
New to Telys? Install the SDK, sign in and activate a license, then walk the **Quickstart** to create your first collection and run a search.
{% endhint %}

## Start here

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Install</strong></td><td>Install the SDK with pipx or pip on Python 3.10+.</td><td><a href="https://docs.telys.ai/start-here/install.md">Install</a></td></tr><tr><td><strong>Sign in</strong></td><td>Run <code>telys login</code> and provision the signed runtime.</td><td><a href="https://docs.telys.ai/start-here/sign-in.md">Sign in</a></td></tr><tr><td><strong>First collection</strong></td><td>Create a collection, add text, and search it end to end.</td><td><a href="https://docs.telys.ai/quickstarts/quickstart-first-collection.md">First collection</a></td></tr><tr><td><strong>Verify install</strong></td><td>Confirm the runtime is ready and its signature is valid.</td><td><a href="https://docs.telys.ai/start-here/verify-install.md">Verify install</a></td></tr></tbody></table>

## Understand Telys

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>How it works</strong></td><td>The thin SDK, the signed runtime, and how they load.</td><td><a href="https://docs.telys.ai/understand-telys/how-telys-works.md">How it works</a></td></tr><tr><td><strong>Collections</strong></td><td>The core concept — what a collection stores and how.</td><td><a href="https://docs.telys.ai/understand-telys/collections.md">Collections</a></td></tr><tr><td><strong>On-device &#x26; offline</strong></td><td>Why your data and embeddings never leave the machine.</td><td><a href="https://docs.telys.ai/understand-telys/on-device-offline.md">On-device &amp; offline</a></td></tr></tbody></table>

## Build

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>SDK guides</strong></td><td>Create collections, add and upsert, search, filter, tune.</td><td><a href="https://docs.telys.ai/working-with-data/create-a-collection.md">Create a collection</a></td></tr><tr><td><strong>MCP</strong></td><td>Give Claude, Cursor, or Codex a memory over 19 tools.</td><td><a href="https://docs.telys.ai/mcp/overview.md">Overview</a></td></tr><tr><td><strong>Self-hosting</strong></td><td>Run a Telys server and connect with RemoteTelys.</td><td><a href="https://docs.telys.ai/self-hosting/overview.md">Overview</a></td></tr></tbody></table>

## Reference

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>SDK API index</strong></td><td>Every public class and method on the shipped surface.</td><td><a href="https://docs.telys.ai/reference/sdk-api-index.md">SDK API index</a></td></tr></tbody></table>

## Install and run your first search

Install the SDK and provision the runtime, then store and query memory locally.

```bash
pipx install telys          # or: pip install telys
telys login                 # device-code sign-in; verifies and installs the runtime
```

Create a collection, add documents, and search — all on-device. The embedder runs in the native kernel that `telys login` installed.

```python
from telys import Telys
from telys.embedding import AlgentaMultigramEmbedder

db = Telys("./memory")
emb = AlgentaMultigramEmbedder()
col = db.create_collection(
    "notes",
    dim=emb.profile.dimension,        # kernel-sourced multigram dimension
    partition_by="scope",
    embedder=emb,
)

col.add_texts(
    texts=["Telys runs entirely on-device.", "Vectors never leave the machine."],
    ids=["n1", "n2"],
    metadata=[{"scope": "demo"}, {"scope": "demo"}],
)
col.save()                           # commit the collection to disk

hits = col.search_text("where does my data live?", top_k=2)
print(hits["ids"])                   # ['n2', 'n1']
```

{% hint style="success" %}
`create_collection` builds and caches the collection in memory; `col.save()` is the commit point that writes it to disk. `db.collections()` lists only saved collections.
{% endhint %}

Next: [**Install Telys**](https://docs.telys.ai/start-here/install.md), then build end to end in the [**Quickstart**](https://docs.telys.ai/quickstarts/quickstart-first-collection.md).
