Tether
DocsPricingContactGet started

Core concepts

Context and memory

Three different things get called "memory", and they behave nothing alike. Separating them is the difference between an assistant that feels continuous and one that leaks.

The three

Lives forScoped toWhere it comes from
Conversation history7 daysTenant + whoever is asking + sessionTurns you made
Durable preferencesUntil overwrittenTenant + whoever is askingExtracted from what people said
Retrieved knowledgeUntil you delete or replace itTenantDocuments you upload, and your website, read by Preview Mode

Tool results are not on this list. They exist for one turn, inside the model's context, and are never stored. Nothing is assembled before a turn either: see No pre-turn context.

Whose memory a turn uses

Every turn has one owner, and its history and preferences are keyed by that owner and nothing else:

Who is askingHow Tether knowsRemembered for
A verified customerA customer token your server signedThat customer, across every conversation
An unverified visitorNothing but the conversation Tether issued to themThat one conversation
A member of staffX-Tether-User-Id from your backend, with no customer tokenThat user, as before

A turn with both a customer token and X-Tether-User-Id is the customer's. What one guest says, "reply in English" included, never reaches another guest of the same business, verified or not. meta.explain.memory shows which owner a turn had, how many prior messages it loaded and which preference keys (see Chat).

Conversation history

Echo session_id and the thread continues. The last 10 messages within a 7-day window are replayed, scoped by tenant, owner and session — all of which must match.

A guest's conversation is continued only by the guest it was opened for. A customer's belongs to that customer, whether Tether issued the id or your host chose it: the first turn binds it, and a turn for anyone else naming it is refused. An unverified visitor's exists only if Tether issued it to an unverified turn (omit sessionId and use the session_id that comes back): an id Tether never issued is refused, because nothing else tells one anonymous visitor from another. A conversation never changes owner, so a visitor who signs in starts a new one. Refusals are 403 session_not_yours, before any history is read:

error.reasonThe turn named
other_customerAnother customer's conversation
customer_sessionA customer's conversation, without that customer's token
anonymous_sessionA conversation an unverified visitor opened, with a customer token
not_issuedA conversation Tether never issued, without a customer token

Staff turns are not bound: your backend may choose their ids, as before, because their history is keyed by the user id.

{ "prompt": "which one is oldest?", "sessionId": "0f2c8b41-…" }

The window is AI:Policy:HistoryWindowDays. The 10-message cap is not configurable; it is a token-budget decision, and a longer thread does not make answers better in proportion to what it costs on every subsequent turn.

Where the provider supports server-side conversation state, Tether also threads response_id so a turn sends only what is new. That is an optimization, not the source of truth — the replayed rows above are.

Durable preferences

A preference is a small, stable fact about how one person wants to be answered.

preferred_units    lbs
response_style     concise
default_scope      9

They are extracted from conversation, stored one row per tenant + owner + key (updates overwrite, never append), and injected into the system prompt on later turns. A remembered "reply in X" also decides the reply language: a verified customer's follows them into their next conversation, an unverified visitor's lasts for that conversation. A language is remembered only when the customer asked for it: with a request verb ("reply in English", "пишите по-русски", "ინგლისურად მიპასუხეთ", "inglisurad mipasuxet"), or a language with only a courtesy word ("По-английски, пожалуйста", "ინგლისურად, გთხოვთ", "in English please"), in English, Russian, Georgian and Georgian typed in Latin letters. A language the message declines is not the one asked for ("не по-русски, а по-английски" asks for English), and a message that asks for two languages, or for one or another, asks for none. The language a message is written in is never stored, and a stored language whose message asked for none is ignored.

Two thresholds govern them, both defaulting to 0.7:

SettingEffect
MinPreferencePersistConfidenceBelow this, an extracted preference is discarded rather than stored
MinPreferenceInjectConfidenceBelow this, a stored preference is not injected into the prompt

Extraction runs in two passes. A regex extractor is always on, is free, and covers the common phrasings. An optional LLM extractor (LlmPreferenceExtractionEnabled, off by default) adds one model call per turn and catches the rest. It cannot decide a language on its own: one it reports is kept only when the message itself asks for that language.

Extraction is best-effort by construction: a failure is logged and swallowed, because a memory subsystem must never take an answer down with it.

Retrieved knowledge

Documents you upload with POST /v1/knowledge, and the pages of your website Preview Mode reads, are chunked, embedded, and stored as pgvector rows. On a turn, the prompt is embedded once and the nearest chunks are retrieved by cosine similarity, with a bonus for shared words. When no embedding provider is configured, or the call fails, retrieval is by keyword alone, and it reads Georgian in both scripts: a question typed in Latin letters is searched in Georgian script, and a word matches its other case endings.

SettingDefaultNotes
KnowledgeRetrievalEnabledon in the shipped configurationRequires pgvector on the database
RetrievalTopK5Chunks per retrieval call
MinCosineSimilarity0.25Tuned low deliberately — real matches score 0.25–0.42 with the default embedding model
EmbeddingModeltext-embedding-3-small1536 dimensions, matching the column. Changing it means re-embedding everything
IngestionJobEnabledoffTurning it on starts paying embedding costs

Every chunk belongs to exactly one tenant and is never retrieved for another. There is no global knowledge shared by every tenant: a provider shares its documents by copying them into each business it creates.

Retrieval is what makes the assistant able to answer "how do I do X in your product", which no tool can answer. It is not a substitute for tools: a document says what is supposed to happen, and a tool says what did. A turn that draws on your documents is still offered every tool, and is never flagged preview; its meta.knowledge names the documents. A turn that draws on your website and calls no tool names its pages in meta.websiteSources (in the anonymous preview sandbox, meta.previewSources, with the preview flag), and the model is told what a website cannot show it: see what an answer looks like.

meta.knowledge is what lets you show a citation: it names the documents, not the chunks.

No pre-turn context

Tether assembles nothing about your business before a turn. Your records reach the model only through your tools, called during the turn, and your documents only through retrieval. Help text, policies and navigation notes belong in a knowledge document: there is no separate guide catalog.

A turn that is offered no tools (see A turn without tools) is told so: no records from your systems were looked up, answer from the conversation and your knowledge, and say what cannot be looked up here rather than state a figure. Every turn, with tools or without, is told that it may name a screen, button or path only when your knowledge states it, and never invent one. When a tool on the turn can list the records the customer asks about ("where in the app can I see my bookings?"), it offers to list them there instead of describing a screen or handing the question to a person; with nothing to go on, a navigation question is answered that there are no step-by-step instructions and that the customer can ask for a person. /v1/insights is told the same, but it has no conversation and retrieves no knowledge, so it can only say what it cannot look up.

What Tether stores, and what it never sees

Stored, per tenant: conversations, staged actions and their execution records, the spend ledger, request telemetry, extracted preferences, ingested knowledge chunks, the tool catalog, and audit rows.

No table for: your orders, customers, inventory, invoices — any business record. Tether has no schema for them, never receives a bulk copy, and cannot query your database. It reaches your data only by calling an endpoint you control.

The one public exception: when your website is a PrestaShop, Shopify or WooCommerce shop, the preview reads the items it lists for every visitor (names, categories, brands, listed prices, pictures) and keeps them so the assistant can search them. That is what any visitor's browser already sees, read without a credential; prices are shown as listed with the time they were checked, never as stock.

But "never stored" would be wrong, and used to be what this page said. Your business data passes through a turn, and parts of it are kept:

WhatWhereWhy it is kept
Conversation textChat historyThe next turn needs the previous ones
Tool argumentsStaged actionsAn approver cannot approve a write they cannot read
Execution resultsAction executionsThe record of what a confirmed write actually did
Extracted preferencesMemoryStated preferences, kept on purpose
Ingested knowledgeKnowledge chunksRetrieval needs something to retrieve

A staged refund names an order and an amount. A conversation about a customer contains that customer. So the honest answer to "what would a breach of Tether expose" is: conversations, the arguments of writes that were staged, the results of writes that ran, and anything a tool returned that was quoted back — not a copy of your database, and not nothing.

That distinction is the reason the service can be operated by someone other than you, and it is worth stating precisely rather than generously.

A turn without tools

{ "prompt": "…", "includeContext": false }

Offers no tools on that turn, so nothing of yours is read: the answer comes from the conversation and your knowledge documents, and the model is told no records were looked up. History, preferences and retrieval are governed by configuration rather than per request.