Skip to content
Français
Try it

Concepts

This page explains what Synaptane is, the words used throughout the documentation, and how the pieces fit together. For the files inside a space’s repository, see Repository format.

Synaptane is a team second brain stored in Git.

  • Each space is a remote Git repository (GitHub, GitLab, Gitea or any Git server). Its content/ folder reads like a wiki.
  • Markdown first, and all your files. Pages are Markdown; PDFs, Office documents, images, HTML pages and any other file sit next to them, displayed in the wiki, searchable and readable by assistants (see Files).
  • People use it first from their AI assistant (Claude, ChatGPT…) over MCP: they search, read, and drop what they learn into a space’s inbox.
  • Every night, an AI agent tidies the inbox into the content/ tree, creating folders when needed. It commits the result directly: Git is the history and the undo button.
  • Search is plain text by default, like grep. It becomes hybrid (text and embeddings) on the spaces where an embedding model is configured.

A typical day: an administrator creates an organization and a space linked to a GitLab repository. A member connects Synaptane to Claude.ai and, from a conversation, drops a note into the inbox. That night, the note is filed into content/ by a commit pushed to GitLab. The next morning, the page shows in the wiki and the assistant finds it through search.

Term Meaning
Instance One deployment of Synaptane, with its accounts.
Organization A group of spaces with its members and administrators (a company, a team, a personal use…).
Space A remote Git repository and one of its branches. It belongs to a single organization. Named organization/space, for example acme/infra.
Content The files under content/, Markdown pages and any other file: what the wiki, search and MCP show.
Inbox Items waiting to be filed: notes under .synaptane/inbox/, plus pages changed directly.
Tidy-up The AI agent’s daily run that empties the inbox into content/.
Purpose What a space is for, what goes in it and how it is organized (.synaptane/vocation.md). Read by the tidy-up, routines and assistants.
Tidy-up rules Precise filing rules for the agent (.synaptane/prompts/tidy.md).
Routine A scheduled agent task on a space (weekly consistency check, weekly digest…) that writes a report and can drop items into the inbox.
AI provider Credentials for a language model or an embedding model, set per organization: an API key, or a Claude or ChatGPT subscription.
Role Scope Can
Super admin Instance Create and disable accounts and organizations, appoint organization administrators, configure single sign-on. Administers every organization, and reads and writes all their content in the web UI and the REST API (through MCP, only the spaces they actually belong to).
Organization administrator Organization Create and configure spaces (repository, Git credentials, tidy-up time, embeddings, purpose, routines), manage members and roles, AI providers, webhooks. Has contributor rights on every space of the organization.
Contributor Space Read, search, drop notes into the inbox, change content/ directly (web, MCP, REST), start a tidy-up by hand.
Reader Space Read and search. A reader does not drop notes into the inbox.
  • An account can hold roles in several spaces of several organizations.
  • Default role. An organization can give each of its members a role on every one of its spaces, present and future, without adding them one by one (organization Settings, “Default role in the spaces”: no access, which is the default, reader or contributor). A member’s effective role is the higher of the role given in the space and the default role. A restricted space (space Settings → Members, for human resources or management) ignores the default role: only the members added to it, the members of the groups given a role on it, and the organization’s administrators, access it. The default role applies everywhere access is checked: web UI and downloads, search (semantic too), REST API, MCP, emails. Nobody ever reaches the spaces of an organization they do not belong to, and a token limited to some spaces, to reading or to the inbox stays limited. Changes of the default role and of the restriction are written to the audit log. A space can be created restricted.
  • Groups. An organization’s administrators gather some of its members in groups (Groups tab of the organization: human resources, management, a project team) and give each group a role, reader or contributor, on one or several spaces. A member’s effective role on a space is the highest of the role given in the space, the roles of their groups on it, and the default role. A group’s role applies to a restricted space too: that is how such a space is opened to a team, without opening it to the whole organization. Only members of the organization join its groups, and a group only has roles on the spaces of its organization. Removing someone from the organization removes them from its groups; deleting a group removes the access it gave; deleting a space removes the groups’ roles on it. Groups apply wherever access is checked, like the default role, and the limits of a token still apply. The members page of a space lists the groups that access it and says, for each person, where their access comes from. Changes to groups are written to the audit log.
  • Adding someone to a space (or inviting them) makes them a member of its organization: with a default role, they then also get it on every space of the organization that is not restricted. Removing them from a space that is not restricted leaves them the default role.
  • An invitation can also name groups of its organization: on accepting, the person becomes a member of the organization, then of these groups. A group deleted in the meantime is not joined; a group of another organization can never be named.
  • A personal token or an OAuth connection never has more rights than its owner. It can be limited to reading and to some spaces; a limited token administers nothing.
  • Through MCP, a super admin only reaches the spaces they are actually a member of (or whose organization they administer): their assistant does not see the whole instance.

