๐Ÿค– QuickAI for PowerToys Run

February 12, 2026 ยท View on GitHub

๐Ÿค– QuickAI for PowerToys Run

QuickAI Icon

โšก AI-Powered Assistance Right at Your Fingertips โšก

Never leave your workflow to get AI help again.
Access multiple AI providers instantly with Alt+Space โ†’ ai explain quantum computing โ†’ Done! โœจ

Build Status Latest Release Maintenance C# .NET 9.0 Version PRs Welcome GitHub stars GitHub issues GitHub all releases Made with Love AI Powered PowerToys Compatible Platform License Mentioned in Awesome PowerToys Run Plugins

Download x64 Download ARM64

๐Ÿ“Š Download Statistics

Total Downloads

๐ŸŽฏ Why Developers Love QuickAI

"Stop switching between browser tabs and AI chat interfaces"

โŒ Beforeโœ… With QuickAI
Open browser โ†’ Login to AI โ†’ Type question โ†’ CopyAlt+Space โ†’ ai speed of light โ†’ Copy
30+ seconds, context switching2 seconds, zero interruption

๐Ÿš€ Quick Demo - Try it now:

Alt+Space โ†’ ai explain recursion    # ๐Ÿง  Complex concepts
Alt+Space โ†’ ai write python script  # ๐Ÿ Code generation  
Alt+Space โ†’ ai summarize this       # ๐Ÿ“ Text analysis
Alt+Space โ†’ ai translate to french  # ๐ŸŒ Language tasks
QuickAI Plugin Demo

โฌ‡๏ธ Ready to boost your productivity?

Download x64 Download ARM64

๐Ÿงญ Table of Contents

๐Ÿ“ Overview

QuickAI brings the power of multiple AI providers directly into PowerToys Run. Get instant, streaming responses from leading AI models without leaving your workflow. Launch PowerToys Run with Alt+Space, type ai (or your custom keyword), and ask anything.

  • Plugin ID: 420129A62ECA49848C5C7CA229BFD22C
  • Action Keyword: ai or change to quickai
  • Platform: Windows 10/11 (x64, ARM64)
  • Tech: C#/.NET 9.0, WPF, PowerToys Run API

๐Ÿ“‹ Recent Changelog

โšก v1.2.1 - Quick Commands & Clipboard Text Auto-Read

Quick Commands System:

  • Type ai / to see all available commands instantly
  • Built-in commands: /read, /explain, /summarize, /translate, /fix
  • Clipboard Text Auto-Read: Commands automatically grab text from clipboard when no extra text typed
    • ai /translate โ†’ translates clipboard text
    • ai /summarize โ†’ summarizes clipboard content
  • Custom Quick Commands: Add your own commands in settings
    • Format: /name=prompt; /name2=prompt2
    • Example: /review=Review this code for best practices; /eli5=Explain like I'm 5
  • UI Fix: Custom Quick Commands setting now visible (fixed Checkbox type issue)

๐Ÿ’ฌ v1.2.0 - System Prompt, Clipboard Image & Quick Commands

๐Ÿ“ธ Clipboard Image Attachment

Attach screenshots directly to your queries โ€” AI reads and analyzes image content!

PowerToys Run with clipboard image indicator
๐Ÿ“Ž Clipboard image indicator shows when image attachment is active
QuickAI reading text from screenshot
QuickAI Response window โ€” send "read text from image" with a clipboard screenshot

New Features:

  • ๐Ÿ’ฌ Custom System Prompt: Persistent instructions sent before every query (e.g. "You are a concise assistant")
    • OpenAI: role: system ยท Google: systemInstruction ยท Cohere: preamble
  • ๐Ÿ“ธ Clipboard Image Attachment: Send clipboard images with queries for vision models
    • OpenAI: image_url ยท Google: inlineData ยท UI shows ๐Ÿ“Ž when active
  • โšก Quick Commands: Type / to see built-in commands โ€” no need to type full prompts!
  • โš™๏ธ Custom Commands: Add your own /commands in settings

โšก Quick Commands

CommandDescription
/read๐Ÿ“ธ Read text from clipboard image
/explain๐Ÿ’ป Explain code step by step
/summarize๐Ÿ“ Summarize content concisely
/translate๐ŸŒ Translate to English
/fix๐Ÿ› Find and fix bugs in code

