free software from the screenpipe team

Your knowledge should not live inside one app.

Brainmesh keeps notes, files, and agent memory in one private knowledge layer. It works across the devices you control and gives every person or agent only the access they need.

read the source

MIT licensed, with no account or required central server.

one request through brainmesh owner online
you

What changed in our enterprise plan after the last customer calls?

  1. 01

    The agent asks for the company strategy scope.

  2. 02

    Brainmesh checks the agent, action, scope, and expiry.

  3. 03

    Your trusted node decrypts six matching records.

  4. 04

    The agent receives those records and the read is recorded.

what stays private

The model does not receive finance, personal notes, or any other compartment.

what exists today

The core is real. The product around it is still early.

Signed history already syncs between macOS, Windows, and Linux machines.

Large files are chunked, resumed, and deduplicated. The test suite covers 4 GB records.

Agent reads are checked against signed grants and leave owner-visible receipts.

iOS and Android are thin clients for capture, search, and approval, not full brain replicas.

01 / fewer apps

We are not building another Notion.

The future probably has fewer apps. You ask an agent for what you need, and the agent works against a knowledge layer you control.

I kept my second brain in Git for more than six years. Git kept the files and their history, but it never answered who should know what. Cloud drives made syncing easier, but they still made one product the center of the system.

Brainmesh should be quiet infrastructure. Your files stay useful as files. The agents you already use become the main interface. A phone can still capture something or ask you to approve a sensitive read, but there is no new workspace to maintain all day.

another workspace asks you to

Open its app, organize its database, copy context into it, and teach every teammate where everything lives.

brainmesh lets you

Ask the agent you already use. Brainmesh finds the allowed knowledge, returns the answer, and records the access.

02 / one layer, different boundaries

A private brain for one person or a whole company.

The shape changes as more people join. The basic rule does not: knowing the bytes is different from having permission to share them.

for one person

Your memory can follow you without becoming one company's database.

A laptop, an always-on Mac mini, and a phone can each hold only what they need. Personal, health, work, and secret material can live in separate compartments. Claude, ChatGPT, Codex, Hermes, or screenpipe can use the same brain without receiving the same access.

you macbook mac mini phone agent with a grant
for a company

A company brain without one vendor owning the company brain.

The company root defines the organization. Engineering, finance, customer support, and each project can use separately encrypted compartments. Employees receive exact roles. Keyless admins can nominate access without holding role keys, and agents use scoped grants.

company rootsigns authority
engineeringits own key
financeits own key
supportits own key
agentsscoped grants

This authority model exists at the CLI layer today. A polished admin product, managed escrow, and company recovery service do not exist yet.

03 / how it works

Storage can be anywhere. Trust stays with you.

Plaintext and brain keys stay on enrolled devices. Peers, blind relays, and object storage move encrypted records and chunks without receiving the key that opens them.

01 / knowledge enters
your filesNotes, images, PDFs, and binaries
screenpipeOnly the activity you choose to keep
agentsRecords they are allowed to write
phoneCapture and owner approvals
02 / brainmesh decides
identityEvery device has a keypair
historyEvery author keeps a signed chain
filesLarge bytes become encrypted chunks
compartmentsDifferent knowledge gets different keys
grantsWho can do what, where, and until when
receiptsPrivileged reads and effects are recorded

The relay and object store never receive the brain key.

03 / encrypted copies move
direct peerMachines can sync over LAN, SSH, or TCP
blind relayA relay routes bytes without opening them
object storageS3-compatible storage can keep durable copies
infrastructure can see Ciphertext, size, timing, and routing metadata an authorized model can see Only the plaintext returned by its exact grant
04 / permission that feels human

The agent can ask. The owner still decides.

Most work runs inside standing permissions. When a request crosses a sensitive boundary, the agent can ask for one exact exception and the owner can answer from a trusted device.

research agentgrant: personal/*
Summarize the health decisions I made this month.
I can read your personal notes, but health/* is outside my current permission.
permission needed Read health/* one time The request is limited to this summary and expires after two minutes.
9:415G  100%
brainmesh
owner approval

Nothing needs your attention.

Your agents are working inside the permissions you already gave them.

whoThis agent on this device
actionREAD / WRITE / SEND / USE
whereA path, kind, or tag
sensitivityNormal through secret
timeOnce or until an expiry
afterwardA receipt and revocation path
05 / where it fits

Brainmesh sits below the tools you already use.

It does not replace filesystems, Git, or object storage. It adds the identity, history, encryption, and permission model that agents need across all of them.

dimension filesystem Git object storage iCloud / Dropbox brainmesh
mental model A mutable path tree A commit graph over files A bucket of keyed blobs A provider-synced folder Signed records, encrypted chunks, and grants
history Files are overwritten unless snapshots exist Commits, branches, and merges Versioning is optional Conflicts often become copies Versions are append-only and divergent heads stay explicit
access OS users and ACLs Repository credentials Bucket IAM Accounts and shares Signed capabilities with scope and expiry
agent access The agent inherits shell privileges The agent receives a repository credential The agent receives a cloud credential The agent relies on a provider connector The agent receives a narrow MCP or HTTP grant and each read leaves a receipt
operator visibility The local OS and apps can see files The host often holds plaintext Client encryption can hide plaintext The provider controls the default boundary Relays and buckets receive ciphertext but never the brain key
best at Live application files Source collaboration Durable, scalable bytes Consumer folder convenience Private cross-device knowledge for people, companies, and agents
filesystem keeps working files useful Git continues to handle source collaboration S3 can hold encrypted chunks MCP gives agents a narrow entry point
06 / honest limits

The boundary matters as much as the promise.

Brainmesh is useful because it says where its protection stops.

01

It is not a POSIX filesystem.

Use a filesystem for live application semantics. Brainmesh records durable meaning, bytes, and history.

02

It cannot erase knowledge already shared.

Revocation stops future authorized reads. It cannot recall plaintext that somebody already received or copied.

03

Decryption needs a trusted endpoint.

An owner-controlled node holding the right key checks the grant and opens the permitted records.

04

A model sees what you return.

If a hosted model receives a permitted record, treat that record as disclosed to the model provider.

05

A public relay still needs operations work.

Authentication, rate limits, abuse controls, backups, and monitoring still matter.

06

The product is early.

The protocol, CLI, sync, files, grants, recovery, MCP, and thin mobile clients exist. A polished consumer and admin product does not.

07 / try the core

Start with the CLI. Keep using your files and agents.

The npm preview compiles the Rust CLI locally. Preserve an enrolled key separately from the encrypted copies of your data.

read the setup and threat model →
terminal
$ npm install -g brainmesh

$ brainmesh start
$ brainmesh join mini
$ brainmesh write "a thought"
$ brainmesh sync

# inspect history, peers, and grants
$ brainmesh status

free software, built in the open

The knowledge layer should belong to the people and companies that create it.

Brainmesh is MIT licensed and built by the screenpipe team.

inspect brainmesh on GitHub