Sign-in. Local accounts (password) and single sign-on (GitLab, including self-hosted, GitHub, Google, or any OIDC provider) coexist. Single sign-on grants no rights by itself: allowed email domains restrict who can sign up, but they still grant no membership, and an administrator adds each member. See Single sign-on.

  • The content lives in the repositories. The PostgreSQL database holds the accounts, organizations, spaces and permissions, the settings (repository, tidy-up, AI providers, webhooks, single sign-on), tokens and connections, encrypted secrets, the job queue, the tidy-up and routine history (routines themselves are files of the repository), the audit log and the semantic index (pgvector, rebuilt from Git). Full-text search needs no index: ripgrep reads the repositories and the extracted text, kept under data_dir. synaptane reindex rebuilds the extracted text and the semantic index from Git.
  • Each space has a local clone. Every write is a readable commit: the author is the person who acted (or the tidy-up agent, Synaptane tidy-up), and the message says what was done (Inbox: …, Tidy-up: …, Synaptane: initialize space…). The commit is pushed right away. Histories written by older versions keep their French author names and subjects (Synaptane – rangement, Rangement : …), still recognized.
  • Changes made elsewhere (a push, an edit on the Git host) are fetched through an incoming webhook, with a fallback poll every 5 minutes, then indexed.
  • When histories diverge, Synaptane rebases or merges. On a conflict, the space is marked as such and an administrator chooses, file by file, between the remote version and the local one. Synaptane never force-pushes and never lets an AI resolve a conflict.

Details: Git repositories.

Markdown is the native format: only Markdown pages have links, backlinks, an outline, a verification state and related pages, and the tidy-up agent writes Markdown. But a space stores any file, in the same Git history, and Synaptane makes the most of each one:

Format In the wiki Search AI assistants (MCP)
Markdown (.md, .markdown) Rendered page Words and meaning Read and write
PDF Built-in viewer Text layer, or OCR for scanned pages Read the extracted text
.docx, .pptx, .xlsx, .odt, .odp, .ods, and the old .doc, .ppt, .xls Download, extracted text below Extracted text Read the extracted text
Images (PNG, JPEG, GIF, WebP, AVIF, BMP, SVG) Displayed Text in the image, by OCR (not SVG or AVIF) Read the OCR text
HTML (.html, .htm) Rendered in an isolated frame, source one click away Words Read and write
Other text files (CSV, JSON, YAML, code, logs…) Syntax highlighting Words Read and write
Anything else Stored, versioned, downloadable File name Listed, no text
  • The text of PDFs, Office documents and images is extracted by the worker (pypdfium2, Tesseract for OCR, catdoc for the old Word and Excel formats) in a separate process limited in memory and time, and kept in a cache outside the repository. Search, related pages, semantic search, MCP and the tidy-up agent all use it.
  • Files arrive from the web UI (25 MB per file), as attachments of a note dropped by an assistant or through the REST API (filed by the tidy-up), or with a git push.
  • The old binary formats .doc, .xls and .ppt are read with limits: in a .xls, dates in a custom format show as numbers; in a .ppt, the text of masters, charts and embedded objects is not read; a file protected by a password has no text.

Details: Files other than Markdown.

Notes. From MCP, the REST API, the web UI or by email (the capture by email), a contributor drops a note: a title, Markdown content, optional attachments, where it comes from and an optional filing suggestion. Synaptane commits and pushes the note right away under .synaptane/inbox/. A note is only refused for its size, for permissions, or because it seems to contain a secret (password, API key, private key, credentials in a URL); the person can confirm a false alarm.

Changes. A contributor can also change content/ directly (web, REST, MCP), and anyone with access to the repository can push to it. Each changed page shows in the inbox as a change item, computed from the Git history (no file is written): the page, its authors, its commits and the combined diff since the last tidy-up. Whitespace-only changes and changes to the verification fields of a page are ignored. Synaptane’s own commits (tidy-up, merges) never produce change items.

Every day at the time set for the space (in its time zone), or on demand, if the inbox has items:

  1. The agent receives the space’s description and purpose, the default instructions and the space’s own rules, the list of items and an overview of the content/ tree.
  2. It explores the wiki (tree, read, search, backlinks, related pages, history) and acts: create, complete, rewrite, move, rename, merge or delete pages and folders, including pages that did not come from the inbox. A move updates the links that pointed to the page.
  3. Each item is closed: a note is removed from the inbox once filed; an item the agent cannot file stays, with its reason, and is tried again on the next run. For a change item, the agent checks links, location, consistency with neighboring pages and duplicates.
  4. The run produces one commit, pushed right away. Its report (items, pages touched, cost) is shown in the web UI and can trigger a webhook. A run can be undone (a revert of its commit).

