Skip to content

Run the desktop app

VERA's desktop app is an Electron application with a React interface and a local Python sidecar. Windows users can install the packaged app from GitHub Releases. The remaining sections describe running and packaging it from a repository checkout.

Install the Windows app

Download the VERA.Setup.<version>.exe installer from the latest GitHub Release, run it, and then open VERA from the Start menu. Installed builds check that release for updates at startup. Help > Check for updates checks again. A download installs the next time you restart VERA.

The installer registers .vera archives and the vera:// link used by VERA Pro sign-in. After choosing VERA as the default app for .vera files, double-click an archive in File Explorer or on the desktop to open it directly in Document Preview. If VERA is already running, the existing window is restored and reused instead of starting a second app instance. File > Open... (Ctrl/Cmd+O) does the same thing: it picks a .vera only.

Those routes open the archive as a standalone document. The file becomes the Search/Chat scope, its parent folder is not added to Explorer, and the saved active library is cleared (preserveLibrary: false, including localStorage key vera.activeLibraryPath). A later Explorer click or preview of a .vera does not replace the library — only File/shell open does. Restore a library with File > Add Library... (Ctrl/Cmd+Shift+O) or by activating a library already listed in Explorer.

Libraries and folders

Explorer has two sections. Libraries are folders you search as a whole: clicking a library header makes it the Search/Chat scope, its badge tracks the collection index, and the last active library is restored on startup. Add one with File > Add Library..., the library button in the Explorer header, or the + beside Libraries. Folders are places you only browse — for example a project folder that holds a few .vera files among other documents. File > Open Folder... adds one. A plain folder has no index badge and never becomes the active library; clicking its header expands or collapses it. Check its .vera files to search them, convert its PDFs, Markdown, Word, PowerPoint, or Excel files, or right-click it and choose Make this a library. Right-clicking a library offers Remove from Libraries, which keeps it open as a plain folder. Folders saved before this split reopen as libraries. Adding a library inside another library asks first: Search this folder searches it within the existing library without a second index, and Add as separate library adds it anyway. Adding a folder that contains libraries offers Use “…”, which closes the inner libraries and shows them inside the new one, or Keep both. Adding or converting a library creates a managed library: a hidden .vera/ folder holds mirrored archives, the collection index, and trash. VERA syncs it when the library is added, when files change, and about every 10 minutes. A sync that has files to check or convert shows in the footer status bar, where Stop cancels it and holds the library. File changes and the periodic check do not start it again until you choose Convert or Check for changes now. Checking library N of M means VERA is hashing files to see what changed. Converting N of M starts after that check: M is the number of documents this sync will convert, and it stays M until those documents are finished. Renames (Moving archives) and trash (Moving to library trash) use their own counts. The sync rebuilds the library index only when that index is missing or out of date. An index that still matches its archives is left as it is. A large disappearance asks before archives are moved to trash. Right-click a library for Library trash…, and a converted document for Share archive…, which copies that one .vera file out. Sibling .vera files that match their sources can be moved into .vera/archives/ when the library is created. PDFs convert with the default pymupdf pipeline. When a plugin adds another PDF pipeline (see Plugins), making a folder a library first asks which one its PDFs should use, before conversion starts. The same dialog has Different folders use a different pipeline. Open it to add folders that should use another pipeline, as a path or a pattern such as Projects/*/Plans (* matches one folder name). Folders left off that list keep the library choice. Use default starts with pymupdf and no folder rules. For example, the optional plans plugin reads lettering drawn as linework and keeps detail titles searchable in drawing sets. A library can mix pipelines. Right-click the library or one of its subfolders and choose PDF pipeline…. Hover the item to see which pipeline the folder uses now and where that was set. The dialog offers Same as parent folder (Library default on the library itself) and each installed pipeline. A pipeline that also reads other formats, such as Docling with Word files, says so. Subfolders follow the choice unless they set their own. Save and sync stores the choice in the library's hidden .vera/library.json (the same rules vera library pipeline edits) and reconverts only the PDFs whose pipeline changed.

The library list is stored in localStorage (vera.libraryPaths).

Each folder is a tree. Subfolders start collapsed and remember whether you expanded them; a chain of folders that only contain one subfolder is shown as one row (for example reports/2024). A PDF, Markdown, Word, PowerPoint, or Excel file and its archive appear as one document row. The row icon matches the source type. A .vera file with no source beside it keeps the VERA mark. In a managed library the archive lives under .vera/archives/ and pairs by the full source name (Site Plan.pdf with Site Plan.pdf.vera). A loose archive beside its source uses the same name (Report.pdf.vera). An older Report.vera still pairs by file-name stem. A converted document shows a green dot. Sources that are not converted yet show their file name in a muted style with a grey dot. A plain folder or subfolder that holds unconverted sources shows a grey sync-arrow badge with the count of files not searchable yet; select it to convert those files with your default settings. The badge turns blue and its arrows spin while that folder is converting. A library header shows a status chip instead of that badge. Right-click a subfolder to convert it or show it in the system file manager. Inside a library, select a subfolder to limit Search and Chat to that folder and its subfolders, using the library's index. The arrow beside the name only expands or collapses the row. The selected folder is highlighted and the scope line under the search box reads Folder “…” in “…”. Select the library name, or Whole library under the search box, to search the whole library again. Checking files overrides the folder scope. Right-clicking a converted document offers Preview document, Reconvert…, Layout report, and Move .vera to Recycle Bin. Moving the archive to the Recycle Bin leaves the source file in place. Layout report writes a vera-lab HTML page for that archive into the folder from Settings → Layout lab and opens it. The report keeps the archive's own folders under that directory, so two files with the same name stay apart. Until that folder is set, the menu item opens Layout lab settings. The packaged app includes vera-lab.

Settings

File > Settings, or the gear at the bottom of the left sidebar, opens on Overview. It shows what is ready and what still needs setup. Search and Convert need nothing there. Type in Search settings to find a section by everyday words such as api key, ollama, or log. Changes save as you make them, and Done closes the dialog.

AI providers chooses the model that answers in Chat. Chat model lists every enabled model and sets the default for every chat mode; the provider behind it shows a Default pill. Providers are grouped as Online services (VERA Pro, OpenAI, OpenRouter) and On this computer (Ollama, LM Studio). Open one to set it up. For an online service, paste its key; Get a key opens the provider's key page in your browser. For a local server, select Connect. VERA loads the model list as soon as a key is saved or a local server answers, and makes the first model the chat default when none is chosen yet. Lists more than an hour old are checked again when Settings or the model list opens, and after five minutes when you open that provider. The refresh icon beside Models checks right away. Advanced options holds the base URL, temperature, Context tokens, and Remove provider. Add a custom endpoint connects any other OpenAI-compatible server.

Embeddings shows the search model Convert uses and stores keys for online search models. Agent access shares libraries with other AI apps. Hugging Face holds an optional download token that most people can skip. Layout lab chooses the folder where Layout report saves HTML. Diagnostics opens the convert log and checks for updates.

VERA Pro

The bottom of the left sidebar shows the signed-in email, a Pro mark when the subscription is active, and the settings gear. Sign in there opens the browser when this build is connected to VERA Pro. File > Settings → Account signs this computer in through the same browser handoff. The site redirects to vera://auth/callback, and VERA stores the session with Electron safeStorage. A current subscription saves this computer’s model key during that sign-in, separately from any OpenRouter key you paste under AI providers. Account shows the percent of this month's allowance already used. Get Pro opens the subscription page only when the account has no current subscription. Manage subscription opens the account page instead.

Search does not need Pro. Without a subscription, add your own provider (OpenAI, OpenRouter, Ollama, or LM Studio). If Chat is opened with no provider, VERA offers Use VERA Pro and Add your own provider.

Account sign-in needs VERA_PRO_SITE_URL, VERA_PRO_SUPABASE_URL, VERA_PRO_SUPABASE_ANON_KEY, and VERA_PRO_RELAY_URL. Those values are the public site URL, the Supabase anon key, and the cloud relay origin, not the service role key. A source run reads them from the repo-root .env (copy .env.example). npm run app:dev loads that file before Electron starts, and the desktop process loads it again when it is not packaged. Values already set in the shell win. A packaged build with empty pro-cloud.json shows Account as not connected. Release builds fill that file from the same variables.

Chat through VERA Pro sends the question and retrieved passages to OpenRouter and the selected model provider. When OpenRouter rejects the saved key, VERA asks the account for a new one and retries that question once. Canceling the subscription disables the key. Signing out of Account leaves a saved key on disk until you clear it.

Agent access

File > Settings → Agent access lets AI assistants search one or more folders while VERA Desktop is open. It has three steps.

  1. Choose folders. Add the folder that holds your documents. Adding the first folder starts sharing, and removing the last folder stops it. Rename sets a short name. Agents pass that name as library instead of the full path. Leave the folder name when you do not need a shorter one.
  2. Where does your AI run? Choose In the cloud for ChatGPT, Claude, Grok, and other assistants you sign in to, whether you use them on the web, in a desktop app, or on a phone. This is the default. Choose On this computer for Cursor, VS Code, Claude Desktop, and other apps that connect to VERA directly.
  3. Connect. The steps depend on your choice.

In the cloud. Cloud assistants reach this computer through VERA's relay. Allow cloud agents needs a VERA account with an Agent Access subscription. VERA Pro does not include it. Signed out, the step shows Sign in and Get Agent Access. Turning Allow cloud agents on also starts local sharing, because the relay forwards each request to that local service. The desktop app opens an outbound connection to the relay in VERA_PRO_RELAY_URL. Add the Connector URL as a custom connector in the assistant. The assistant signs in with the VERA account. Search works only while this app is open. Closing the app makes the assistant report that VERA Desktop is not connected. Manage computers appears when more than one computer is signed in. Cloud agents use stays on Automatic or the computer you pin. Use this computer chooses this one. The others stay connected in standby. The status bar names the computer cloud agents are using. Select it to open Agent access.

On this computer. Let apps on this computer search these folders shares the folders through one loopback MCP service, so every local agent uses the same loaded embedder and the same access policy. Turning it off also pauses cloud assistants. Pick Claude Desktop, Cursor, VS Code, or Other, then copy that one snippet. Claude Desktop uses a command that runs mcp-connect, which fails if Desktop is not running. Cursor and VS Code use the local web address. Advanced has the HTTP snippet and the Stdio snippet. Reset connection key replaces the token, and snippets you already copied stop working. vera mcp from a Python install is unchanged and does not use this service.

Excerpts a connected agent retrieves are sent to that agent's model provider. The .vera files stay on this computer.

Requirements

  • Git
  • Python 3.10 or newer
  • uv
  • Node.js and npm
  • Source-run (npm run app:dev) works on Linux, macOS, and Windows. The packaged installer currently targets Windows only.

Clone the repository

git clone https://github.com/dkylewillis/vera.git
cd vera

All remaining commands in this guide run from the repository root.

Install the app dependencies

Install the Electron and React dependencies:

npm run app:install

The development command uses uv to create or update the Python environment and install the vera-app sidecar and vera-doc engine.

Start the development app

npm run app:dev

This starts the Vite development server and then opens the Electron window. Keep the terminal running while using the app. Press Ctrl+C in that terminal to stop both processes.

Convert documents

Most conversions start from Explorer. Right-click a library, folder, subfolder, or unconverted file and choose Convert (the menu shows how many files are new, for example Convert 3 new files). Conversion starts right away with your saved settings: files that already have an up-to-date .vera are skipped, subfolders are included, and progress shows in the footer status bar, which also has a Stop button. Inside a managed library (one with a hidden .vera/ folder), Explorer's Convert and the Convert view's Convert button both sync the library: new and changed files convert into .vera/archives with the library's own settings, and the library index updates afterward. Office lock files (~$…) that Excel, Word, or PowerPoint leave beside an open document are ignored. While that library is already syncing, Convert stays locked and reads Syncing… instead of starting a second pass. Stop in the status bar cancels the sync. After it finishes, Convert reports anything still pending. In other folders that already have archives, Explorer's Convert uses their embedding model so the folder stays searchable as one corpus. The Convert view opens on its own only when something needs attention, such as a failed file or a missing API key. Converting one file opens Document Info for the new archive. Parts VERA leaves out of search by design, such as Word headers, footers, and comments, appear as a plain note under Not searched. That is normal and does not mean the convert went wrong. Content that could not be read, such as a damaged table, appears under Warnings. Choose Convert with options… instead to review settings first.

The Convert view shows What to convert (a folder or a list of files; Add files… and Choose folder… replace the Explorer selection) and the Convert button. The result summary reports converted, already-up-to-date, failed files, and files converted with warnings, with Show details for per-file errors, warnings, and notes. Notes are not counted as warnings. Document Info lists the same ingest_warnings and ingest_notes. If the target library already uses a different model, Convert warns that mixing models leaves some documents out of semantic search and offers to switch back. Everything else lives under a collapsed Advanced section: Replace existing .vera files, Include subfolders, Include a copy of the original file (embeds the source PDF or Markdown file so the .vera is self-contained), the Search model dropdown (the section header names the model when it isn't the default), the ingest pipeline dropdown for PDFs (shown only when more than one PDF pipeline is installed; Markdown always uses the markdown pipeline), pipeline and embedder settings, OCR languages, and Open convert log.

Desktop conversions default to the PyMuPDF ingest pipeline (Markdown uses the bundled markdown pipeline) and the bundled, offline Local semantic (MiniLM) model (sentence-transformers:all-MiniLM-L6-v2), labeled Standard in the Advanced → Search model dropdown. Fast (hashing) converts faster but only matches shared words; OpenAI presets need an API key. Settings saved before MiniLM became the default keep their model. The CLI vera convert default is still hashing. The dropdown also accepts a custom provider:model-id. Chunking and OCR controls are schema-driven: the sidecar describe_ingest_pipelines action supplies descriptors, and PipelineConfigForm renders only advertised fields under the collapsed Advanced section (PyMuPDF includes overlap, OCR DPI, and a Tesseract OCR language dropdown of bundled/downloadable codes plus Custom for combinations such as eng+spa). These settings are independent of the Chat model and are persisted in app settings. npm run app:dev installs the app extra into the workspace environment. The source-run sidecar matches packaged releases: one Python process with PyMuPDF, hashing, ONNX MiniLM, and OpenAI embeddings. Save OPENAI_API_KEY under File > Settings → Embeddings. Plugins are ordinary pip packages in the same environment (vera.ingest_pipelines / vera.embedders), or ingest pipeline wheels installed from File > Settings → Plugins; CLI users can pip install "vera[docling]>=0.3.0" or pip install -e <clone> after vera-ingest 0.3.x. An unavailable selection is disabled or fails with the resolver error. Save an optional token under File > Settings → Hugging Face (or set HF_TOKEN in the environment / a local .env from .env.example) for Hub access used by extras. Conversion progress and the current filename appear in the footer status bar, so progress remains visible when you switch away from the Convert view. File > Open convert log..., Convert Advanced → Open convert log, and Settings → Diagnostics open the same append-only file (userData/logs/sidecar.log: %APPDATA%\VERA\logs\sidecar.log when packaged, %APPDATA%\@vera\app\logs\sidecar.log in app:dev). Timed convert steps (elapsed_ms) go there so freeze vs .venv times can be compared; CLI vera convert still prints those lines on stderr only. To rebuild an existing archive with a different ingest pipeline or embedding model, right-click the converted document in Explorer and choose Reconvert…; Convert opens immediately with a preparing status while the archive is read, then prefills the current pipeline, embedding, and OCR settings and turns overwrite on. Convert replaces the .vera you clicked, even if you renamed it or originally converted with a different output name. If inspect fails and no sibling source is listed, Reconvert does not export an embedded original and shows Could not read archive metadata. Place the matching .pdf or .md next to the archive, or export the original from Document Info once the archive is readable. Document Info's OCR line is PyMuPDF-shaped (ocr_engine, ocr_mode, ocr_pages; callers that pass drawn-text OCR add ocr_drawn_text_pages to the JSON bag). Markdown archives store ocr: {} and the UI shows Unknown mode · 0 pages OCR’d; Docling recovery uses engine / recovered_pages, so the Info line can look incomplete after a successful convert. Use vera inspect FILE --json (or sidecar inspect) for the full bag.

In Explorer, click a file to select it, Ctrl/Cmd+click to add or remove it, and Shift+click to select a range. Hovering a file replaces its icon with a checkbox that adds or removes that row from the same list — unchecking it deselects it, and the highlight and the Chat/Search “selected document” count stay in sync. Once two or more files are selected, every file shows its checkbox and the bottom of Explorer reads N selected with Clear. Selected converted documents become the Search/Chat scope and selected unconverted PDFs, Markdown, or Office files become the Convert list. Shift+click ranges follow the rows currently visible in the tree.

To search several libraries at once, click one library name, then Ctrl/Cmd+click others to add them; Ctrl/Cmd+click a highlighted library to take it out again. Every library in the scope stays highlighted, and Chat and Search read All documents in “Manuals” and “Standards” (or a count past three). Each library is searched with its own index, and the results are merged into one ranked list, so every library contributes its best passages. Selecting files narrows the scope to those files; a plain click on a library name returns to that one library.

Click the library name or Clear, or press Escape, to search the whole library again. Click empty Explorer space (between sections or below the last item), or press Escape a second time, to clear everything: Chat and Search then read No documents selected and ask you to choose a library or documents, or attach a file. You can still type and attach files in that state. Use the Chat / Search switch above the center workspace to choose between LLM-backed conversation and direct retrieval. Search supports hybrid, semantic, and keyword modes from its composer options. Its ranked passage cards open and highlight the matching source in the document viewer (Mozilla-style PDF chrome with a page thumbnail rail and rotate counterclockwise) without adding the query to chat history. CLI and MCP search return the full ranked list; they do not apply Chat's relative quality filter.

Customize chat modes

Built-in Chat modes are Ask, Research, and Summarize. Each is a Markdown file: YAML-ish frontmatter sets retrieval defaults, and the body is the system prompt. User files live in Electron userData/modes (in npm run app:dev on Windows, %APPDATA%\@vera\app\modes). On first launch the app copies ask.md and research.md into that folder if they are missing so you can edit them; summarize.md stays package-only until you add a file. User files override built-ins with the same id.

Open the folder from File → Chat Modes Folder… or the mode picker's Open modes folder…. Click Reload modes (or restart) after edits. Only flat key: value frontmatter is parsed; nested YAML is treated as prompt body. Clamped fields:

Field Default Allowed
id slug of name stable identifier
search_mode hybrid hybrid, semantic, keyword
top_k 8 1–20
context_chunks 1 0–3
include_figures false boolean
max_searches 6 1–12
max_chunks 20 1–60
max_figure_images 4 0–20
search_policy auto auto, first_turn, always
tools every built-in tool comma-separated names

search_policy: auto searches when the evidence already in the conversation does not cover the question. first_turn requires a search on the opening question of a chat that has no earlier evidence. always requires a search on every turn while the search budget remains. tools limits which tools that mode may call. Omit it, or leave it empty, to allow search, filter, search_attachments, view_figure, and write_markdown. filter with no where returns facets: the fields on the open file and, when few distinct values exist, those values. Call it again with where using one of those keys to list every matching chunk, with a citation, the page, and the highlight box. search stays the ranked lookup. Pass where to search only with a key and value already seen in the facets.

Chat's LLM search tool also accepts quality: strict (keep hits at least 0.85 of the top score), balanced (0.55, default), or permissive (keep all). Scores are RRF-based, not 0–1 cosine. If the cutoff would drop every hit, the single best result is kept. Re-searches skip chunks already cited in the conversation.

Chat Trace shows prompts, tool calls, and streamed answers. When an LLM HTTP error includes provider_error_detail, Trace also expands Provider error details on the error banner. Source loading remains independent of library inspection, conversion, and indexing. Selecting another citation supersedes the earlier source request. Large manuals copy into a local viewer cache; if a matching PDF sits next to the .vera file, that sibling is used instead of extracting the embedded original. A source load that does not settle within five minutes is cancelled with an error instead of leaving a permanent footer status.

When Figures is enabled, Search initially returns only figure metadata and captions. Selecting a result loads image previews for that result's referenced figures on demand; unselected result images are not read or sent through the sidecar connection.

Large document libraries

Collection indexes are persistent: the app checks their freshness when a library is activated but does not rebuild them automatically. Activating a folder only sets the Search and Chat scope; the corpus opens on the first query. A fresh index makes that first search fast. If an index is missing or stale, the first Search or Chat prompts you to build or update it; choose Don't ask again to keep using recursive search without future prompts for that library. Right-click a folder and choose Build index or Update index to start immediately without that dialog; the status chip and footer show progress. Use Inspect in the Info view only when you need library metrics or to revalidate every archive; that operation can take substantially longer for large libraries. Inspection runs on a sidecar worker and the footer reports completed and total archives, the current filename, cumulative chunks, and skipped files. Its request-scoped status clears on either success or failure, independently of simultaneous indexing or conversion activity.

After a build or update starts, indexing runs in the background. The library status chip spins and reads the current step, such as Converting 3 of 10 or Updating index. The footer shows completed archives, total archives, the current phase and filename, indexed chunks, and skipped-file count. It switches to a finalizing phase while the validated generation is published. You can continue browsing and using Search or Chat while the existing index, or recursive fallback search, remains available. Select the chip to open Library health. Orange Needs attention means a sync failed, archives were skipped, or VERA needs confirmation before removing archives. The popover lists each problem and the action that fixes it: Retry, Convert now, Update index, Build index, or Check for changes now. A missing or out-of-date index stays neutral (Not indexed, N new, or Out of date) because the next sync or Update index fixes it. Green Ready means the library is searchable.

On startup, Explorer collapses inactive libraries immediately so every library header stays visible and the last active library stays expanded. Plain folders keep the expanded or collapsed state you left them in. Libraries show their last verified chip state while VERA checks the current filesystem in the background. A neutral Checking… chip is shown when there is no saved status yet, rather than treating the folder as unindexed.

Parent and empty folders can also be added as libraries. Nested .vera files are discovered recursively when there is no saved index configuration. Explorer lists .vera, .pdf, and .md / .markdown files up to 32 directory levels below a library root (the root itself is depth 0). Deeper files are omitted from the tree. The listing payload sets truncated: true when that cap is hit; Explorer does not show a banner for it. Office and HTML sources are not listed in Explorer — convert them with vera[docling]. A folder with no .vera files remains active and watched; Search and Chat report that nothing is searchable until archives are present.

Check or build the app

Run the TypeScript checks:

npm run app:typecheck

Build the renderer and Electron main process:

npm run app:build

Create an unpacked desktop build, including the packaged Python sidecar:

npm run app:dist

On Windows, packaging writes outside the repo (electron-builder rename locks inside a watched checkout). The unpacked app is %LOCALAPPDATA%\Vera\desktop-release\win-unpacked\VERA.exe. Override the folder with VERA_DIST_OUTPUT.

Create the distributable Windows installer:

npm run app:release

This rebuilds the app and Python sidecar and writes VERA.Setup.<version>.exe into %LOCALAPPDATA%\Vera\desktop-release (and clears any leftover packages/vera-app/release directory). Sidecar freeze vendors a VERA-exported MiniLM ONNX graph into gitignored packages/vera-app/build/ (later builds reuse that snapshot). Torch and Sentence Transformers are excluded from the freeze.

Plugins in the same environment

Source-run (npm run app:dev) and packaged builds use one interpreter. Search, Chat, indexing, and PyMuPDF conversion all run in the sidecar. Extra converters are pip packages in that environment or plugin wheels. The sidecar converts Word, PowerPoint, and Excel with ooxml and does not run Docling conversion itself. A pipeline that needs libraries the app does not include runs in a separate Python environment you choose.

The packaged Windows installer freezes PyMuPDF, hashing, ONNX Runtime, and vera-embed-openai into vera-sidecar.exe. MiniLM (all-MiniLM-L6-v2) ONNX weights ship inside Setup.exe, so Local semantic (MiniLM) does not download those files on first use. Docling is not bundled in the desktop app; install vera[docling] and either convert from the CLI or point the app at that environment (see Separate Python environment). OpenAI embeddings are bundled; save OPENAI_API_KEY under File > Settings → Embeddings. Voyage and Ollama are not bundled.

CLI users who want Docling install it into the VERA environment:

pip install "vera[docling]>=0.3.0"
# or from a checkout:
uv sync --extra docling

Docling may download layout models into DOCLING_ARTIFACTS_PATH. The desktop Convert view lists it only after you choose an environment that has it.

Plugins

File > Settings → Plugins installs extra ingest pipelines into the packaged app, which has no pip. Choose Install from file… and pick a plugin wheel (.whl). VERA unpacks it into plugins/<name>/ under its user data folder, restarts the converter, and lists the new pipeline in Convert and in the PDF pipeline… picker. Open plugins folder shows that folder, and Remove deletes one plugin. Library folders that use a removed pipeline stop converting until you pick another one.

A plugin wheel must be py3-none-any and register a vera.ingest_pipelines entry point. It runs inside the sidecar, so it can only import libraries VERA already ships (PyMuPDF, vera-ingest, vera-ingest-pymupdf, NumPy, and so on) at their shipped versions. Install shows a warning for any requirement the app does not include, and for a provider name another pipeline already uses (the installed one wins). Plugins run with the same access as VERA, so only install ones you trust. The sidecar reads plugin folders from VERA_PLUGIN_DIRS, which the app sets; the CLI honors the same variable. Pure-Python wheels belong here. A pipeline that calls a vision API, such as the external plansheet construction-plan pipeline, does not: install it in a Separate Python environment (below) and save OpenRouter under Settings → AI providers so Convert receives OPENROUTER_API_KEY.

Separate Python environment

A plugin wheel can only use libraries the app already ships. A pipeline that needs more, such as Docling or the external plansheet plan-sheet pipeline, runs in a Python environment you create and keep up to date yourself:

python -m venv C:\vera-docling
C:\vera-docling\Scripts\python -m pip install "vera[docling]>=0.3.0" "vera-doc[onnx]"

Under File > Settings → Plugins → Separate Python environment, select Choose folder… and pick the environment folder (here C:\vera-docling; in a checkout, .venv). VERA restarts the converter and lists the pipelines that environment adds, such as docling, in Convert and in the folder pipeline picker. Stop using removes them again.

  • Each file that uses one of those pipelines is converted by a separate process in that environment, with the same progress, Skip, and Stop as other conversions. Search, Chat, and indexing stay in the app.
  • Pipelines the app already has keep running in the app. Docling is the exception: the app never runs it itself.
  • An environment pipeline is used only when you pick it. It never becomes the default for a file type, though it can add file types (Docling adds .html) to library folders set to it.
  • The embedding model is loaded in that environment too. The vera-doc[onnx] extra covers Local semantic (MiniLM); hashing and OpenAI need nothing extra.
  • The environment needs VERA 0.3.x of its own. VERA does not create, update, or check it, and code there runs with the same access as VERA.
  • If the environment is moved or deleted, Settings shows Not working with the reason. Library folders set to its pipelines stop converting until it is back or you pick another pipeline.

The CLI and Python API honor the same choice through VERA_PIPELINE_PYTHON (an environment folder or a Python executable).

Ingest plugins register under vera.ingest_pipelines; embedders register under vera.embedders. Desktop Convert calls preflight_embedder before writing an archive. MiniLM runs on ONNX Runtime in the Windows sidecar with a VERA-exported, SHA256-pinned graph. npm run app:dev vendors that graph into packages/vera-app/build/minilm before Electron starts (exporting once with --extra ml if the snapshot is missing), so the app does not load Sentence Transformers for MiniLM. Without that graph MiniLM falls back to Sentence Transformers, which is how CLI installs run it. Other Sentence Transformers models still need uv sync --extra ml. A missing onnxruntime module in a checkout means that extra is not installed — run uv sync --extra onnx (or --extra app) and restart the app. See Creating an ingest pipeline plugin and Creating an embedding provider. Convert and embed run in-process in the sidecar unless the pipeline comes from the separate Python environment; see Convert in one sidecar.

Common startup problems

  • uv is not recognized — install uv, open a new terminal, and rerun the command from the repository root.
  • npm is not recognized — install Node.js, open a new terminal, and confirm node --version and npm --version work.
  • Electron dependencies are missing — rerun npm run app:install.
  • The Electron window does not open — check the npm run app:dev terminal for a Python sidecar, TypeScript, Vite, or port error before restarting it. If the sidecar fails to import numpy, PyMuPDF, or pdfplumber, point VERA_APP_PYTHON at the workspace .venv interpreter and restart.
  • Sidecar errors hide a Python traceback — packaged IPC omits traceback unless VERA_APP_DEBUG is a truthy value. Source-run still prints [vera-sidecar] stderr.
  • Failed to update Windows PE resources / uv-trampoline Access denied — Windows Defender or corporate EDR is locking uv's temporary launcher while uv installs a package that ships a console script. The sidecar build prefers the project virtualenv (.venv) and only falls back to uv run, so install PyInstaller once and rebuild:
uv pip install "pyinstaller>=6"
npm run app:dist

Set VERA_SIDECAR_PYTHON or VERA_APP_PYTHON to use a different interpreter, or exclude the repository and %TEMP% from real-time scanning, then retry. - An extra parser or embedder is missing from Convert — the 0.3.0 desktop sidecar ships PyMuPDF only. Docling (vera[docling]) appears only after you choose an environment that has it under File > Settings → Plugins → Separate Python environment. For other plugins, install the wheel from File > Settings → Plugins, or in a source run install into the same environment the sidecar uses (python -m pip install or python -m pip install -e <clone>) and restart the app. Raw PYTHONPATH folders are not discovered. A plugin that fails to import shows Did not load with the import error in Settings → Plugins. If Search warns that semantic groups were skipped, the embedder used at convert time is not available in this sidecar. OpenAI embeddings are bundled (OPENAI_API_KEY under File > Settings → Embeddings); Voyage and Ollama are not.

Files, earlier evidence, and Markdown reports

Drop PDF, Word, PowerPoint, Excel, Markdown, HTML, plain text, or .vera files onto Chat, or use the attach button. The hint reads Drop files to attach. Each document is converted once for that chat. Files that fit the model's context are read in full; the rest stay searchable with search_attachments. The chip shows progress while a file is preparing, then Read in full, Searched N×, or Not used after the answer. Send stays unavailable until every attached file is ready. Chat works with attached files alone, before a library is selected.

Passages from attached files are cited as [A#], beside [C#] for library results. Each file keeps its numbers for the whole chat. The cached copy stores the original file, so selecting an [A#] citation opens and highlights it in the viewer. The cache lives in the app's data folder (%APPDATA%\VERA\chat-attachments on Windows) and is removed when the last chat that uses it is deleted. A .vera you attach is used in place. When a cited archive has nothing the viewer can open, the viewer shows the passage text instead.

Follow-up questions include passages retrieved earlier. When those passages cover the question, Chat answers without a new search and shows From earlier evidence. A search still runs when the question needs something that is not already in the chat, or when the mode's search_policy requires one.

Each provider under File > Settings → AI providers has an optional Context tokens field in Advanced options, beside temperature. Leave it empty to use the provider default: about 8,000 tokens for Ollama and LM Studio, and 128,000 for OpenAI, OpenRouter, and VERA Pro. Attached documents use about 40% of that window, up to 40,000 tokens. Earlier evidence uses about 10%, or about 2,000 tokens on the local default.

Figures inside a file that was read in full are listed in the prompt. Chat fetches the ones it needs with view_figure when the model accepts images. Images dropped into the composer stay with the chat and can be viewed again on a later turn.

When you ask for a report or a Markdown file, Chat writes one under the chat's drafts folder. The reply shows the filename with a preview, Copy Markdown, Save as, and Show in folder. Save as Markdown on any assistant reply writes that answer with citation footnotes.

Provider request errors

LLM authentication, credit, rate-limit, and model errors appear in a compact, dismissible banner. The failed prompt is restored in the composer so it can be edited or retried without restarting the app. HTTP 401 and 403 errors usually require checking the saved API key or account permissions; HTTP 402 errors require provider credits or a lower-cost model.

If a provider has no endpoint that supports image input, VERA retries the request with text only and adds a note to the assistant response explaining that the images were omitted.

While an answer is generating, the send button becomes a stop button. Selecting it cancels only that answer, stops its active provider stream, and saves the user prompt plus any streamed response received so far without restarting the local sidecar. Answer prose appears incrementally as provider tokens arrive. Assistant answers render GitHub-flavored Markdown plus LaTeX math ($…$, $$…$$, \(…\), and \[…\]) with KaTeX. VERA withholds inline tool-call markup and clears any provisional prose from a turn that ultimately invokes a retrieval tool, so only the final grounded answer remains visible.

For implementation details and the sidecar protocol, see the desktop app architecture.