Metadata-Version: 2.4
Name: seam-runtime
Version: 1.3.0
Summary: SEAM memory runtime and glassbox operator tooling for AI agents
License:                                  Apache License
                                   Version 2.0, January 2004
                                https://www.apache.org/licenses/
        
           TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
        
           1. Definitions.
        
              "License" shall mean the terms and conditions for use, reproduction,
              and distribution as defined by Sections 1 through 9 of this document.
        
              "Licensor" shall mean the copyright owner or entity authorized by
              the copyright owner that is granting the License.
        
              "Legal Entity" shall mean the union of the acting entity and all
              other entities that control, are controlled by, or are under common
              control with that entity. For the purposes of this definition,
              "control" means (i) the power, direct or indirect, to cause the
              direction or management of such entity, whether by contract or
              otherwise, or (ii) ownership of fifty percent (50%) or more of the
              outstanding shares, or (iii) beneficial ownership of such entity.
        
              "You" (or "Your") shall mean an individual or Legal Entity
              exercising permissions granted by this License.
        
              "Source" form shall mean the preferred form for making modifications,
              including but not limited to software source code, documentation
              source, and configuration files.
        
              "Object" form shall mean any form resulting from mechanical
              transformation or translation of a Source form, including but
              not limited to compiled object code, generated documentation,
              and conversions to other media types.
        
              "Work" shall mean the work of authorship, whether in Source or
              Object form, made available under the License, as indicated by a
              copyright notice that is included in or attached to the work
              (an example is provided in the Appendix below).
        
              "Derivative Works" shall mean any work, whether in Source or Object
              form, that is based on (or derived from) the Work and for which the
              editorial revisions, annotations, elaborations, or other modifications
              represent, as a whole, an original work of authorship. For the purposes
              of this License, Derivative Works shall not include works that remain
              separable from, or merely link (or bind by name) to the interfaces of,
              the Work and Derivative Works thereof.
        
              "Contribution" shall mean any work of authorship, including
              the original version of the Work and any modifications or additions
              to that Work or Derivative Works thereof, that is intentionally
              submitted to Licensor for inclusion in the Work by the copyright owner
              or by an individual or Legal Entity authorized to submit on behalf of
              the copyright owner. For the purposes of this definition, "submitted"
              means any form of electronic, verbal, or written communication sent
              to the Licensor or its representatives, including but not limited to
              communication on electronic mailing lists, source code control systems,
              and issue tracking systems that are managed by, or on behalf of, the
              Licensor for the purpose of discussing and improving the Work, but
              excluding communication that is conspicuously marked or otherwise
              designated in writing by the copyright owner as "Not a Contribution."
        
              "Contributor" shall mean Licensor and any individual or Legal Entity
              on behalf of whom a Contribution has been received by Licensor and
              subsequently incorporated within the Work.
        
           2. Grant of Copyright License. Subject to the terms and conditions of
              this License, each Contributor hereby grants to You a perpetual,
              worldwide, non-exclusive, no-charge, royalty-free, irrevocable
              copyright license to reproduce, prepare Derivative Works of,
              publicly display, publicly perform, sublicense, and distribute the
              Work and such Derivative Works in Source or Object form.
        
           3. Grant of Patent License. Subject to the terms and conditions of
              this License, each Contributor hereby grants to You a perpetual,
              worldwide, non-exclusive, no-charge, royalty-free, irrevocable
              (except as stated in this section) patent license to make, have made,
              use, offer to sell, sell, import, and otherwise transfer the Work,
              where such license applies only to those patent claims licensable
              by such Contributor that are necessarily infringed by their
              Contribution(s) alone or by combination of their Contribution(s)
              with the Work to which such Contribution(s) was submitted. If You
              institute patent litigation against any entity (including a
              cross-claim or counterclaim in a lawsuit) alleging that the Work
              or a Contribution incorporated within the Work constitutes direct
              or contributory patent infringement, then any patent licenses
              granted to You under this License for that Work shall terminate
              as of the date such litigation is filed.
        
           4. Redistribution. You may reproduce and distribute copies of the
              Work or Derivative Works thereof in any medium, with or without
              modifications, and in Source or Object form, provided that You
              meet the following conditions:
        
              (a) You must give any other recipients of the Work or
                  Derivative Works a copy of this License; and
        
              (b) You must cause any modified files to carry prominent notices
                  stating that You changed the files; and
        
              (c) You must retain, in the Source form of any Derivative Works
                  that You distribute, all copyright, patent, trademark, and
                  attribution notices from the Source form of the Work,
                  excluding those notices that do not pertain to any part of
                  the Derivative Works; and
        
              (d) If the Work includes a "NOTICE" text file as part of its
                  distribution, then any Derivative Works that You distribute must
                  include a readable copy of the attribution notices contained
                  within such NOTICE file, excluding those notices that do not
                  pertain to any part of the Derivative Works, in at least one
                  of the following places: within a NOTICE text file distributed
                  as part of the Derivative Works; within the Source form or
                  documentation, if provided along with the Derivative Works; or,
                  within a display generated by the Derivative Works, if and
                  wherever such third-party notices normally appear. The contents
                  of the NOTICE file are for informational purposes only and
                  do not modify the License. You may add Your own attribution
                  notices within Derivative Works that You distribute, alongside
                  or as an addendum to the NOTICE text from the Work, provided
                  that such additional attribution notices cannot be construed
                  as modifying the License.
        
              You may add Your own copyright statement to Your modifications and
              may provide additional or different license terms and conditions
              for use, reproduction, or distribution of Your modifications, or
              for any such Derivative Works as a whole, provided Your use,
              reproduction, and distribution of the Work otherwise complies with
              the conditions stated in this License.
        
           5. Submission of Contributions. Unless You explicitly state otherwise,
              any Contribution intentionally submitted for inclusion in the Work
              by You to the Licensor shall be under the terms and conditions of
              this License, without any additional terms or conditions.
              Notwithstanding the above, nothing herein shall supersede or modify
              the terms of any separate license agreement you may have executed
              with Licensor regarding such Contributions.
        
           6. Trademarks. This License does not grant permission to use the trade
              names, trademarks, service marks, or product names of the Licensor,
              except as required for reasonable and customary use in describing the
              origin of the Work and reproducing the content of the NOTICE file.
        
           7. Disclaimer of Warranty. Unless required by applicable law or
              agreed to in writing, Licensor provides the Work (and each
              Contributor provides its Contributions) on an "AS IS" BASIS,
              WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
              implied, including, without limitation, any warranties or conditions
              of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
              PARTICULAR PURPOSE. You are solely responsible for determining the
              appropriateness of using or redistributing the Work and assume any
              risks associated with Your exercise of permissions under this License.
        
           8. Limitation of Liability. In no event and under no legal theory,
              whether in tort (including negligence), contract, or otherwise,
              unless required by applicable law (such as deliberate and grossly
              negligent acts) or agreed to in writing, shall any Contributor be
              liable to You for damages, including any direct, indirect, special,
              incidental, or consequential damages of any character arising as a
              result of this License or out of the use or inability to use the
              Work (including but not limited to damages for loss of goodwill,
              work stoppage, computer failure or malfunction, or any and all
              other commercial damages or losses), even if such Contributor
              has been advised of the possibility of such damages.
        
           9. Accepting Warranty or Additional Liability. While redistributing
              the Work or Derivative Works thereof, You may choose to offer,
              and charge a fee for, acceptance of support, warranty, indemnity,
              or other liability obligations and/or rights consistent with this
              License. However, in accepting such obligations, You may act only
              on Your own behalf and on Your sole responsibility, not on behalf
              of any other Contributor, and only if You agree to indemnify,
              defend, and hold each Contributor harmless for any liability
              incurred by, or claims asserted against, such Contributor by reason
              of your accepting any such warranty or additional liability.
        
           END OF TERMS AND CONDITIONS
        
           APPENDIX: How to apply the Apache License to your work.
        
              To apply the Apache License to your work, attach the following
              boilerplate notice, with the fields enclosed by brackets "[]"
              replaced with your own identifying information. (Don't include
              the brackets!) The text should be enclosed in the appropriate
              comment syntax for the file format. We also recommend that a
              file or class name and description of purpose be included on the
              same "printed page" as the copyright notice for easier
              identification within third-party archives.
        
           Copyright 2026 BlackhatShiftey
        
           Licensed under the Apache License, Version 2.0 (the "License");
           you may not use this file except in compliance with the License.
           You may obtain a copy of the License at
        
               https://www.apache.org/licenses/LICENSE-2.0
        
           Unless required by applicable law or agreed to in writing, software
           distributed under the License is distributed on an "AS IS" BASIS,
           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
           See the License for the specific language governing permissions and
           limitations under the License.
        
