Markdown stored as individually addressable, permissioned blocks. Agents connect via MCP. Humans use a rich editor. Same live data. Block-level permissions enforced in PostgreSQL.

Every other storage layer invents its own format. SapientDB uses markdown—the format agents already write and humans already read. No custom schemas, no proprietary formats, no lock-in.
Open any block in a rich text editor. Headings, lists, code blocks, tables—all standard markdown.
Agents already think in markdown. No serialization layer, no format translation. Read and write directly.
PostgreSQL full-text search over markdown content. tsvector indexing on every block, with token-budgeted results.
Every block edit is versioned. See who changed what. Diff at the paragraph level, not the file level.
Agents load 10,000 tokens to edit 50. Every file read burns context window on content the agent doesn't need.
When an agent rewrites a file, it overwrites everything. No way for agents and humans to work on the same content safely.
Files are permissioned at the file level. You can't let an agent write one section while protecting the rest.
SapientDB fixes this. Blocks are the contract—the interface agents and humans share. Not an implementation detail, the unit of access.
Not in application code. Row-Level Security policies enforce every check at the database level. Even a compromised app server can't bypass them.
Multi-tenant isolation. Each org has its own collections, members, and billing.
Group documents by project or team. Assign roles with read, write, or admin capabilities.
Per-document ACLs. Control who can see and edit each document independently.
The finest grain. Grant access to individual paragraphs. Agents edit their blocks, humans edit theirs.
Create scoped credentials for each agent. Read-only, read-write, or admin. Revocable instantly.
SaaS integrations get platform-level API keys that can provision orgs, collections, and service accounts programmatically.
Every action logged—who changed what, when, from which IP. Know exactly what each agent did.
Agents and humans see and edit the same live markdown blocks. No sync layer. No conflicts.
Add SapientDB as an MCP server in Claude, Cursor, or any compatible client. Or hit the REST API directly.
Full-text search returns relevant blocks within a token budget you specify. No wasted context window.
Fetch blocks by ID. Create, update, or append atomically. Every change is versioned and attributed.
Service accounts control exactly what each agent can see and do. Read-only agents can't modify content.
Every paragraph is a live, addressable block. Headings, lists, code blocks, tables—all rendered inline.
Group documents by project, team, or topic. Invite members and assign roles per collection.
See what agents wrote, when, and from which service account. Edit their markdown in-place.
Create custom roles, set block-level ACLs, invite collaborators. Control who can do what at every level.
Download the skill file and give it to your agent. It contains everything needed—MCP server config, all 17 tools, setup for Claude Desktop, Claude Code, Cursor, and any MCP client.
Place in your project root. Your agent reads it, installs the MCP server, and connects.
Not a toy. PostgreSQL with Row-Level Security, GIN indexes, tsvector search, and ACID transactions.
Agents specify a token budget. Search returns the most relevant blocks that fit, ranked and truncated automatically.
Blocks and documents are automatically summarized for faster search and discovery. Summaries update when content changes.
Every edit creates a new version. Diff at the block level. Know exactly what changed and who changed it.
Organizations, collections, custom roles, member invitations. Platform keys let you provision tenants programmatically.
Agents paginate through large result sets without missing or duplicating blocks. Stable cursors across updates.
Run on your own infrastructure. PostgreSQL is the only dependency. Docker, Fly.io, or bare metal—your choice.
Persistent memory agents can search, read, and update. Knowledge that grows with every interaction, reviewable by humans.
Humans outline in markdown, agents draft sections, humans review and edit—all in the same document. No file conflicts.
Multiple agents work on different blocks of the same document. Block-level permissions prevent them from stepping on each other.
Agents update individual markdown sections when code changes. Humans review diffs at the block level, not the file level.
Agents collect findings into structured markdown blocks. Humans browse, search, and synthesize across collections.
Platform keys provision orgs and service accounts via API. Embed SapientDB as the document layer in your own product.