Language. The agent’s instructions are in English. It writes in the language of the space’s existing pages, or the one its purpose sets; in a space with no pages yet, in the language of the note it files. A page it completes keeps its language. Routines follow the same rule.

Safeguards. Each run has caps on model calls, tokens, tool calls and deletions; two runs never happen at the same time on one space. An inbox too large for one run (25 items) is emptied by chained runs. Each run has an estimated cost, and an optional monthly budget limits spending. Content dropped into the inbox is always data, never instructions for the agent.

Providers. Anthropic, OpenAI, Mistral, Ollama and any OpenAI-compatible endpoint (API key), plus two subscriptions: Claude (Claude Code) and ChatGPT (Codex). The model is free to choose; it is set per organization and can be overridden per space.

Details: AI and tidy-up.

A team’s infrastructure wiki, a marketing team’s notes and a family’s papers are not filed the same way. Each space can describe, in two Markdown files versioned in its repository:

  • its purpose (.synaptane/vocation.md): what the space is for and for whom, what goes in it and what does not, how folders are organized, conventions, what matters most, vocabulary. The tidy-up, routines and AI assistants read it.
  • its tidy-up rules (.synaptane/prompts/tidy.md): precise rules for the agent only, such as “one page per supplier in suppliers/”.

Templates are provided (infra, marketing, product, client, personal, family, job-search, blank), in English and in French: each person is offered them in the language of their account. Neither file lifts the safeguards.

A routine is a set of instructions, a schedule (daily, weekly or monthly, at a local time of the space), a scope (some folders, or the whole space) and outputs: a report page rewritten on each run, items dropped into the inbox, an email, a routine.done webhook. The routine agent reads the wiki and writes only to its outputs: actual fixes go through the inbox and the nightly tidy-up, with its safeguards. Two templates are provided: a weekly consistency check (contradictions, outdated information, duplicates) and a weekly digest of what the team learned and decided, in English and in French (the language of the person who creates the routine).

Each routine is a file of the space’s repository, .synaptane/routines/<name>.md: Git is the source of truth; the database keeps a copy of its settings, brought in step at each synchronization, and the state of its runs. Organization administrators create, change, run and delete routines from Synaptane; anyone who can push to the repository can change them too. Contributors of the space see them and their log. The nightly tidy-up is not a routine.

A routine can also read outside services over HTTP (a status page, a ticket tool): the organization’s administrators declare these external sources in the space, with their address and secret, and a routine’s file only names the ones it reads. A push therefore never gives a routine a new destination, and the agent never sees a secret (see External sources).

  • Text: ripgrep over content/ and over the text extracted from PDF, Office documents and images (kept outside the repository). Case-insensitive by default, regular expressions as an option. Results are ranked by relevance: matches in the title and path, number of matches, freshness.
  • By meaning (optional, per space): an organization administrator chooses an embedding provider and model. Pages are split into Markdown sections (other texts and extracted text into passages) and indexed in pgvector on each change. A query on such a space combines text and vectors; a search across several spaces merges results without penalizing spaces without embeddings.
  • Permissions are always applied before searching.

See Search.

  • MCP: a single /mcp endpoint (Streamable HTTP), OAuth 2.1 with PKCE and dynamic client registration, or personal tokens. A connection reaches the spaces chosen at consent time: all the person’s spaces, including future ones, or only some (for a person in several organizations, only one organization’s spaces are ticked by default). Administration is not exposed over MCP. See Connect your AI assistant.
  • Web UI: wiki (tree, pages, links, PDF viewer, HTML preview, history and diff), search, Markdown editing, inbox, tidy-up log, routines, tokens and connections, administration, Git status and conflict resolution. See Read, write and search the wiki.
  • REST API (/api/v1): most of MCP’s capabilities (not backlinks, recent_changes, diff or append_page) plus all administration, with a generated OpenAPI schema. See REST API.
  • Outgoing webhooks: per organization, signed with HMAC, retried on failure. See Webhooks.
  • Git is the source of truth. Content lives in plain repositories that people already know how to host, review and back up; the database keeps no content of its own.
  • One space, one repository branch, one organization. Permissions and history stay simple; an organization groups spaces with their administrators.
  • Drop first, file later. Assistants drop notes into an inbox instead of editing pages directly; an agent with the whole picture files them once a day, in one reviewable commit.
  • Direct commits, no review queue. The tidy-up commits without waiting for approval. Git history and one-click revert are the safety net, together with caps and alerts.
  • No AI in conflict resolution. Conflicts between Synaptane and the remote are resolved by a person, file by file; Synaptane never force-pushes.
  • Any provider. The agent runs on any supported model, with an API key or a subscription, without an allowlist of models.
  • Grep first. Plain-text search works everywhere with no setup; search by meaning is an option per space.