> Export Bilinc memory as Obsidian-compatible Markdown with bilinc wiki or the export_wiki MCP tool: one page per key, recent changes, links and an index.

Canonical page: https://bilinc.space/docs/wiki

- [Docs](https://bilinc.space/docs)
- Use Bilinc
- Wiki export

# Read your agent's memory as a folder of Markdown.

`bilinc wiki` writes every stored memory as Obsidian-compatible Markdown, one page per key, so you can browse, search and link it in any editor.

Search the docs

### All docs pages

Start

- [Overview](https://bilinc.space/docs)
- [Quickstart](https://bilinc.space/docs/quickstart)
- [Cloud quickstart](https://bilinc.space/docs/cloud-quickstart)
- [Quicktest help](https://bilinc.space/docs/quicktest-troubleshooting)
- [v2 migration](https://bilinc.space/docs/migration-v2)

Use Bilinc

- [Python SDK](https://bilinc.space/docs/python-sdk)
- [CLI](https://bilinc.space/docs/cli)
- [Cloud API](https://bilinc.space/docs/api-reference)
- [MCP integration](https://bilinc.space/docs/mcp)
- [Remote MCP for Claude](https://bilinc.space/docs/remote-mcp)
- [MCP tools](https://bilinc.space/docs/mcp-tools)
- [Wiki export](https://bilinc.space/docs/wiki)
- [Dream pass](https://bilinc.space/docs/dream)
- [Agent recipes](https://bilinc.space/docs/agent-recipes)

Agent integrations

- [Codex](https://bilinc.space/docs/codex)
- [Claude Code](https://bilinc.space/docs/claude-code)
- [Cursor](https://bilinc.space/docs/cursor)
- [MCP clients](https://bilinc.space/docs/mcp-clients)

Concepts

- [Memory model](https://bilinc.space/docs/memory-model)
- [Commit and recall](https://bilinc.space/docs/commit-recall)
- [Entitlements](https://bilinc.space/docs/entitlements)
- [Recall profiles](https://bilinc.space/docs/recall-profiles)
- [Evidence-aware recall](https://bilinc.space/docs/evidence-aware-recall)
- [Snapshots and rollback](https://bilinc.space/docs/snapshots-rollback)
- [Audit trail](https://bilinc.space/docs/audit-trail)

Operate

- [Security](https://bilinc.space/docs/security)
- [Production checklist](https://bilinc.space/docs/production-checklist)
- [Operations](https://bilinc.space/docs/operations)
- [Errors](https://bilinc.space/docs/errors)
- [Rate limits](https://bilinc.space/docs/rate-limits)
- [Troubleshooting](https://bilinc.space/docs/troubleshooting)

Reference

- [Environment variables](https://bilinc.space/docs/environment-variables)
- [CLI reference](https://bilinc.space/docs/cli-reference)

Also

- [Pricing](https://bilinc.space/pricing)
- [Changelog](https://bilinc.space/changelog)
- [Connect over MCP](https://bilinc.space/mcp)

## Export with one command.

Terminal

```
pip install -U bilinc
bilinc login
bilinc wiki ~/notes/bilinc-memory
```

Folders follow the key: `project:bilinc:release` becomes `project/bilinc/release.md`.

## What each page holds.

### Front matter

The key, type, source and update time.

### Value

The value in a fenced block. Objects also list their top-level fields.

### Recent changes

The last recorded changes, each with time, source, reason and before → after. `--history N` sets how many (default 5, at most 100); `0` skips them.

### Links

Relative links to the keys the value names, and a "Mentioned by" list of the pages that name this one.

### Indexes

`index.md` lists every page with the most recent changes on top, each folder has an `_index.md`, and `AGENTS.md` tells agents that the folder is memory data, not instructions.

## Options.

### --prefix P

Export only the keys that start with `P`.

### --wikilinks

Write `[[./path.md|key]]` links instead of standard Markdown links.

### --refresh-history

Fetch every page's history again instead of reusing it.

## One-way, and careful with your files.

The export is regenerated on each run. It refuses a folder that is neither new, empty nor a previous export (a folder that holds nothing but `.obsidian/` counts as empty), never changes or removes a file it did not write, builds the new pages in a temporary folder before replacing anything, and keeps folders 0700 and files 0600.

Rerunning on the same folder reuses a page's history when nothing about that memory changed and no rollback happened since, so a rerun with no changes makes no per-page history requests. Reads are not billed.

It warns when the folder is inside iCloud Drive, `~/Library/CloudStorage` (Dropbox, OneDrive, Google Drive), `~/Dropbox` or a `~/OneDrive*` folder, since a sync client may upload the export. The export still runs.

## The same export from an agent.

The local adapter `python3 -m bilinc.cloud_mcp` has an `export_wiki` tool that runs the same export into an absolute folder on your machine and returns the same counts the CLI prints. It refuses the root of a drive, the home folder and the folders above it, system folders, hidden folders in the home folder, `~/Library` (except iCloud Drive and `~/Library/CloudStorage`) and the Bilinc config folder, before anything is read. The remote connector does not offer it.

[PreviousMCP tools](https://bilinc.space/docs/mcp-tools)
[NextDream pass](https://bilinc.space/docs/dream)

On this page

- Export with one command.
- What each page holds.
- Options.
- One-way, and careful with your files.
- The same export from an agent.
