Portable context layer for T-shaped AI-native users. Single-file encrypted SQLite vault served over MCP.
Project description
Tessera — Portable context for AI tools
A local-first context layer for agents and AI tools. Tessera stores durable user and project context in an encrypted SQLite vault, exposes it through a scoped MCP surface, and retrieves cross-facet bundles with hybrid search, rerank, SWCR, and token budgeting.
Open source. Local-first. Apache 2.0.
Status
Tessera is a developer preview, not a general release. The repo contains the packaged Python CLI, encrypted vault, daemon, HTTP MCP endpoint, stdio bridge, connector writers, retrieval pipeline, and test suite. v0.1 remains gated on clean-VM install and an external-user demo. See docs/release-spec.md for the release bar.
Install from source during the preview:
uv sync --dev
uv run tessera --help
Core local flow:
uv run tessera init --vault ~/.tessera/vault.db
uv run tessera daemon start --vault ~/.tessera/vault.db
uv run tessera connect claude-code --vault ~/.tessera/vault.db
ChatGPT Developer Mode is deferred to v0.1.x because the current ChatGPT flow requires HTTPS/OAuth/canonical HTTP MCP compatibility that Tessera v0.1 does not yet ship.
What is Tessera
A local daemon owns a single-file SQLite vault that holds five v0.1 context facets:
identity— stable user factspreference— behavioral rules and tool preferencesworkflow— repeated proceduresproject— active work contextstyle— writing voice samples
MCP-capable tools connect with scoped capability tokens and call six tools: capture, recall, show, list_facets, stats, and forget. A bare recall searches every facet type the token can read, then returns a budgeted cross-facet bundle.
The lead user is the AI-native developer who wants durable context across Claude Code, Claude Desktop, Cursor, Codex, local model workflows, and custom harnesses without handing memory to a hosted service.
Where to read, by role
| If you want to | Read |
|---|---|
| Pitch to a colleague or evaluate whether this is interesting | docs/pitch.md |
| Understand the market position, category claim, and trade-offs | docs/system-overview.md |
| Understand the architecture, schema, retrieval pipeline, encryption | docs/system-design.md |
| Understand the SWCR retrieval algorithm and its ablation bar | docs/swcr-spec.md |
| Understand the security model and threat analysis | docs/threat-model.md |
| Understand how migrations are safe | docs/migration-contract.md |
| Understand how debuggability works without telemetry | docs/determinism-and-observability.md |
| Know what ships in v0.1, v0.3, v0.5, v1.0 | docs/release-spec.md |
| Know what will never ship | docs/non-goals.md |
| Review the load-bearing decisions | docs/adr/ |
Posture
This is a solo-developer craft project by Tom Mathews, paced by evening and weekend velocity while a dissertation on agentic memory systems lands in parallel. The v0.1 commitment is explicit; v0.3 and beyond are contingent on real-user signal. There is no telemetry, no hosted service in v0.1, and no model reselling ever. See docs/non-goals.md for the full list of things Tessera will not become.
The reason this exists is that the substrate-change problem is real for a narrow but growing audience (long-running autonomous agents, developers running custom harnesses), the engineering shape is interesting, and the existing products in the space all miss the framing.
License
Apache 2.0. No CLA.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tessera_context-0.1.0rc1.tar.gz.
File metadata
- Download URL: tessera_context-0.1.0rc1.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35371a146c54f1d76bfd9ae6ec338367beee3e484a010c8e67823ee93004ad4f
|
|
| MD5 |
1183d0a870cb49d90dc77c89718a1c9c
|
|
| BLAKE2b-256 |
1c3a089311efe1719f935c6ea2dc63b930092ffcf15206cf7cbe778e45067256
|
File details
Details for the file tessera_context-0.1.0rc1-py3-none-any.whl.
File metadata
- Download URL: tessera_context-0.1.0rc1-py3-none-any.whl
- Upload date:
- Size: 180.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fe5de1468b7e8f827e626ab0e74b2c40869bd355f74d8443cb6ee7bf9f6bde2
|
|
| MD5 |
e49c4599dc92278d9502cbdf3ba4fa26
|
|
| BLAKE2b-256 |
83c7f95537e586e301a829c92f49351966826b372964a88442693ff3b5831bc4
|