Project-URL: Homepage, https://github.com/BlackhatShiftey/Seam_Runtime
Project-URL: Repository, https://github.com/BlackhatShiftey/Seam_Runtime
Project-URL: Issues, https://github.com/BlackhatShiftey/Seam_Runtime/issues
Keywords: ai,agents,memory,mcp,rag
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: rich<16,>=14.2
Requires-Dist: tiktoken<1.0,>=0.8.0
Provides-Extra: dash
Requires-Dist: textual<1.0,>=0.50; extra == "dash"
Requires-Dist: httpx<1.0,>=0.24; extra == "dash"
Provides-Extra: chroma
Requires-Dist: chromadb<2.0,>=1.0; extra == "chroma"
Provides-Extra: pgvector
Requires-Dist: psycopg[binary]<4.0,>=3.0; extra == "pgvector"
Provides-Extra: sbert
Requires-Dist: sentence-transformers<3.0,>=2.0; extra == "sbert"
Provides-Extra: server
Requires-Dist: fastapi<1.0,>=0.100; extra == "server"
Requires-Dist: uvicorn[standard]<1.0,>=0.23; extra == "server"
Requires-Dist: python-multipart<1.0,>=0.0.6; extra == "server"
Provides-Extra: agent
Provides-Extra: rerank
Requires-Dist: sentence-transformers<3.0,>=2.0; extra == "rerank"
Provides-Extra: bench-judge
Requires-Dist: anthropic<1.0,>=0.40; extra == "bench-judge"
Requires-Dist: openai<2.0,>=1.0; extra == "bench-judge"
Provides-Extra: bench-mem0
Requires-Dist: mem0ai<1.0,>=0.1.0; extra == "bench-mem0"
Requires-Dist: chromadb<1.0,>=0.4.0; extra == "bench-mem0"
Provides-Extra: bench-zep
Requires-Dist: zep-cloud<3.0,>=2.0.0; extra == "bench-zep"
Provides-Extra: all-extras
Requires-Dist: textual<1.0,>=0.50; extra == "all-extras"
Requires-Dist: httpx<1.0,>=0.24; extra == "all-extras"
Requires-Dist: psycopg[binary]<4.0,>=3.0; extra == "all-extras"
Requires-Dist: sentence-transformers<3.0,>=2.0; extra == "all-extras"
Requires-Dist: fastapi<1.0,>=0.100; extra == "all-extras"
Requires-Dist: uvicorn[standard]<1.0,>=0.23; extra == "all-extras"
Requires-Dist: python-multipart<1.0,>=0.0.6; extra == "all-extras"
Requires-Dist: anthropic<1.0,>=0.40; extra == "all-extras"
Requires-Dist: openai<2.0,>=1.0; extra == "all-extras"
Requires-Dist: mem0ai<1.0,>=0.1.0; extra == "all-extras"
Requires-Dist: zep-cloud<3.0,>=2.0.0; extra == "all-extras"
Dynamic: license-file

