lietzsche;noether
Pages

updated 2026-11-26·2 min read

Copilot (Official Extension)

Native AI assistant for Noether supporting local Ollama / LM Studio inference, BYOK cloud providers, active note pinning, /ai inline edits, and copilot_chat MCP.

If you don’t want to leave the editor just to summarize a note or ask a question against your own Markdown, Copilot (noether-copilot) puts an AI sidebar and /ai inline menu right inside Noether. It talks to local Ollama or LM Studio instances out of the box, or accepts your own API keys for cloud models.

Where It Lives in Noether

  • Right Sidebar Tab: Click the sparkle icon in the right sidebar to open the Copilot chat drawer.
  • Editor Inline Menu: Highlight text in a note and press /ai to run an inline edit.
  • Status Bar Indicator: Shows the active model and token latency.

Using Copilot & Configuring Providers

  1. Pin active note context

    Open the Copilot tab in the right sidebar, ask a question or request a draft, and click Pin Active Note in the chat input to ground the prompt with your currently open document.

  2. Configure local inference (Ollama / LM Studio)

    Open Settings (Ctrl+,) → Copilot. For local-only inference, point the host to http://localhost:11434 and pick a local model such as llama3.2, mistral, or qwen2.5-coder.

  3. Or configure BYOK cloud keys

    Paste your own Anthropic (Claude 3.5 Sonnet), OpenAI (GPT-4o), or Google Gemini API key directly in Settings → Copilot.

SDK Integration & MCP Reference

Copilot registers its UI and agent endpoints using this.registerSidebarTab(), this.registerSlashCommand() (/ai), this.registerTool(), and this.addCommand():

import { Extension, NoetherApp } from 'noether';

export default class CustomAssistantExtension extends Extension {
  async onload(): Promise<void> {
    this.addCommand({
      id: 'ai:summarize-active',
      title: 'Copilot: Summarize Active Note',
      section: 'AI Assistant',
      action: async (app: NoetherApp) => {
        const activeDoc = app.vault.activeDocument;
        if (!activeDoc) return;

        app.workspace.showToast('Generating summary...', 'info');
      },
    });
  }
}
  • MCP Tool copilot_chat: Dispatches a grounded prompt to the configured LLM with optional document context (prompt: required string, documentId: optional string).

Local Build & Installation

Install from the Community Marketplace, or build manually from source:

git clone https://github.com/yvliet/noether-copilot.git
cd noether-copilot
npm install
npm run build

Copy dist/main.js and manifest.json into .noether/extensions/noether-copilot/ inside your vault and reload Noether.

Search wiki and portfolio

type to search across all entries.