Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Mini AgentNew to Visual Studio Code? Get it now.
Mini Agent

Mini Agent

Nishant Patel

|
2 installs
| (0) | Free
AI Prompt Generator for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Mini Agent

An AI Prompt Generator for VS Code — like Cline or Cursor prompt assistant, but 100% free and no API costs.

Mini Agent sits inside VS Code as a sidebar panel.
It generates smart AI prompts (with workspace file details, instructions, etc.) and you can copy them into ChatGPT / Gemini / DeepSeek / Claude to apply changes back to your code.


🚀 What Makes Mini Agent Different?

✅ No API key needed
✅ Generate prompts locally (no cloud dependency)
✅ Send full workspace context to AI easily
✅ One-click Copy Prompt → Paste into AI → Apply Changes


🧠 Overview

Mini Agent simplifies coding with AI:

  1. Select what you want the AI to do (fix bug, refactor, generate file, understand code, etc.)
  2. Mini Agent automatically collects relevant details (file name, language, your text input).
  3. It generates a professionally formatted AI prompt.
  4. You paste that prompt into ChatGPT / Gemini / Claude / DeepSeek.
  5. AI returns improved code → you paste changes back into VS Code.

Think of it as “Cline-like prompt brain” without API dependency.


✨ Features

Feature Description
🧩 Sidebar UI Built using React + shadcn/ui
💡 Prompt Templates Ready-made templates (Fix Code, Explain Code, Optimize Code, etc.)
🎨 Theme support Auto adapts to VS Code Light / Dark
✍️ Custom Prompts (coming soon) Save your own prompt workflows
📄 Export Prompts (coming soon) Export to JSON / Markdown / shareable text
🤖 Copy Workspace Details Prompt includes file path + code context
⚡ One-Click Copy Copy prompt directly to AI

🧑‍💻 How to Use Mini Agent (Step-by-Step)

✅ Step 1: Open Mini Agent Panel

  1. Install the extension (see section below).
  2. Look at VS Code Activity Bar (left side).
  3. Click the Mini Agent icon (🤖).

Mini Agent sidebar UI will open.


✅ Step 2: Generate a Prompt

Inside the sidebar:

  1. Select a prompt category
    (Examples: Fix Bug, Refactor Code, Explain Code, Create Component, etc.)
  2. Paste your code or write instructions in the input box.
  3. Click Generate Prompt.

Mini Agent will create a full AI-ready prompt like:

Task: Fix the bug in this file File: src/components/Sidebar.tsx

✅ Step 3: Send Prompt to an AI (ChatGPT / DeepSeek / Claude / Gemini)

  1. Click Copy Prompt
  2. Paste into any AI chat window: ChatGPT / Claude / DeepSeek / Gemini (web or app)
  3. The AI now has all the information it needs: code file path instructions in expected output format

✅ Step 4: Apply AI Changes Back Into VS Code

  1. AI will respond with optimized or fixed code.
  2. Copy the AI output.
  3. Paste into Apply changes dialog . Done.

Code refactored → Bug fixed → New feature generated ✅
All with Mini Agent inside VS Code.


🛠 Installation

🟣 Install from VS Code Marketplace

  1. Open VS Code
  2. Press:
    • Ctrl + Shift + X (Windows/Linux)
    • Cmd + Shift + X (Mac)
  3. Search for "Mini Agent"
  4. Click Install

🟡 Install via .vsix File

  1. Download mini-agent-0.0.1.vsix
  2. Open VS Code
  3. Go to Extensions
  4. Click ... menu (top right)
  5. Select Install from VSIX
  6. Choose the downloaded file

🔧 Extension Settings

Setting Description
miniAgent.defaultTemplate Sets default prompt template
miniAgent.autoSave Auto-save prompts to storage
miniAgent.exportFormat Export format: JSON / Markdown / Text

🧩 Requirements

  • VS Code version 1.105.0 or higher
  • No API key required
  • No external dependencies
  • No cost

🐛 Known Issues

  • None at the moment

🤝 Contributing

We welcome contributions — UI improvements, templates, features, bug fixes.

  1. Fork the repository
  2. Create a new branch
  3. Commit your changes
  4. Submit a Pull Request

📄 License

This project is licensed under the:

GNU General Public License v3 (GPL v3)

See the full license here → LICENSE.txt


🗓 Release Notes

0.0.1

  • Sidebar webview created
  • Prompt generator UI added
  • Basic template support

📬 Support

If you have feedback, issues, or feature requests:

👉 https://github.com/itsnishant470/mini-agent


⭐ If you find this useful, please star the repository on GitHub!

Made with ❤️ by Nishant Patel


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft