MidiPilot - Your AI Copilot

MidiPilot is the AI brain embedded directly in MidiEditor AI. Open the sidebar panel, type what you want in plain English, and watch it compose, edit, transform, and analyze your MIDI data automatically.

MidiPilot Agent mode composing a full arrangement from a single prompt - live streaming with GPT-5.5 (Responses API)

Key Features

🎯 Agent Mode

Multi-step agentic loop - the AI calls tools iteratively, inspecting results between steps to build complex compositions from a single prompt.

Learn more →

💬 Simple Mode

Single request/response for quick edits, small transformations, and focused tasks without the overhead of multi-step planning.

Learn more →

🎮 FFXIV Bard Mode

Enforces Final Fantasy XIV Performance constraints - 8 tracks, monophonic, C3-C6 range, tonal drum conversion for MidiBard2 octets.

Learn more →

🔌 Multi-Provider

OpenAI, OpenRouter, Google Gemini, a local Ollama server, or any OpenAI-compatible endpoint. Bring your own API key - or none at all for local models.

Learn more →

🧠 Reasoning Support

Toggle thinking/reasoning for o-series and GPT-5.x models. Configurable effort from None to Extra High.

Learn more →

✏️ Custom System Prompts

Edit AI behavior per mode via the built-in editor. Export/import as JSON - no recompiling needed.

Learn more →

📜 Conversation History

Conversations auto-saved as JSON. Browse, search, and resume past sessions from the history menu.

Learn more →

⚡ Response Streaming

Simple and Agent mode stream live via SSE, including reasoning summaries, assistant text, and tool-call progress where providers support it.

Learn more →

🔄 Model Management

Refresh provider model lists, filter non-chat models, pin favourites, and retry temporarily blocked streaming models without restarting.

Learn more →

💾 Per-File AI Presets

Save model, provider, mode, and custom instructions per MIDI file. Auto-loaded when you open the file.

Learn more →

Getting Started

  1. Open Settings (gear icon or Edit → Settings) and click the MidiPilot AI tab
  2. Select your Provider (Google Gemini is a great free option)
  3. Enter your API Key (get one from OpenAI, OpenRouter, or Google Gemini)
  4. Choose a Model (e.g., gemini-2.5-flash)
  5. Click Test Connection to verify everything works
  6. Close settings and open the MidiPilot panel from the sidebar
  7. Type a prompt and press Enter:
"Create an 8-bar jazz waltz in Bb major with piano, bass, and drums"

The AI will compose the requested music directly into the editor using its built-in tools. In Agent mode, it works iteratively - creating tracks, setting tempo, inserting notes, and validating the result step by step.

See Prompt Examples for more real-world prompts and a full demo.


Chat Panel

The MidiPilot panel features a clean chat interface with context-aware track info, mode selection (Agent / Simple), and model switching - all accessible without leaving the editor. Assistant bubbles and the live reasoning stream render Markdown (bold, italic, lists, fenced code, links); user and system bubbles stay plain text.

MidiPilot chat panel in light theme MidiPilot chat panel in dark theme
Docked MidiPilot panel side by side - Light theme (left) and Dark theme (right)

The input bar at the bottom provides quick access to everything you need:

Agent/Simple mode toggle · FFXIV checkbox · Model selector · Reasoning level

Mode Comparison

FeatureSimple ModeAgent Mode
API Calls1 (one-shot)Multiple (iterative loop)
Tool AccessNone22 tools (27 with FFXIV)
Self-CorrectionNoYes - can inspect and fix
Token Limit RiskHigh for complex tasksLow - work is split
Truncation HandlingWarns, suggests Agent modePer-step, can continue
SpeedFast (single round-trip)Slower (multiple round-trips)
UI FeedbackStreaming text or action previewLive thoughts, assistant text, and Agent Steps panel
UndoPer actionGranular - one Ctrl+Z per tool call
Ideal ForQuick edits, small changesComplex compositions, multi-track

Where to go next

The rest of MidiPilot is split across four pages. Each box names the page and lists the sections on it - the section links take you straight to the right spot.

💬 Modes & Conversations

Simple mode and Agent mode in full, response streaming, the right-click entry that asks about a selection, the questions MidiPilot answers from the manual itself, and the conversation history.

🎮 MidiPilot in FFXIV Bard Mode

What the FFXIV checkbox enforces, the five FFXIV tools, the arrangement guidance behind them, and the deterministic Fix X|V Channels tool that needs no AI call.

⚙️ Settings & Providers

Provider and model setup including local Ollama, prompt profiles and system prompts, per-file presets, auto-save, the token counter, and the API log.

🔧 AI Tools Reference

Every tool the model can call in Agent mode, with what each one does - plus the MCP server that offers the same set to external AI clients.