Between a question
and an answer.
inseam connects your devices and your data hosts into one network, indexes what is on them where it is, and reads an object from its source when you ask. The index is sealed with keys that only your devices and browsers hold. This page is for people who want to know what happens underneath, and for teams that would build on inseam.
Seal once. Then four steps, every time.
1 Seal
Seal your network once. Your browser or your first device makes the keys and shows you a recovery key. Your devices and browsers hold the keys. Unless you grant it one, inseam stores only copies it cannot open.
A network key (X25519), wrapped to each device, each passkey and the recovery key. One key per host, sealed to the network key.
2 Connect
Install inseam on your laptop, or ask your agent to connect a cloud service. If inseam has no connection for that service, the agent writes one, and you approve it. Each place becomes a host on your network.
A device-bound host gets a device node. A network-reachable host is stewarded by your network’s cloud node. A connector is written on demand, passes a conformance test in a trial facet, and runs with no ambient network and no secrets.
3 Index
inseam reads each object where it is, extracts its text and keeps a sealed search index. To index, a device that holds the key lends it while it is connected. inseam uses it in memory and never stores it. It never keeps the object.
A producer emits records: address, content hash, metadata, extracted text. One writer per host index commits revisions to object storage, sealed in 4 KiB AES-256-GCM chunks to the host’s key.
4 Search
You or your agent search once, across every host. Your request lends the keys for that search, and inseam drops them when it ends. The results are addresses.
Hybrid search over every host index the request carries a key for, fused by rank and returned as inseam:// addresses. A host with no key in the request is not searched.
5 Fetch
Ask for an object by its address. inseam reads it from its host, the whole object or just a range.
GET /o/{address}: the gateway checks the grant and the steward streams the bytes. Ranges stay ranges.
$ inseam search "q3 plan"
inseam://home/laptop/notes/q3-plan.md laptop 2d
inseam://home/gmail/threads/19a2f0c1/plan-v2 Gmail 6d
inseam://home/icloud/Documents/Q3 plan.pages iCloud 3w
3 hits across 3 hosts. Bodies stay on their hosts.
$ inseam fetch inseam://home/laptop/notes/q3-plan.md --range 0-180
# Q3 plan
Ship the macOS app to the early ring. Keep the
compatibility window at 90 days. Decide the licence
before launch.
180 bytes from laptop. Not copied.Every object has an address.
Search returns addresses. Fetch returns bytes from the host. That is the whole API.
- Bodies never move. The network distributes a catalog and a sealed index of extracted text and vectors. Bytes stream from the host under the steward's authority.
- Sandboxed, AI-written connectors. Connectors run in their own facet with no ambient network and no secrets. A gate adds credentials and enforces an allowlist.
- Offline first, without conflicts. One writer per host index, always online. Devices queue records offline and drain on reconnect.
- Cheap at rest. Everything persistent is immutable objects in a bucket. Compute is edge isolates that cost nearly nothing when idle.
Sealed at rest. Range reads still work.
Your index is sealed with keys that only your devices and browsers hold. inseam stores it and cannot read it. To index and to search, your device or your request lends the key for that work. inseam uses it in memory and never stores it.
- Encrypted below the cache. Every index object is encrypted in 4 KiB AES-256-GCM chunks to a per-host X25519 key. Object storage and the edge cache hold ciphertext. A search makes the same reads as over plaintext.
- Keys live with nodes. The network key is wrapped to each device, each passkey and a recovery key. Each host key is sealed to the network key.
- Keys are lent, not kept. A device lends its hosts’ keys to their writer while it is connected. A search request carries the keys it needs. An agent’s token carries the secret that opens the keys you gave it.
- inseam holds a key only by grant. To keep a cloud host indexed at all times, you can grant inseam’s cloud node that one host’s key. The host then shows “inseam holds the key”, and you can withdraw the grant.
- Or steward it yourself. Any machine you own can index your hosts: a laptop, a home server, a VPS. Then the key never leaves your machines. Today a self-run steward indexes folders.
Keep your data private: seal your network, give keys to devices and agents, and what inseam can see.
| Your index, stored | Nothing readable. inseam has no key. |
|---|---|
| A copy of our storage or databases | Nothing readable. |
| While your device indexes | The text it indexes, in memory, while the device is connected. |
| While you or your agent search | The query and the results, in memory, for that request only. |
| A host you grant inseam | That host’s index. |
| A host added before sealing | That host’s index. It is not sealed. |
| Always | Host names and kinds, sizes, item counts, and when things happen. |
What inseam keeps, and what it doesn't.
inseam keeps
- A sealed search index of your data's text and metadata. inseam cannot read it without a key.
- An address for each object: where it is, and a hash of its bytes.
- Your keys, only in wrapped forms it cannot open alone, unless you grant it one host’s key.
- The credentials you connect for cloud services, encrypted. The inseam service can decrypt them. Every decryption is logged where you can see it.
inseam does not keep
- Your files, emails and records. They stay where they are.
- Copies of your data. When you ask for a temporary link, inseam keeps a copy of that one object for at most a day.
- The keys your devices and requests lend. inseam uses them in memory and never writes them to storage.
- Your passwords or tokens inside a connection. Each connection runs in its own sandbox and never sees them.
Sealed means sealed at rest. While a key is lent, inseam’s servers process the text being indexed, or the query and its results, in memory. Apart from hosts added before your network was sealed, inseam can read a host’s index only if you grant it that host’s key. The app labels those older hosts “Not sealed: inseam can read this host”.
Run it under your own product.
inseam is built to sit underneath other products. Each customer gets a network of their own, with its own hosts, its own index and its own permissions, isolated from every other network. Networks that a product makes for its customers are not sealed yet.
One address for agents
Point any MCP host at /mcp. The agent asks for scopes, the person consents in their browser, and the session can be revoked at any time. Headless agents use a device code; anything else uses a pasted token.
A plain HTTP API
Sign-in is a magic link, with no password. Sessions are bearer tokens. Search, fetch and write go through the gateway, which checks the grant on every request. A search request carries the keys of the sealed hosts it searches.
Clients only where the internet cannot reach
The macOS app and the CLI turn a Mac or a server into a device node for folders, databases and NAS boxes. Everything reachable with credentials is handled by your network's cloud node, with nothing to install. The cloud node indexes a sealed host when a key holder lends the key, or at any time if you grant it that host’s key.
Metered, with a free plan
Networks are billed by indexed items and pad storage. Over the limit, new items wait while search and existing items keep working.