Lexor Documentation Manual

1. Overview

Lexor is a desktop-based, AI-powered writing application designed for writers of all experience levels. It is sold as a one-time purchase; however, AI functionality requires the user to provide their own API key. AI usage is billed separately on a pay-per-use basis by the selected API provider.

Lexor’s primary goal is to make writing faster, easier, and more enjoyable by removing friction such as writer’s block, manual rewriting, and context management. It supports a wide range of writing formats, including fiction, lyrics, structured emails, and general prose.

Quick Start

  1. After selecting your preferred language, you'll need to connect an AI provider so AI tools can be used.
  2. If you have any pre existing lore or documents, you can import them into the context library (left side panel) or start writing directly into the Canvas (Blank page in the center).
  3. Begin writing into the Canvas in order to activate AI tools at the bottom of the interface.

Main Interface at a Glance

  • Header: global project controls, provider/model controls, appearance, help, and saving/loading.
  • Context Library: left-side panel for documents, knowledge files, categories, and imports. You can expand the context library to view the entire file explorer where you can more easily preview, edit and organize your files.
  • Writing Canvas: the primary writing surface with formatting, generation, and editing tools.
  • AI Assistant: right-side chat panel for brainstorming, role prompts, and context-aware conversations.
  • Status and budget area: token and cost visibility so users can control spending.

2. AI Usage & API Fundamentals

Important: API Key Requirement

What is an API key?

Put simply, it's a unique 'password' only you own (and shouldn't share), which you can obtain from an AI provider (OpenAI - ChatGPT, xAI - Grok, etc.) to access their AI models in different applications and services, including Lexor.

Lexor supports OpenRouter's API keys, which can provide access to multiple models via a single API key. Users should review provider terms for any pricing or usage limits before using a provider.

Users can switch providers at any time in the settings.

Cost Control & Transparency

Lexor tracks token usage in real time and displays estimated costs directly in the interface. This ensures users always understand how much they are spending.

Budget controls include:

  • Per-project spending limits (e.g., $5 maximum).
  • Warnings when approaching limits.
  • Automatic prevention of accidental overspending.

Large Request Warnings

If your request becomes too large, Lexor can warn you before sending it. This helps prevent expensive or unnecessary generations and gives you a chance to reduce the amount of context being used.

3. Core Architecture & How Lexor Thinks

Lexor’s AI operates using three layers of context, ordered by importance:

  1. Selected Text – Highest priority; directly edited or expanded.
  2. Active Canvas Content – Surrounding text that informs tone and continuity.
  3. Context Library Files – Optional background knowledge (characters, lore, rules).

Only files explicitly enabled or triggered are sent to the AI, minimizing token usage and maximizing accuracy.

This layered approach is what allows Lexor to behave like a writing assistant instead of a blank chatbot. The application tries to keep responses grounded in your current passage, your project knowledge, and your chosen writing direction.

4. Interface Reference

This section acts as a practical map of the Lexor interface so users can quickly locate each major control area.

Header Bar

  • Project actions such as New Project, Save, and Load.
  • Layout selector for switching between Writer and Roleplay views.
  • Model selector for choosing the active AI model.
  • Theme toggle, Help, Settings, and update status when available.

Budget Bar

  • Current usage and spending limit.
  • Usage progress indicator.
  • View Stats button for detailed activity.
  • Buy Credits button for provider billing flow.

Left Sidebar: Context Library

  • Upload area for adding files.
  • Explorer for folder-based organization.
  • Create button for new documents.
  • Search field and category filter.
  • Auto Insert Context switch.
  • Document list with activation and editing options.

Center Panel: Writing Canvas

  • Main writing area with word, character, and token counts.
  • Formatting toolbar with common editing actions.
  • Context controls for managing how much text the AI can see.
  • Memory controls for story continuity.
  • Generation action buttons such as Generate, Create, Edit, Alternate, Translate, and Chapter Generator.
  • Copy, export, and export-to-library controls.

