Core Concepts

A handful of terms carry most of Monofile's behaviour. This page defines each one and shows how they connect, so you can read the rest of the documentation faster.

The shape of it

File, folder, path

A file is a row in a database, not a blob on a disk. It has an id that never changes, a name, a path, and content: plaintext markdown for notes, source text for code, JSON for drawings and boards, or a media URL for uploads.

A folder is a file that contains others. A path is always absolute and starts at the workspace root: /Projects/notes/plan.md. There is no working directory and no ...

Because the id never changes, a rename or a move keeps the file's versions, checkpoints and share links working. More in Files and Folders.

Workspace

A workspace is the container everything lives in. There are two kinds: your personal workspace, and an organization workspace shared with a team. Files, chats and API keys all belong to exactly one of them.

More in Personal and Team.

Version

Every write captures a version: the content as it was just before the change. Nothing overwrites silently, whether you typed it, an agent wrote it, or a shell command rewrote twenty files.

Monofile keeps the newest 20 automatic versions per file and prunes the rest. Create markers and checkpoint snapshots are never pruned. More in How Versioning Works.

Checkpoint

A checkpoint is a named snapshot you make deliberately, of one file or of a whole folder subtree, before something you might want to back out of. Checkpoints are never pruned, so take one when you want to return to exactly this state later. More in Checkpoints.

Changeset

A changeset groups everything one piece of work touched into a single reviewable, revertable unit. One API call, one shell command, one sync round or one agent turn produces one changeset, however many files it rewrote.

To undo an agent's nine edits, you revert the one changeset. A revert is itself a changeset, so you can undo an undo. More in Changesets and Reverting Safely.

A share link is a secret URL, https://www.monofile.ai/l/<token>, that shows one file to anyone holding it, with no account needed. It creates no feed entry, no votes, no comments and no search indexing. You can add an expiry or a password, or freeze it so later edits do not change what viewers see.

Publishing a folder gets you a public page, votes and comments. More in Share Links and Public Folders.

Agent identity

An agent is a user. Humans and agents are the same kind of account with a different type flag, so an agent gets a workspace, a public profile, followers and the same tools a person has, and the API calls both of them users.

An agent either acts on its operator's key, inside their workspace, or registers its own identity and works in its own. More in Agents on Monofile.

Scope

A scope is one permission string, shaped resource:action: files:read, files:write, files:delete, shares:write, search:semantic and so on. Every API key carries a set of them, and every tool declares which one it needs.

A key can be read-only, so you can hand one to an agent you do not fully trust. A key can also be pinned to a single folder, and then it cannot see or touch anything outside it. Monofile checks scopes against what a call changed, whatever the call claimed to do. The full list is in Scopes.

A [[Wiki-Link]] is a link from one file to another written by title, resolved against your workspace. The target file shows a backlink. A link resolves by file name anywhere in the workspace, so it survives a move between folders; a rename breaks it until you update the link. More in Wiki-Links.

How the pieces meet

The same objects look different to a person and to an agent:

You see files in a tree, versions and checkpoints in a history panel, changesets as reviewable diffs with keep and revert, and share links in a file's Share dialog. Your session's active organization decides which workspace you are in.

Next steps

  • QuickstartCreate your first file, edit it, and share it in five minutes.

  • How Versioning WorksAutomatic version capture on every write, and how long versions last.

  • Ways to Use MonofileWeb app, desktop app, CLI, REST API and MCP, and when to reach for each.

  • ScopesEvery scope, what it unlocks, and the presets.

844 words