Add your own in settings (Custom Quick Commands):

/review=Review this code for best practices; /eli5=Explain like I'm 5

Thanks to @ELGUAPOLIFE for the feature request (#13)!


๐ŸŽจ v1.1.1 - UI Overhaul & Enhanced Experience

QuickAI v1.1.1 - New Results Window

Major UI Improvements:

  • ๐ŸชŸ New Dedicated Results Window: Replaced static MessageBox with a beautiful, full-featured WPF window
  • ๐Ÿ“ Markdown Rendering: Proper support for bold, italic, code blocks, and inline code
  • ๐ŸŽจ Modern Typography: Inter font for UI and JetBrains Mono for code (matching Cursor editor style)
  • ๐ŸŒ“ Dynamic Theme Support: Automatic light/dark mode with real-time theme updates when system theme changes
  • ๐Ÿ”„ Real-time Streaming: Token-by-token updates directly in the results window
  • ๐Ÿ“‹ Enhanced UX: Copy button, word wrap toggle, character counter, and keyboard shortcuts (Ctrl+C, Esc)
  • ๐Ÿงน Clean Interface: Query box automatically clears when opening results window
  • ๐Ÿ“œ Auto-scroll: Automatically scrolls to bottom as new content streams in

Thanks to @WuJunkai2004 (Wu Junkai) for the ideas and contributions!


๐ŸŽ‰ v1.1.0 - Local AI with Ollama

Major Feature:

  • ๐Ÿ  Local AI Support: Run AI models completely offline on your own machine with zero API costs
  • ๐Ÿ”’ Full Privacy: All processing happens locally - no data leaves your computer
  • ๐Ÿ’ฐ Zero Cost: Unlimited queries with no API fees
  • ๐Ÿš€ Fast: No network latency, instant responses
  • ๐Ÿ”ง Flexible: Use any Ollama model - llama3.2, mistral, qwen2.5, deepseek-r1, etc.
  • โš™๏ธ Customizable: Configure custom host URL for remote Ollama instances

Thanks to @fuzhiyin-7 for suggesting this feature!


โšก Features That Matter


โšก Streaming Responses
Real-time token-by-token
display as you type

๐ŸŒ Multi-Provider
Groq, Together, Fireworks,
OpenRouter, Cohere, Google, Ollama

๐Ÿ”‘ Dual API Keys
Primary key with automatic
secondary key fallback

โš™๏ธ Highly Configurable
Customize model, temperature,
max tokens, and timeout

๐Ÿ“‹ One-Click Copy
Press Enter to copy
responses to clipboard

๐Ÿ’ฌ Custom System Prompt
Persistent instructions
before every query

๐Ÿ“ธ Clipboard Images
Attach screenshots for
vision AI models

๐ŸชŸ Results Window
Dedicated window with
markdown rendering

๐Ÿ  Local AI
Run models offline
with Ollama

๐Ÿค– Supported AI Providers

ProviderEndpointDefault ModelAPI Schema
Groqhttps://api.groq.com/openai/v1/chat/completionsllama-3.1-8b-instantOpenAI
Togetherhttps://api.together.xyz/v1/chat/completionsllama-3.1-8b-instantOpenAI
Fireworkshttps://api.fireworks.ai/inference/v1/chat/completionsllama-3.1-8b-instantOpenAI
OpenRouterhttps://openrouter.ai/api/v1/chat/completionsllama-3.1-8b-instantOpenAI
Coherehttps://api.cohere.com/v1/chatcommandCohere
Googlehttps://generativelanguage.googleapis.com/v1betagemini-1.5-flashGoogle
Ollama ๐Ÿ†•http://localhost:11434/v1/chat/completionsllama3.2OpenAI

๐ŸŽ‰ New in v1.1.0: Local AI with Ollama support! Run models on your own machine with zero API costs. Thanks to @fuzhiyin-7 for the idea!

๐ŸŽจ New in v1.1.1: Dedicated Results Window with markdown rendering, modern typography (Inter & JetBrains Mono), dynamic theme support, and enhanced UX! Thanks to @WuJunkai2004 for the ideas!

๐Ÿ’ฌ New in v1.2.0: Custom System Prompt & Clipboard Image Attachment! Configure persistent instructions and attach screenshots for vision models. Thanks to @ELGUAPOLIFE for the feature request!


AI Assistant in Action

QuickAI Interface

Streaming Response

Streaming Response

Plugin Settings

Settings Panel

Multiple Use Cases

Various Use Cases

New Results Window (v1.1.1)

New Results Window with Markdown Support

Clipboard Image & Quick Commands (v1.2.0)

PowerToys Run with clipboard image indicator
๐Ÿ“Ž Clipboard image indicator in PowerToys Run QuickAI reading text from screenshot
QuickAI Response window with clipboard image query

๐Ÿƒโ€โ™‚๏ธ Get Started in 60 Seconds

1๏ธโƒฃ Download & Extract (15 seconds)

# Choose your architecture
wget https://github.com/ruslanlap/PowerToysRun-QuickAi/releases/download/v1.2.1/QuickAi-1.2.1-x64.zip
# Extract to PowerToys plugin directory

2๏ธโƒฃ Auto-Install Location (30 seconds)

%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins\QuickAi

3๏ธโƒฃ Restart PowerToys (15 seconds)

Right-click PowerToys tray icon โ†’ Exit โ†’ Restart from Start Menu

4๏ธโƒฃ Configure API Key ๐ŸŽฏ

  1. Open PowerToys Settings โ†’ PowerToys Run โ†’ Plugins โ†’ QuickAI
  2. Enter your API key for the preferred provider
  3. Hit Alt+Space โ†’ Type ai what is quantum computing? โ†’ Marvel at the magic! โœจ

Pro Tip: Change the keyword from ai to q or ask in PowerToys settings for even faster access!


๐Ÿ’ก Power User Commands

# ๐Ÿง  Complex Explanations
ai explain machine learning in simple terms
ai how does blockchain work?
ai what is the difference between REST and GraphQL?

# ๐Ÿ’ป Code Generation & Help
ai write a python function to sort a list
ai debug this javascript code: [paste code]
ai convert this sql to mongodb query

# ๐Ÿ“ Text Processing
ai summarize this text: [paste text]
ai improve the grammar of this sentence
ai translate "hello world" to spanish

# ๐ŸŽฏ Creative Tasks
ai write a poem about programming
ai brainstorm ideas for a mobile app
ai create a product description for headphones

# โšก Quick Commands (NEW! Type / to see all)
ai /read          # ๐Ÿ“ธ Read text from clipboard screenshot
ai /explain       # ๐Ÿ’ป Explain code from clipboard image
ai /summarize     # ๐Ÿ“ Summarize content
ai /translate     # ๐ŸŒ Translate to English
ai /fix           # ๐Ÿ› Find and fix bugs in code

# ๐Ÿ“ธ Vision & Screenshot Tasks
ai what does this error message mean? ๐Ÿ“Ž (with clipboard screenshot)
ai explain this code snippet ๐Ÿ“Ž (with clipboard screenshot)
ai read the text from this image ๐Ÿ“Ž (with clipboard screenshot)

# ๐Ÿ’ฌ System Prompt Examples
# Set system prompt to "You are a concise assistant" then:
ai explain quantum computing
# Set system prompt to "You are a helpful coding tutor" then:
ai debug this python code

# โš™๏ธ Custom Commands (add your own in settings!)
# /review=Review this code for best practices
# /eli5=Explain like I'm 5
ai /review        # Uses your custom prompt
ai /eli5          # Uses your custom prompt
๐ŸŽจ See All Available Features
  • Streaming Responses: Watch answers appear in real-time (updates every 3 tokens or 150ms)
  • Context Menu: Right-click results for:
    • Show full response (Enter)
    • Copy response (Ctrl+C)
    • Restart query (Ctrl+R)
  • Multi-language Support: Works with any language
  • Code Highlighting: Syntax-aware responses for code snippets
  • History: Previous responses cached for quick reference
  • Custom Models: Use any model from supported providers

๐Ÿ”ง Advanced Configuration

๐ŸŽฏ Customize Your Experience

Change Trigger Keyword

PowerToys Settings โ†’ PowerToys Run โ†’ Plugins โ†’ QuickAI โ†’ Change ai to your preference

Optimize Performance

  • Temperature: Adjust creativity (0.0 = factual, 2.0 = creative, default: 0.2)
  • Max Tokens: Control response length (16-4096, default: 128)
  • Request Timeout: Configure timeout in seconds (3-30, default: 8)
  • Model Selection: Choose specific models per provider
  • Dual API Keys: Configure backup keys for reliability

๐Ÿ†• New Advanced Features

  • System Prompt: Configure persistent instructions sent before every query (e.g., "You are a concise assistant")
    • Works across all providers with native API support
    • Perfect for setting consistent AI personality or response style
  • Clipboard Image Attachment: Toggle to attach clipboard images with queries
    • Requires vision-capable models (GPT-4V, Gemini Pro Vision, etc.)
    • Shows ๐Ÿ“Ž indicator when enabled
    • Great for code analysis, error messages, charts, and visual content
  • Quick Commands: Type / to see built-in commands (/read, /explain, /summarize, /translate, /fix)
    • Add your own custom commands in settings
    • Format: /name=prompt; /name2=prompt2
    • Append extra text: ai /translate to French sends "Translate the following to English: to French"

Provider-Specific Settings

  • Groq: Best for speed with Llama models
  • Together: Wide variety of open-source models
  • Fireworks: Fast inference with custom models
  • OpenRouter: Access to multiple providers via one key
  • Cohere: Enterprise-grade models with different API
  • Google: Google Gemini models (API key passed as URL parameter)
  • Ollama ๐Ÿ†•: Run models locally on your machine - zero API costs, complete privacy, customizable host URL

โš ๏ธ Important: Model Name Configuration

Critical: Always copy the exact model name from your provider's documentation or dashboard. Model names vary by provider and must match exactly:

Examples of correct model names:

  • Groq: llama-3.1-8b-instant, mixtral-8x7b-32768
  • Together: meta-llama/Llama-3-8b-chat-hf, mistralai/Mixtral-8x7B-Instruct-v0.1
  • Fireworks: accounts/fireworks/models/llama-v3p1-8b-instruct โš ๏ธ (must include full path)
  • OpenRouter: meta-llama/llama-3.1-8b-instruct, anthropic/claude-3-haiku
  • Cohere: command, command-light, command-nightly
  • Google: gemini-1.5-flash, gemini-1.5-pro, gemini-pro
  • Ollama ๐Ÿ†•: llama3.2, mistral, qwen2.5, codellama, deepseek-r1 (any locally pulled model)
Settings Example
Example: Fireworks requires full model path like accounts/fireworks/models/llama-v3p1-8b-instruct

Where to find correct model names:


๐Ÿ”‘ API Key Acquisition

How to Get Your API Keys

Groq

  1. Visit https://console.groq.com
  2. Sign up or log in
  3. Navigate to API Keys section
  4. Create a new API key
  5. Copy and paste into QuickAI settings

Together

  1. Visit https://api.together.xyz
  2. Create an account
  3. Go to Settings โ†’ API Keys
  4. Generate a new key
  5. Copy and paste into QuickAI settings

Fireworks

  1. Visit https://fireworks.ai
  2. Sign up for an account
  3. Navigate to API Keys
  4. Create a new key
  5. Copy and paste into QuickAI settings

OpenRouter

  1. Visit https://openrouter.ai
  2. Sign up or log in
  3. Go to Keys section
  4. Generate an API key
  5. Copy and paste into QuickAI settings

Cohere

  1. Visit https://cohere.com
  2. Create an account
  3. Navigate to API Keys
  4. Create a new key
  5. Copy and paste into QuickAI settings

Google

  1. Visit https://ai.google.dev
  2. Sign up or log in with your Google account
  3. Navigate to Get API Key section
  4. Create a new API key
  5. Copy and paste into QuickAI settings

Ollama (Local - No API Key Required!) ๐Ÿ†•

  1. Install Ollama from https://ollama.com
  2. Run ollama serve to start the local server
  3. Pull a model: ollama pull llama3.2 (or any model)
  4. Select "Ollama" provider in QuickAI settings
  5. Set model name to your pulled model (e.g., llama3.2, mistral, qwen2.5)
  6. Optionally configure custom host URL (default: http://localhost:11434)

๐Ÿ’ก Tip: Most cloud providers offer free tiers perfect for testing QuickAI! With Ollama, run unlimited queries locally for free!


๐Ÿ”ง Technical Details

Architecture & Implementation

Architecture

  • Target Framework: .NET 9.0 Windows (10.0.22621.0)
  • Plugin Type: PowerToys Run Plugin (DynamicLoading: false)
  • HTTP Client: Static singleton with configurable timeout (default: 8 seconds, range: 3-30)
  • Streaming: Server-Sent Events (SSE) parsing with real-time UI updates
  • JSON: System.Text.Json for serialization
  • UI: WPF with theme-aware design

Implementation Highlights

  • Implements IPlugin for PowerToys Run integration
  • Implements ISettingProvider for GUI configuration via AdditionalOptions
  • Implements IContextMenu for right-click actions (show full response, copy, restart)
  • Implements IDisposable for proper resource cleanup
  • Async HTTP requests with Task.Run() for non-blocking queries
  • Real-time result updates during streaming (batched every 3 tokens or 150ms for performance)
  • Automatic retry with secondary API key on failure
  • Thread-safe response building with StringBuilder
  • Supports multiple API schemas (OpenAI, Cohere, Google Gemini)

Error Handling

  • Validates API key presence before requests
  • Handles network failures gracefully
  • Shows user-friendly error messages
  • Configurable timeout protection (default: 8 seconds, range: 3-30)
  • JSON parsing error recovery
  • Automatic fallback to secondary API key

Project Structure

PowerToysRun-QuickAi/
โ”œโ”€โ”€ QuickAi/
โ”‚   โ”œโ”€โ”€ Community.PowerToys.Run.Plugin.QuickAi/
โ”‚   โ”‚   โ”œโ”€โ”€ Main.cs                    # Core plugin implementation (1275 lines)
โ”‚   โ”‚   โ”œโ”€โ”€ plugin.json                # Plugin manifest
โ”‚   โ”‚   โ”œโ”€โ”€ *.csproj                   # Project file
โ”‚   โ”‚   โ””โ”€โ”€ Images/
โ”‚   โ”‚       โ”œโ”€โ”€ ai.dark.png           # Dark theme icon
โ”‚   โ”‚       โ””โ”€โ”€ ai.light.png          # Light theme icon
โ”‚   โ””โ”€โ”€ QuickAi.sln                   # Solution file
โ”œโ”€โ”€ assets/                            # README images and demos
โ”œโ”€โ”€ .github/workflows/                 # CI/CD automation
โ””โ”€โ”€ README.md                          # This file

๐Ÿ—๏ธ For Developers

๐Ÿš€ Quick Build

git clone https://github.com/ruslanlap/PowerToysRun-QuickAi.git
cd PowerToysRun-QuickAi
./build-and-zip.sh  # Creates distribution-ready packages

๐Ÿงช Tech Stack

  • Runtime: .NET 9.0 with Windows 10/11 target
  • UI: WPF with theme-aware design
  • HTTP: HttpClient with streaming support
  • Architecture: Service-oriented with clean separation
  • Serialization: System.Text.Json for API responses

๐ŸŽฏ Project Highlights

  • Clean Code: Well-documented, testable architecture
  • Multi-Platform: x64 + ARM64 builds
  • Streaming: Real-time response handling
  • Plugin Template: Great starting point for other PowerToys plugins
  • Provider Abstraction: Easy to add new AI providers

Want to contribute?

Contribute Issues


๐ŸŒŸ Community & Support

Show Some Love โค๏ธ

If QuickAI boosts your productivity, consider starring the repo and sharing with colleagues!

Star this repo Tweet about it

Support Development โ˜•

Buy me a coffee

Join the Community


๐Ÿ†˜ Troubleshooting

Plugin not showing up?
  • โœ… Check path: %LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins\QuickAi
  • โœ… Verify files: Ensure plugin.json exists in the folder
  • โœ… Restart: Completely exit and restart PowerToys
  • โœ… Permissions: Run PowerToys as administrator once
API requests failing?
  • โœ… API Key: Verify your API key is correct and active
  • โœ… Internet: Check connection for API requests
  • โœ… Provider: Ensure selected provider is available
  • โœ… Model: Verify model name is supported by provider
Streaming not working?
  • โœ… Network: Check if streaming is blocked by firewall
  • โœ… Timeout: Increase timeout in plugin settings
  • โœ… Provider: Some providers may have streaming limitations
"Show full response" only shows partial text?

From issue #3: this is expected when the AI response is truncated by settings, not a UI bug. The provider stops early if token limits or timeouts are too low, so the modal only shows the first words.

What to do

  • โœ… Increase Max Tokens: Try 2048โ€“4096 to allow full answers.
  • โœ… Raise Request Timeout: Low timeouts can cut responses.
  • โœ… Provider limits: Some providers enforce their own caps.
  • โ„น๏ธ Temperature: Only affects creativity, not length.

If you still need the full text, press Ctrl+C in the result list to copy the complete response.


โ“ FAQ

How do I change the AI provider? PowerToys Settings โ†’ PowerToys Run โ†’ Plugins โ†’ QuickAI โ†’ Select provider from dropdown
Can I use multiple API keys? Yes! Configure both primary and secondary API keys. The plugin will automatically fallback if the primary fails.
What models are supported? Any model supported by your chosen provider. Popular choices include Llama 3.1, Mixtral, and provider-specific models.
Is my data private? Your queries are sent to the chosen AI provider's API. Check each provider's privacy policy for details on data handling. **NEW**: With Ollama, everything stays on your machine - complete privacy!
Can I use it offline? Cloud providers (Groq, Together, etc.) require internet. **NEW**: With Ollama, you can run AI completely offline on your local machine!
How do I use Quick Commands? Type ai / to see all available commands. Built-in commands include /read, /explain, /summarize, /translate, /fix. You can also add your own custom commands in PowerToys Settings โ†’ QuickAI โ†’ Custom Quick Commands using the format: /name=prompt; /name2=prompt2
How do I use Ollama for local AI? 1. Install Ollama from [ollama.com](https://ollama.com)
2. Run `ollama serve` in terminal
3. Pull a model: `ollama pull llama3.2`
4. Select "Ollama" in QuickAI settings
5. Set model name to your pulled model
6. Enjoy unlimited local AI queries with zero API costs!

๐Ÿ”’ Privacy & Security

  • โœ… Local Plugin: All plugin functionality runs locally
  • โœ… No Tracking: Zero analytics or telemetry from the plugin
  • โœ… Open Source: Full code transparency
  • โœ… MIT License: Free for any use

โš ๏ธ API Key Storage

Important Security Notice: API keys are currently stored in plain text in PowerToys settings JSON file:

%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\settings.json

Security Recommendations:

  • โœ… Use API keys with limited permissions or quotas
  • โœ… Do not use production or billing-critical keys
  • โœ… Consider rotating keys periodically
  • โœ… Avoid sharing your settings.json file
  • โœ… Use provider-specific key restrictions (IP allowlists, rate limits)

Future Enhancement: Windows DPAPI encryption for API keys is planned for a future release.

Data Privacy

  • Your queries are sent to the chosen AI provider's API
  • QuickAI plugin itself does not collect or store any query data
  • Check each provider's privacy policy for their data handling practices
  • Most providers use queries for model improvement (check provider settings to opt-out)
  • ๐Ÿ†• Ollama: Complete privacy - all processing happens locally on your machine, no data leaves your computer

๐Ÿ“„ License

Released under the MIT License. Free for personal and commercial use.


๐Ÿ™ Acknowledgements

Powered by amazing AI providers:

Built with:

Special Thanks:

  • @fuzhiyin-7 - For suggesting Ollama integration, bringing local AI support to QuickAI! ๐ŸŽ‰
  • @WuJunkai2004 (Wu Junkai) - For ideas and contributions that inspired the major UI overhaul with dedicated ResultsWindow, markdown rendering, and improved user experience in v1.1.1! ๐ŸŽจโœจ
  • @ELGUAPOLIFE - For the feature request that brought custom system prompts and clipboard image attachment to QuickAI in v1.2.0! ๐Ÿ’ฌ๐Ÿ“ธ

๐Ÿš€ Ready to supercharge your workflow with AI?

Download Now

Made with โค๏ธ by @ruslanlap