Right Sidebar: AI Assistant

  • Prompt selector and role navigation.
  • Conversation history area.
  • Message box and send controls.
  • Insert Canvas for attaching selected writing to a chat request.
  • New chat, history, clear, and expanded chat view options.

Modals and Popups

  • Provider connection and API setup.
  • Usage and budget details.
  • Chapter Generator.
  • Document Viewer.
  • Folder Explorer.
  • Memory editor.
  • Backup and diagnostics tools.

5. Main Components

5.1 Writing Canvas (Primary Workspace)

The Writing Canvas is Lexor’s core environment. It behaves like an infinite page that grows as you write, prioritizing content creation over visual formatting.

Formatting is previewed using lightweight symbols rather than full styling, keeping focus on writing flow instead of layout.

Core Canvas Tools

  • Generate: Continues writing in the existing style and tone. Supports bridging, allowing users to place the cursor between two text sections and have the AI seamlessly connect them.
  • Guide Canvas: Defines a global system instruction that applies to all Canvas generations (e.g., writing style, tone, genre rules).
  • Create (requires selected text): Rewrites text using transformation presets such as:
    • Humanize (removes generic AI phrasing).
    • Symphonize (converts text to lyrics).
    • Humorize.
    • Summarize.
    (Presets are fully customizable.)
  • Edit (requires selected text): Applies structural improvements such as:
    • Expand.
    • Concise.
    • Fix All (grammar, punctuation, capitalization).
  • Alternate (requires selected text): Generates multiple alternative phrasings for the same idea. Results can be regenerated indefinitely.
  • Manifest (requires selected text): Expands shorthand ideas into polished prose, turning rough concepts into complete narrative passages.
  • Prompt (requires selected text): Allows direct custom instructions. The AI performs the edit silently without extra commentary.
  • Chapter Generator: Accepts bullet-point outlines and expands them into fully written, connected chapters.
  • Translate: Opens a translation workspace for converting Canvas content into any language and exporting localized files.
  • Copy / Export: Copy content to clipboard or export to common text formats.
  • Export to Context: Saves the current Canvas content as a file inside the Context Library.

5.2 Memory System (Token Optimization)

The Memory system summarizes key story events into compact references (It only reads text within the canvas). These summaries are used instead of full text when sending context to the AI in order to reduce token usage while maintaining narrative continuity.

  • Toggle with a switch in order for AI to understand the context of the entire Canvas or toggle off when doing minor edits.
  • Can be auto-generated or manually edited/written.

5.3 Context Library (Knowledge Management)

The Context Library functions as an organized file system for background material such as Characters, Lore, Locations, or other relevant documents that would be useful for the AI to reference, or simply a place to store content. Files can be toggled on or off for AI visibility.

Keyword Activation

Files can be assigned keywords/tags. When a keyword appears within the AI’s active context window, the associated file is automatically included, ensuring accurate references without manual intervention.

Import & Auto-Organization

Users can import zip folders of existing content. Use the Context Builder in order to analyze and organize these files into a structured library.

Context Builder — Drop, analyze, synthesize

To access the Context Builder, open the Folder Explorer → “Create Library” (wand icon), or use the Context Library upload area.

Drag and drop many files (TXT, MD, DOCX, PDF, ZIP) into the Context Builder. Lexor's AI reads, extracts entities (characters, locations, lore), creates concise summaries, and saves compact context files—perfect for giving the AI focused background without bloating requests.

Note: This is AI-driven and token‑intensive depending on the size and complexity of the files; It is good to consider the budget constraints before proceeding.

Open the Folder Explorer → “Create Library” (wand icon), or use the Context Library upload area to begin.

How to: Use the Context Builder (Drag & Drop)

Step-by-step

  1. Open the Context Library from the left panel, or click Explorer → Create Library (wand icon).
  2. Select or drop files: Click Upload to Context or drag many files (TXT, MD, DOCX, PDF, ODT) or a ZIP containing them into the upload area.
  3. Processing: Lexor reads, splits, and analyzes files, extracting entities and crafting concise summary files.
  4. Review and enable: When complete, review the compact files saved into categories and enable the ones you want the AI to include.
  5. Tip: Use the Auto Insert Context toggle to let selected library items be added automatically to relevant AI requests.