# SEAM

<!-- mcp-name: io.github.blackhatshiftey/seam-runtime -->

Give your local AI agent persistent memory in one command.

SEAM is a local memory runtime for agents. It stores durable MIRL records in
SQLite, retrieves compact context with lexical, graph, temporal, and vector
signals, tracks provenance, exposes a dashboard/API, and gates benchmark claims
before they are treated as real progress.

## Install

GitHub package install for the SEAM runtime:

```bash
python -m pip install "seam-runtime @ git+https://github.com/BlackhatShiftey/Seam_Runtime.git@main"
```

Install with REST API and dashboard extras:

```bash
python -m pip install "seam-runtime[server,dash] @ git+https://github.com/BlackhatShiftey/Seam_Runtime.git@main"
```

Once release tags exist, replace `@main` with a pinned tag such as `@v0.1.0`.
The clone-and-installer flows below remain the full operator setup path for
repo-local development, persistent state setup, and platform shims.

Private repo install requires an authenticated GitHub CLI session.

Windows PowerShell:

```powershell
gh repo clone BlackhatShiftey/Seam Seam; cd Seam; powershell -ExecutionPolicy Bypass -File .\installers\install_seam_windows.ps1
```

macOS:

```bash
gh repo clone BlackhatShiftey/Seam Seam && cd Seam && sh ./installers/install_seam_macos.sh
```

Linux / WSL2:

```bash
gh repo clone BlackhatShiftey/Seam Seam && cd Seam && sh ./installers/install_seam_linux.sh
```

Repo-local Linux development bootstrap:

```bash
gh repo clone BlackhatShiftey/Seam Seam && cd Seam && sh ./installers/install_seam_linux.sh --dev
```

## Agent Setup Prompt

After cloning SEAM, paste this prompt into your coding agent to have it install
SEAM, verify the local setup, and configure SEAM as persistent memory for the
workspace.

```text
You are setting up SEAM from this repository.

Goal:
Install SEAM completely for local development and operator use, then configure
it as persistent memory for this agent/workspace.

Rules:
- Read `AGENTS.md` first and follow repo-local instructions.
- Do not expose, print, copy, delete, or summarize secrets.
- Do not ingest secrets, `.env` files, credential files, private keys, provider
  session links, ignored local artifacts, or private chat/share links.
- API keys, local `.env` files, and local `.conf` files are operator-owned.
  The operator can set them in the SEAM Web UI Settings panel or maintain them
  manually in ignored local config files.
- Prefer project installers and documented commands over ad hoc setup.
- Do not install `bench-judge`, `bench-mem0`, or `bench-zep` unless the operator
  explicitly approves provider/API-key benchmark dependencies.
- If a command fails, stop and report the exact command and error. Check
  `docs/errors.md` for the symptom before giving up, and report whether that
  reference resolved it.

Steps:
1. Confirm the current directory is the SEAM repo.
2. Run the platform installer:
   - Linux/WSL2: `sh ./installers/install_seam_linux.sh --dev`
   - macOS: `sh ./installers/install_seam_macos.sh --dev`
   - Windows PowerShell: `powershell -ExecutionPolicy Bypass -File .\installers\install_seam_windows.ps1 -Dev`
3. Install useful local extras for normal operator work:
   `python -m pip install -e ".[server,dash,pgvector,sbert,rerank]"`
4. Verify the install:
   `seam doctor`
5. Ask the operator to set any needed provider keys and local config before
   enabling paid/provider-backed features:
   - Web UI path: run `seam webui`, open Settings, enter provider keys,
     `SEAM_CHAT_API_KEY`, `SEAM_CHAT_BASE_URL`, `SEAM_CHAT_MODEL`,
     `SEAM_PGVECTOR_DSN`, `SEAM_API_TOKEN`, or `SEAM_LOCAL_ENV` as needed, then
     save the local env from the Settings panel.
   - Manual path: create or edit ignored local `.env` or `.conf` files, export
     the needed variables in the shell, and never commit or ingest those files.
6. Re-run:
   `seam doctor`
7. Ingest safe repo context as persistent memory:
   `seam ingest README.md --persist`
   `seam ingest AGENTS.md --persist`
   `seam ingest PROJECT_STATUS.md --persist`
   `seam ingest REPO_LEDGER.md --persist`
8. Test memory retrieval against the ingested docs:
   `seam memory search "current SEAM repo status"`
   `seam context "current SEAM repo status" --retrieval-mode mix --view prompt`
9. Prove write-then-read persistence with a fact this session creates, not a
   pre-existing doc:
   `seam remember "SEAM setup smoke test <unique token>"`
   `seam memory search "setup smoke test"`
   Confirm the exact fact just written comes back before treating memory as
   working.
10. If this agent supports MCP, configure it to launch:
   `seam-mcp`
   Or, when pgvector is needed and Docker is available:
   `seam-mcp --ensure-pgvector`
   Verify the server actually responds: issue an MCP tool-list/discovery call
   against the running process and confirm SEAM's tools (memory search/get,
   context, ingest) appear before reporting MCP as configured.
11. Report back with:
   - install path used
   - optional extras installed
   - whether `seam doctor` passed
   - whether API keys/local config were set in Web UI Settings or manually
   - whether memory search/context returned useful repo context
   - whether the write-then-read smoke test round-tripped correctly
   - whether MCP was configured and its tool list verified, or only CLI
     memory is available
```

## 60-Second Demo

After install, open a new terminal. The same commands work on Windows
PowerShell and Linux / WSL2 because `seam` is a platform-agnostic shim:

```bash
seam doctor
seam ingest README.md --persist
seam memory search "persistent agent memory"
seam retrieve "persistent agent memory" --mode mix --budget 5
seam context "persistent agent memory" --retrieval-mode mix --view prompt
seam dashboard --snapshot --no-clear
```

Inside the dashboard, use `reload` or `/reload` to refresh the visible runtime
state, metrics, panels, and chart surfaces without restarting.

To configure API keys and local runtime settings without editing files by hand,
run the browser Web UI and open Settings:

