This release is a pre-release and may not be stable for production use.
Weft
Evidence-bound memory substrate for people and their agents.
Weft ingests conversations, documents, and media into a scoped, auditable store. Recall is scoped first, ranked second, and explained in a receipt. Deletions cascade. Corrections preserve lineage. Nothing is injected whole.
Status
Alpha. Phases 1–6 implemented and reviewed. Phase 7 alpha-reviewed and gated cutover verified. 429 tests passing. Independent adversarial review completed for substrate, scope engine, ingestion, retrieval, reasoning, and server. AGPL-3.0.
Boundaries
- Weft is not a brain, a consciousness, or a proof of either.
- It does not post, message, or commit on its own.
- Recall is data, not instructions. Retrieved text cannot authorize writes or alter scope.
- Scope is deterministic and deny-by-default. Identity grants nothing.
Install
From PyPI (alpha)
pip install weft-memory==0.1.0a0
From source
git clone https://github.com/ousiaresearch/weft.git
cd weft
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[server]"
Python >= 3.11 required.
Quick start
weft --db ~/.weft/weft.sqlite3 ingest --scope coast --file note.md
weft --db ~/.weft/weft.sqlite3 recall --scope coast --query "tides"
weft --db ~/.weft/weft.sqlite3 rebuild-fts --scope coast
weft --db ~/.weft/weft.sqlite3 serve --host 127.0.0.1 --port 8765
Default database: ~/.weft/weft.sqlite3 (owner-only, 0600).
Models
Weft ships adapters, not weights. Model licences are shown at fetch time with consent. Default local embedder: BAAI/bge-m3 4-bit (MIT). Optional: Qwen3.5-2B for OCR/description (Apache-2.0), whisper large-v3-turbo for transcription (MIT/Apache-2.0).
Design invariants
- Scope before relevance.
- Deny by default.
- Content, not location, sets scope.
- Identity grants no scope.
- Cross-scope needs user-attributable request.
- Composite artifacts never injectable.
- Status transitions gated (verified requires Verification record).
- User attribution for Decision/Commitment.
- Correction supersedes, keeps lineage.
- Recall is not re-ingested.
- Authority is singular (Substrate is only authority).
- Fail closed.
- Retrieved content is data, not instructions.
License
AGPL-3.0. See LICENSE.
Third-party dependency licences are listed in docs/clean-room-provenance.md. Arsumbris, Honcho, and OpenViking are study-only under clean-room protocol; no source copied or bundled.
Metadata
Release files for weft-memory 0.1.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| weft_memory-0.1.0a0-py3-none-any.whl | Python 3 | none | any | Details for weft_memory-0.1.0a0-py3-none-any.whl |
Release files / weft_memory-0.1.0a0-py3-none-any.whl
| Download URL | weft_memory-0.1.0a0-py3-none-any.whl |
|---|---|
| Size | 61.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf7c681d38f3ee8ea4a0c2fb6b402573e8527f0e06badc06a356c6cc91c39b62
|
|
BLAKE2b-256 checksum How to use checksums |
3e2422ba4175713519aab5bdcc12660a87031cd22e5e7b79d580dbe987320762
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Security for weft-memory 0.1.0a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.