Why it’s great: You can drop megabytes of lore and Lexor will condense it into small, searchable context files — saving space and making AI requests faster and more accurate.

Warning: Large imports are token‑intensive. Confirm cost estimates before processing.

5.4 AI Chat

AI Chat provides a standalone conversational interface separate from the Canvas.

  • Create custom AI roles (e.g., Reviewer, Editor, Worldbuilding Consultant).
  • Discuss Canvas or Context Library content. You can simply toggle the context items to include them in the chat, as well as select any text in the canvas to add it to the conversation.
  • Save, reset, or manage chat history.

This mode is ideal for brainstorming, critique, and planning.

5.5 Roleplay Layout

Lexor offers two interface layouts: Writer Layout (default) and Roleplay Layout.

The Roleplay Layout allows users to interact directly with story characters. The AI can fully embody characters, enabling dialogue testing, character consistency checks, and exploratory roleplay.

  • You can create characters or import existing ones to interact with in the Roleplay Layout.
  • You can identify yourself as a custom or existing character to participate in the roleplay.
  • You can use a toggle in order to switch from dialogue mode and narrative mode.

5.6 Document Tools

Lexor includes a full document workflow around the Context Library so project material can stay organized and reusable.

  • Create, rename, delete, and edit documents directly inside the library.
  • Import common writing and reference formats such as text, Markdown, DOCX, PDF, and ODT.
  • Open documents in a larger editor view with save, undo/redo, and search/replace controls.
  • Use folders and categories to keep large projects readable.
  • Export documents or move Canvas content back into the library for reuse later.

5.7 Chapter Generator

The Chapter Generator is designed for long-form writing. It lets users define chapter ideas, generate each chapter, and manage progress in one place.

Outline First, Generate Faster

Use a chapter outline to guide generation

Create bullet-point outlines; the Chapter Generator expands them into connected chapters. This reduces revisions and keeps pacing consistent.

  • Create a chapter-by-chapter outline before generation.
  • Generate chapters individually or in sequence.
  • Regenerate, stop, export, or copy completed chapters into the main workspace.

5.8 Search, Replace & Preview

Lexor includes both quick editing utilities and focused review tools for revision-heavy projects.

  • Search inside the Canvas with next/previous navigation.
  • Use Replace All to update repeated words or phrases faster.
  • Preview Markdown-style formatting without leaving the writing environment.
  • Use formatting controls for emphasis, headings, lists, links, and cleanup.

6. Customization & Quality of Life

  • Font type and size adjustments.
  • Fullscreen distraction-free mode for the canvas.
  • Project UI preset importing (Import settings and setup of previous projects without importing content).
  • Light and dark theme switching.
  • Layout presets for writing or roleplay workflows.
  • Interface scaling for readability.
  • Language switching for localized UI text.

7. Settings & Configuration

Settings include:

  • System prompt management.
  • API provider selection.
  • Budget and usage tracking.
  • Factory reset options.
  • Theme and appearance preferences.
  • Language selection.
  • Model selection for AI generation.
  • Story memory controls.
  • Context size and output length controls.

8. Backups, Export & Recovery

Lexor includes safety tools so users can protect their work before major edits or experiments.

  • Create manual backups before large changes.
  • Benefit from automatic backup behavior during regular use.
  • Export projects for external safekeeping or transfer.
  • Restore from available backups if something goes wrong.

9. Troubleshooting & Best Practices

  • If generation is not available, confirm that a supported AI provider is connected.
  • If costs seem high, reduce active context files or lower request size.
  • If results feel unfocused, select the exact text you want Lexor to work with before generating.
  • If the interface feels crowded, use fullscreen writing mode.
  • Export or back up projects regularly before large edits.

For persistent issues, review your provider setup, verify your budget state, and use the help or diagnostics areas where available.