```bash
seam webui --host 127.0.0.1 --port 8765
```

Settings covers provider keys, chat/API settings, embedding settings, database
paths, pgvector DSNs, `SEAM_LOCAL_ENV`, REST API tokens, and save/reload local
env controls. Operators can also maintain ignored local `.env` or `.conf` files
manually; those files must not be committed or ingested as memory.

## Why SEAM

- Persistent local memory: SQLite is the canonical source of truth.
- Efficient RAG: `vector`, `graph`, `hybrid`, and `mix` retrieval modes.
- Progressive disclosure: `seam memory search` gives compact IDs first; `seam memory get <ids>` fetches full records only when needed.
- Agent bridge: `seam mcp stdio` / `seam-mcp` exposes a standard MCP server for Gemini, Claude, Cursor, and other agents. Gemini's project config starts it with `--ensure-pgvector` so Docker Compose pgvector is ready before MCP tool discovery. `seam mcp serve` remains available for legacy JSON-lines wrappers.
- Provenance: records keep refs, evidence, trace edges, and source document status.
- Benchmark discipline: benchmark bundles are hash-verified, diffed, gated, and separated from holdout publication runs.
- Operator surface: CLI, Textual dashboard, REST API, and installer shims all use the same runtime.

## Core Commands

Cross-platform (Windows PowerShell and Linux / WSL2 share the `seam` shim):

```bash
seam ingest path/to/file.txt --persist
seam remember "SEAM stores durable memory for agents."
seam memory search "durable memory"
seam memory get clm:1,sta:ent:project:seam --timeline
seam retrieve "durable memory" --mode mix --trace
seam context "durable memory" --retrieval-mode mix --view evidence
seam surface compile path/to/file.txt --output file.seam.png --mode rgb24
seam surface query file.seam.png "durable memory"
seam shell
seam index
seam reindex
seam dashboard
seam mcp stdio
seam-mcp --ensure-pgvector
seam mcp serve
seam serve --host 127.0.0.1 --port 8765
seam benchmark run all --persist
seam benchmark gate seam-benchmark-report.json
```

## RAG Architecture

SEAM takes the useful parts of graph RAG systems while keeping canonical memory
inside MIRL:

1. ingest text or files
2. compile semantic records into MIRL
3. persist canonical records and document status in SQLite
4. derive vector indexes and graph edges from record IDs
5. retrieve with `vector`, `graph`, `hybrid`, or `mix`
6. build a token-bounded PACK for the agent

Vector stores are acceleration layers, not source of truth. PgVector and the
SQLite vector table can be rebuilt from MIRL records.

See [docs/RAG_ARCHITECTURE.md](docs/RAG_ARCHITECTURE.md) for the LightRAG and
claude-mem comparison, retrieval mode details, and agent bridge notes.

## Setup Details

