Skip to main content

Telys — public, thin SDK for embedded on-device memory & retrieval (in-process, zero cloud roundtrips)

Project description

telys

Public, thin SDK for Telys — embedded, on-device memory & retrieval. In-process, zero cloud roundtrips at query time.

This package contains only the developer-facing surface: the Telys/Collection facades, query/filter types, the EmbeddingProvider interface, the Tuner/TuningPlan interfaces, a runtime loader, and the telys CLI. It contains no engine implementation — the engine is a separate, closed, signed, on-device runtime fetched by telys runtime install (see DECISIONS D-30).

Install

As a CLI (recommended — isolated env, on your PATH, not pinned to one Python):

pipx install telys
# …or the one-liner (installs via pipx):
curl -fsSL https://telys.ai/install.sh | sh

telys login          # sign in → free device license + signed runtime; fully offline thereafter

As a library (to import telys in your own project):

python -m venv .venv && . .venv/bin/activate
pip install telys

Plain pip install --user telys works too, but pip may warn that its user-scripts dir isn't on your PATH (a macOS --user quirk) — pipx avoids that entirely. Runtime platforms: macOS arm64, Linux x86_64/arm64 (Windows: run under WSL2).

from telys import Telys
db = Telys("./memory")
col = db.create_collection("docs", dim=768, partition_by="tenant_id")
col.add(vectors, ids=ids, metadata=metadata)          # bring your own vectors (embedding-agnostic)
hits = col.search(qvec, where={"tenant_id": "acme"}, top_k=10, explain=True)

The runtime is required for execution; the embedder is optionalcol.add(vectors, …) and col.add_texts(…) both need the runtime, but only *_texts needs an embedder (bring your own via telys.embedding.CallableEmbedder, or use the on-device bigram embedder).

For local development, install the runtime as a package instead of via the CLI:

pip install "telys[runtime]"   # or: pip install telys-runtime

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telys-0.1.0b1.tar.gz (51.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telys-0.1.0b1-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

Details for the file telys-0.1.0b1.tar.gz.

File metadata

  • Download URL: telys-0.1.0b1.tar.gz
  • Upload date:
  • Size: 51.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for telys-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 7f8b204eb4403b5ce6d99792693e703f9a607338cd20eb27f9d2b1b5a2813519
MD5 baff71d79bfe8c1bbc234146c5c19c1f
BLAKE2b-256 23668147c239d3622a54fc432851de8daa759d2be8a74951831992e6d77c7caa

See more details on using hashes here.

File details

Details for the file telys-0.1.0b1-py3-none-any.whl.

File metadata

  • Download URL: telys-0.1.0b1-py3-none-any.whl
  • Upload date:
  • Size: 61.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for telys-0.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 9599e9fb60dd775b05c16401e83286d4921fed34618faade40ed7952fce741ad
MD5 3a4769084c4d5f8e1bea3e0ed1fa5a56
BLAKE2b-256 4b8ce4296ed5a337f32198c3fcbefd293078468022ff09813384c434e9faf177

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page