Persephone
# <img src="assets/icon.png" width="38" /> Persephone
**Persephone** is a notepad for Windows and Linux that opens almost anything. It starts exactly like a notepad — one empty text page — but drop in a JSON file, a Word document, a SQLite database, or a ZIP archive and it shows the content, not the bytes. And it is built to be shared with AI agents: everything you see on screen, an agent can see and drive too.
**Website:** [andriy-viyatyk.github.io/persephone](https://andriy-viyatyk.github.io/persephone/) — demo videos, features and use cases, plus the [board catalog](https://andriy-viyatyk.github.io/boards/).

## One viewer for everything
Any file a developer meets during the day opens in place — in three tiers:
- **Built in** — code with syntax highlighting (Monaco, 50+ languages), JSON/CSV grids, Markdown, Mermaid diagrams, SVG and HTML previews, images, audio/video, archives (ZIP, RAR, 7z, TAR, ISO — including a look inside `.docx`/`.xlsx`), Excalidraw drawings, side-by-side diffs, and more. See the [full list](#built-in-editors) below.
- **Installable** — the **[persephone-boards](https://github.com/andriy-viyatyk/persephone-boards)** catalog adds viewers and editors on demand: Word, Excel, PowerPoint, PDF, draw.io diagrams, SQLite databases, Windows executables, notebooks, todo lists, force-directed graphs, an audio player, local speech-to-text and translation, and more. Open a matching file and an install offer appears right in the editor-switch control; each board is downloaded, checksum-verified, and trusted only after you accept it. The catalog keeps growing.
- **Made to order** — if no viewer exists for your file, ask an AI agent to build one. A viewer is a **Board**: a folder of plain HTML/JS/CSS with optional backend scripts. A simple viewer takes an agent a few minutes to create, and it plugs in like a native editor.
## A workspace shared with AI agents
Persephone ships a built-in [MCP](https://modelcontextprotocol.io/) server — enabled with one checkbox in Settings ([setup guide](assets/guides/mcp-setup/index.md)). It exposes a single tool, `call`, and behind it the whole application as one object model: pages and their editors, files, settings, dialogs, the browser, boards, Git, the window itself. The agent works in the same UI you are looking at:
- **It shows you things.** An agent opens pages with rendered Markdown, diagrams, sortable grids, and highlighted code — instead of dumping walls of text into a chat.
- **It sees what you see.** Every open page is addressable — `pages[2].editor` is the grid, the Markdown preview, the browser tab, or the board you are looking at — with its content, selection, and controls. Snapshot, click, and type work on the app itself and on web pages in the built-in browser.
- **It does what you can do.** Anything reachable from the UI is reachable from a path: read and edit documents, switch editors, open files, run scripts, stage and commit in Git, install a board. Boards and web pages can publish their own model too, so a viewer an agent built this morning is as transparent to it as a built-in editor.
- **It keeps up.** Every result carries the events the agent has not seen yet — a page you opened, a selection you changed — and it can walk you through the app step by step with highlighted controls and Skip / Next tooltips.
Content lives in one place and both of you operate on it: the agent drafts, you correct; you paste, the agent transforms.
### Why this is easy: "AI vision"
This transparency is not hundreds of hand-written MCP tools — one per screen and action, all charged to the agent's context on every turn. Instead every object in Persephone carries a small self-description: what it is, what its members are, one line of help each. The agent starts with `call` and no path, reads a short overview, and descends only into the branch the task is about. Each result hints at what lies below, and a wrong path answers with the right names. The agent looks at the one part of the application the task concerns — hence *vision* — and everything else costs nothing. A small model that got lost choosing among individual tools drives the same app through paths with few mistakes.
The engine is published as the standalone **[ai-vision](https://github.com/andriy-viyatyk/ai-vision)** library ([npm](https://www.npmjs.com/package/ai-vision)), so any application can describe itself the same way — and when such an app runs as a board or in Persephone's browser, its model plugs straight into the same tree.
## Boards — a platform for mini apps
Boards turn Persephone into a platform for small personal applications: dashboards, data browsers, deployment helpers, tools specific to one project. A board runs locally in a sandboxed webview with **no remote network access**, is trusted per board, and pins to the sidebar next to the built-in editors.
The practical loop: describe the tool you need to your agent — it scaffolds the board, builds it, opens it, and iterates while you watch. Tools that used to stay on a "someday" list become things you get within a coffee break. See the [Boards guide](assets/guides/boards/index.md).
## Also inside
- **Web browser** — tabs with profiles, incognito mode, Tor routing, bookmarks, DRM video support, and [WebMCP](https://developer.chrome.com/docs/ai/webmcp): tools a site registers with `document.modelContext` become callable methods for your agent. Links from Markdown and code open in the nearest browser tab.
- **Git integration** *(off by default)* — a commit-graph editor across all branches, staging and committing, push/pull, and revision diffs for any tracked file.
- **Mneme — vector memory** *(off by default)* — turns any folder of Markdown notes into a locally indexed knowledge base with hybrid full-text + semantic search, exposed over MCP so agents remember across sessions. See the [Mneme guide](assets/guides/mneme.md).
- **Screen snip and recording** — capture a region of the screen into the Excalidraw board for annotation, or record the window, a page, or the editor area to video.
- **Voice typing** — dictate with a shortcut (`Alt+V`), or dictate and translate to English (`Alt+Shift+V`), using the local Speech to Text board from the catalog.
- **Agent Tools** — turn a working integration script (any language) into a reusable, parameterized tool that agents discover and run over MCP. See the [Agent Tools guide](assets/guides/agent-tools.md).
- **Site extensions** — trusted scripts that give a website a model your agent can call, instead of re-reading the page every time. See the [Site Extensions guide](assets/guides/site-extensions.md).
- **Themes and languages** — eight built-in color themes plus your own, and the interface in 18 languages.
- **Scripting** — the `app.*` API behind the agent's object model is yours too, in a JavaScript/TypeScript tab with full Node.js access. See the [Scripting guide](assets/guides/scripting/index.md).
## Download
### Windows
| Format | Link |
| :--- | :--- |
| **Installer** | [-blue?style=for-the-badge&logo=windows)](https://github.com/andriy-viyatyk/persephone/releases/latest) |
| **Portable** | [-orange?style=for-the-badge&logo=windows)](https://github.com/andriy-viyatyk/persephone/releases/latest) |
### Linux (x86_64)
| Format | Link |
| :--- | :--- |
| **Debian package** | [-E95420?style=for-the-badge&logo=ubuntu)](https://github.com/andriy-viyatyk/persephone/releases/latest) |
Install with `sudo apt install ./persephone-<version>-linux-amd64.deb`. Ubuntu 26.04 LTS GNOME is supported; Debian 13 was install-checked; other distributions are untested. See the [Linux installation guide](assets/guides/getting-started.md#linux).
### Privacy policy
Persephone does not collect or send usage data. It contacts other networked systems on its own in three cases only:
- **Update check:** on start-up it asks the GitHub API for the latest release version, to tell you when an update is available.
- **Board catalog:** at most once a day it downloads the list of installable boards from this project's GitHub repositories.
- **Widevine DRM component:** the Electron runtime downloads Google's Widevine module so the built-in browser can play protected video. Google's [privacy policy](https://policies.google.com/privacy) applies to that download.
Everything else is network traffic you start yourself: web pages in the built-in browser, Git push/pull, boards you install, scripts you run.
## Built-in editors
| Editor | File Types | Description |
| :--- | :--- | :--- |
| **Text Editor** | all files | Monaco-powered editor with syntax highlighting for 50+ languages |
| **JSON Grid** | `.json` | Sortable, filterable table view for JSON arrays |
| **CSV Grid** | `.csv`, `.tsv` | Spreadsheet-like view with auto-detected delimiters |
| **JSONL Grid** | `.grid.jsonl`, `.jsonl`, `.ndjson` | Grid view for JSONL/NDJSON data — one JSON object per line |
| **Log View** | `.log.jsonl` | Structured viewer for JSONL log files with log-level filtering |
| **Markdown Preview** | `.md` | Rendered markdown with live updates and Mermaid diagrams |
| **Mermaid Diagrams** | `.mmd`, `.mermaid` | Rendered diagram with theme, look (Classic / Neo / Hand-drawn) and layout (Dagre / ELK) choices, image export, and conversion to Excalidraw |
| **SVG Preview** | `.svg` | Rendered SVG with zoom and pan |
| **HTML Preview** | `.html` | Sandboxed rendered preview with script support |
| **Image Viewer** | `.png`, `.jpg`, `.gif`, `.webp`, `.bmp`, `.ico` | Image viewer with zoom and pan |
| **Audio / Video Player** | `.mp4`, `.mkv`, `.webm`, `.mov`, `.avi`, `.mp3`, `.flac`, `.wav`, `.m4a`, `.m3u8` | Plays local and streamed media, with HLS streams and a VLC fallback for formats Chromium cannot play |
| **Archive** | `.zip`, `.rar`, `.7z`, `.tar`, `.tar.gz`, `.cab`, `.iso`, `.docx`, `.xlsx`, `.epub` | Browse archive contents as a file tree; open entries inline (ZIP-based formats are writable) |
| **Folder View** | folders | Browse a folder or an archive directory as a list |
| **Excalidraw board** | `.excalidraw` | Bundled Excalidraw drawing editor with libraries, image export, and screen snips |
| **Links** | `.link.json` | Bookmark/link manager with tiles, list view, categories, and pinned links |
| **REST Client board** | `.rest.json` | HTTP request builder with collections, body types, and response viewer |
| **Board** | folder w/ `board-manifest.json` | Sandboxed custom HTML mini-app — dashboard, tool, viewer, or custom editor |
| **Browser** | — | Web browser with profiles, incognito, Tor, bookmarks, DRM support, and WebMCP site tools for agents |
| **Git Tree** | — | Commit-history graph with branches & tags, staging, commit, and pull/push *(Git integration)* |
| **Git Diff** | — | Side-by-side revision comparison for any tracked file *(Git integration)* |
| **Compare** | any two files | Side-by-side diff view |
More viewers and editors — PDF, Word, Excel, PowerPoint, draw.io, SQLite, Notebook (`.note.json`), Todo, and others — install on demand from the **[persephone-boards](https://github.com/andriy-viyatyk/persephone-boards)** catalog: browse it from the **Search boards** tab of the Tools & Editors hub, or just open a matching file. See the [Boards guide](assets/guides/boards/published-boards.md#published-boards-catalog--discover-install-update).
---
## Documentation
* **[User Guide](assets/guides/index.md)** — Getting started, editors, keyboard shortcuts
* **[MCP Setup](assets/guides/mcp-setup/index.md)** — Connect AI agents to Persephone
* **[Boards Guide](assets/guides/boards/index.md)** — Custom viewers, editors, and mini apps
* **[Mneme Guide](assets/guides/mneme.md)** — Vector memory / Markdown knowledge base for AI agents
* **[Scripting Guide](assets/guides/scripting/index.md)** — Script execution, `page`/`app` API, autoload scripts
* **[API Reference](assets/guides/scripting/api/index.md)** — `app` (`pages`, `fs`, `settings`, `fetch`, …), `page`, `io`, `ui` (Log View), `editors`, `window`
* **[What's New](assets/guides/whats-new.md)** — Recent changes
---
## Contributing & Feedback
Contributions, bug reports, and feature requests are more than welcome!
* **Found a bug?** Please [open an issue](https://github.com/andriy-viyatyk/persephone/issues) with a description and steps to reproduce.
* **Want to contribute?** Feel free to fork the repository and submit a pull request — a new viewer, a bug fix, or a typo in the documentation, every bit helps!
* **Ideas?** If you have a "cool idea" for a tool that should be built into Persephone, jump into the [discussions](https://github.com/andriy-viyatyk/persephone/discussions) and let's talk about it.
### For Contributors
This project is developed with AI coding agents (**Claude Code** and **Codex**). Before contributing, please review:
* **[CONTRIBUTING.md](CONTRIBUTING.md)** - Setup guide and coding standards
* **[Developer Docs](doc/README.md)** - Architecture and standards
* **[Active Work](doc/active-work.md)** - Current epics and tasks
* **[Agent guidelines](doc/agents-common.md)** - Project context shared by all coding agents ([CLAUDE.md](CLAUDE.md) and [AGENTS.md](AGENTS.md) point to it)
---
Licensed under the MIT License.
TDQS
Scored across 1 tool
There is only one tool, so there is no tool-to-tool ambiguity. The path-based interface centralizes all actions under a single entry point, eliminating misselection between tools.
With a single tool named 'call', there is no possibility of inconsistent naming conventions across the set. The name is a simple verb and is used consistently by definition.
One tool is borderline thin by conventional MCP standards, but it is a deliberate universal path-based dispatcher covering an entire application. The count feels sparse, though the design is intentional and discoverable.
The path-based API exposes the full live object model, including pages, editors, scripting, and help. It supports reading, acting, method calls, and assignments, with built-in discovery hints, so no obvious domain gaps remain.