- Command cookbook: [docs/setup.md](docs/setup.md)
- Fresh Linux resume checks: [docs/setup.md#resume-current-repo-state-on-fresh-linux](docs/setup.md#resume-current-repo-state-on-fresh-linux)
- Installer reference: [installers/README.md](installers/README.md)
- Troubleshooting: [docs/errors.md](docs/errors.md)
- Task runbooks: [docs/howto/README.md](docs/howto/README.md)
- Active/inactive code layout: [docs/CODE_LAYOUT.md](docs/CODE_LAYOUT.md)

## Operator Manual

For help beyond the quickstart, use these docs as the operator manual:

- [Operator guide](docs/SEAM_OPERATOR_GUIDE.md) - day-to-day commands, doctor checks, benchmark posture, and failure triage.
- [Setup guide](docs/setup.md) - platform setup, installer flows, dashboard chat model configuration, and supported command shapes.
- [Task runbooks](docs/howto/README.md) - short workflows for common operator tasks.
- [Engineering manual](docs/engineering/README.md) - architecture, security, change/test/incident SOPs, and verification discipline.
- [Troubleshooting and error index](docs/errors.md) - look up failures by symptom or error type before changing code.

### Error Index

Start with [docs/errors.md](docs/errors.md). Current indexed failure types include:

- `ModuleNotFoundError: No module named 'textual'`
- `SEAM doctor: FAIL`
- `PgVector: configured but unreachable`
- Chroma path/index sync failure
- Benchmark bundle verification failure
- `HTTP 429` provider quota or rate-limit symptoms

Default persistent database paths:

- Windows: `%LOCALAPPDATA%\SEAM\state\seam.db`
- macOS: `~/Library/Application Support/SEAM/state/seam.db`
- Linux / WSL2: `~/.local/share/seam/state/seam.db`

## Optional Extras

```powershell
python -m pip install -e ".[dash]"
python -m pip install -e ".[server]"
python -m pip install -e ".[pgvector]"
python -m pip install -e ".[sbert]"
python -m pip install -e ".[agent]"
python -m pip install -e ".[rerank]"
python -m pip install -e ".[all-extras]"
```

Extras keep the base install focused:

- `dash`: Textual dashboard
- `server`: FastAPI/Uvicorn REST API
- `pgvector`: PostgreSQL PgVector adapter
- `sbert`: local sentence-transformer embeddings
- `agent`: reserved agent bridge extra; current stdio bridge has no extra dependency
- `rerank`: reranker model dependencies

## REST API

Install the server extra:

```powershell
python -m pip install -e ".[server]"
```

Run locally:

```powershell
seam serve --host 127.0.0.1 --port 8765
```

Useful endpoints:

- `GET /health`
- `GET /stats`
- `POST /compile`
- `POST /compile-dsl`
- `GET /search?query=durable+memory&budget=5`
- `POST /context`
- `POST /lossless-compress`
- `POST /persist`

Set `SEAM_API_TOKEN` to require `Authorization: Bearer <local-token>` for
protected endpoints.

## Benchmark Glassbox

```bash
seam benchmark run all --persist --output seam-benchmark-report.json
seam benchmark show latest
seam benchmark verify seam-benchmark-report.json
seam benchmark gate seam-benchmark-report.json
seam benchmark diff <baseline-report.json> seam-benchmark-report.json
```

### Measure Progress (Or Regression)

The visual-memory loop is a measurable iteration engine. To prove a change
improves SEAM rather than regressing it:

```bash
# 1. capture baseline
seam benchmark run all --persist --output baseline.json

# 2. make the change

# 3. capture after-state and compare
seam benchmark run all --persist --output after.json
seam benchmark diff baseline.json after.json
seam benchmark gate after.json
```

`benchmark diff` shows per-case green/red/gray deltas and added/removed cases.
`benchmark gate` enforces the release-blocking minimums across all eight
families. To extend coverage of structured document features, add a fixture
case to `benchmarks/fixtures/surface_cases.json`; if the underlying extractor
does not exist yet in `seam_runtime/lossless.py:_structural_quote_spans`, the
gate fails and the fix is local. See [docs/howto/README.md](docs/howto/README.md)
section 4 for the failing-case-driven extension runbook.

### Publication Discipline

Benchmark evidence is the proof layer for SEAM's commercial value. It does not
grant trademark rights, imply endorsement, or provide access to private hosted,
enterprise, customer-specific, or unreleased SEAM offerings.

Publication claims must include bundle hash, case hashes, fixture hashes, git
SHA, diff output, gate output, and holdout output when the claim is external.
Do not claim "best", "production proven", or "commercial-grade" unless the
benchmark bundle supports that exact claim.

## Machine-First Layer

The product entrypoint is simple: install SEAM, persist memory, retrieve
context. Under that surface, SEAM is still machine-first:

- `MIRL`: canonical memory IR
- `PACK`: prompt-time context view
- `SEAM-LX/1`: exact machine-text envelope for lossless workflows
- `SEAM-RC/1`: directly readable compressed machine language
- `SEAM-HS/1`: lossless PNG-backed surface for MIRL, RC/1, LX/1, or raw bytes

The design stance is unchanged: SQLite is canonical, derived indexes are
rebuildable, lossless claims require exact reconstruction, and compressed
artifacts must remain useful to an agent without hiding provenance.

## License

SEAM Runtime's public core is licensed under the Apache License 2.0. The public
core repository is:

<https://github.com/BlackhatShiftey/Seam_Runtime>

Apache-2.0 permits use, modification, redistribution, and commercial use of the
public core under the license terms. It does not grant SEAM trademark or
branding rights, and it does not grant access to private repositories, hosted
services, enterprise modules, private connectors, private benchmark holdouts,
customer-specific integrations, or unreleased methods.

Separate commercial offerings may cover hosted SEAM services, enterprise
connectors, managed deployments, support, warranty, indemnity, private modules,
or customer-specific implementation work.

See [LICENSE](LICENSE), [NOTICE](NOTICE), and
[COMMERCIAL_LICENSE.md](COMMERCIAL_LICENSE.md).
