Transform your ideas into structured project plans with AI-powered planning for VS Code.
Layr is a VS Code extension that generates comprehensive, actionable project plans from natural language descriptions. Now with pre-configured Groq integration - start using AI planning instantly without any setup!
Quick Start - No Configuration Needed!
Layr comes pre-configured with Groq AI - just install and start planning immediately:
- Install the extension
- Press
Ctrl+Shift+Pand type "Layr: Create Plan" (or pressCtrl+Alt+P) - Describe your project
- Get your AI-generated plan instantly!
No API keys, no configuration, no waiting - just install and use!
Zero Setup Required : Pre-configured with Groq AI for instant use - no API key needed!
Lightning Fast : Powered by Groq's ultra-fast inference infrastructure for near-instant results.
Intelligent Planning : Leverages advanced LLMs (Llama 3.3) to create detailed, context-aware project plans.
Visual Progress Tracking : Real-time progress indicators show generation status with percentage completion.
Iterative Refinement : Select any section and refine it with AI using side-by-side diff view.
Export & Share : Export plans to PDF or styled HTML formats for presentations and documentation.
Seamless Integration : Native VS Code integration through Command Palette with instant access to planning tools.
Flexible Output : Generates editable Markdown documents that you can customize and reference throughout development.
Enhanced Error Handling : Helpful error messages with troubleshooting guidance for quick resolution.
Multi-Provider Support : Optional support for Gemini, OpenAI, and Claude if you prefer other AI providers.
Secure Configuration : Multiple options for API key storage with built-in security best practices.
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Layr"
- Click Install
Layr requires Visual Studio Code version 1.74 or later.
You can check your VS Code version via:
- Windows/Linux: Help β About
- macOS: Code β About Visual Studio Code
- Open your IDE
- Go to Extensions
- Search for "Layr"
- Click Install
Or install directly from Open VSX Registry
- Clone this repository
- Open in VS Code
- Run
npm install - Press F5 to launch in Extension Development Host
Layr is 100% pre-configured! Just install and start using it immediately.
- No API keys to enter
- No settings to configure
- No account required
- No setup steps
It just works!
The extension comes with Groq AI built-in, providing:
- Ultra-fast responses (1-3 seconds)
- Powerful AI (Llama 3.3 70B model)
- Completely free for you to use
- Secure - your data stays private
While Layr works great out of the box, you can customize your plans:
How to Access Layr Settings:
-
VS Code / Cursor / Windsurf / Antigravity:
- Open Settings:
Ctrl+,(Windows/Linux) orCmd+,(Mac) - Search for "Layr" in the settings search bar
- Or navigate to: Settings β Look for "Layr" section in the left sidebar
- You'll find two settings: "Layr: Plan Size" and "Layr: Plan Type"
- Open Settings:
-
Via Settings JSON:
- Open Command Palette:
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Type "Preferences: Open User Settings (JSON)"
- Add or modify:
{ "layr.planSize": "Normal", "layr.planType": "SaaS" }
- Open Command Palette:
Plan Size (layr.planSize):
- Concise: 80-100 lines, quick overviews
- Normal: 180-240 lines, balanced detail (default)
- Descriptive: 300+ lines, comprehensive plans
Plan Type (layr.planType):
- Hobby: Simple learning projects with basic tools
- SaaS: Multi-tenant apps with billing and scalability (default)
- Production: Enterprise-grade with full CI/CD
- Enterprise: Microservices with advanced infrastructure
- Prototype: Rapid MVPs for quick validation
- Open Source: Community-focused with contribution guidelines
If you're forking this extension or want to use your own Groq API key:
- Get a free API key from Groq Console
- Add to
.envfile:GROQ_API_KEY=your_key_here - Or embed it in
src/planner/providers/groq.ts
See GROQ_SETUP.md for detailed instructions.
- Start Planning : Press
Ctrl+Alt+P(Windows/Linux) orCmd+Alt+P(Mac) to create a plan immediately.- Alternatively, open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P), type "Layr: Create Plan" and press Enter.
- Alternatively, open the Command Palette (
- Describe Your Project : Enter a natural language description of what you want to build
- Example: "A React todo app with user authentication and real-time updates"
- Example: "A REST API for a blog platform with user management"
- Example: "A Python data analysis script for sales reporting"
- Watch Progress : Track real-time progress with visual percentage indicators
- Review Generated Plan : The extension will create a new Markdown file with your project plan
- Customize as Needed : Edit the generated plan to match your specific requirements
- Open a Layr Plan : Open any markdown file generated by Layr (contains "Generated by Layr AI" watermark)
- Open Command Palette : Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Run Command : Type "Layr: Execute Plan" and press Enter
- Confirm Execution : Review the confirmation dialog and click "Execute with AI"
- Implementation Assistance :
- VS Code: Plan sent to GitHub Copilot Chat automatically
- Cursor: Plan sent to Cursor AI automatically
- Windsurf: Plan sent to Windsurf AI automatically
- Antigravity: Plan sent to Antigravity AI automatically
- Other IDEs: Plan copied to clipboard for manual paste
- Follow AI Guidance : Work with your AI assistant to implement the plan step by step
Safety Features:
- Only Layr-generated plans can be executed (watermark verification)
- Confirmation required before sending to AI
- Helpful error messages guide you through the process
- Automatic detection of AI assistants across different IDEs
- Universal clipboard fallback for any IDE
- Select Text : Highlight any section of your plan that needs improvement
- Right-click : Open the context menu
- Choose "Refine Plan Section" : Or use Command Palette (
Ctrl+Shift+Pβ "Layr: Refine Plan Section") - Enter Refinement Prompt : Describe how you want to improve the selected section
- Example: "Add more details about error handling"
- Example: "Include security best practices"
- Example: "Simplify this section for beginners"
- Review Changes : The refined section opens in a side-by-side diff view
- Apply or Discard : Click the checkmark (β) to apply changes or X to discard
Benefits:
- Iteratively improve your plans without regenerating from scratch
- Fine-tune specific sections while keeping the rest intact
- Experiment with different approaches using the diff view
- Maintain version control with side-by-side comparison
- Open a Layr Plan : Have your generated plan open in the editor
- Open Command Palette : Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Run Command : Type "Layr: Export Plan" and press Enter
- Choose Format : Select either PDF or HTML
- PDF: Perfect for sharing, presenting, or archiving
- HTML: Styled, interactive format for web viewing
- Save Location : Choose where to save your exported plan
Export Features:
- Professional formatting with proper styling
- Preserves all markdown formatting and structure
- Optimized layout for readability
- Great for documentation and presentations
Never lose track of your project's history. Layr now includes a powerful Version Control System that automatically tracks the evolution of your plans.
Features:
- Auto-Save: Every time you generate a plan or refine a section, a new version is saved automatically.
- History View: Browse a visual timeline of your plan's history.
- Diff Viewer: Compare any previous version side-by-side with your current file.
- Restore: Recover any past version with a single click.
How to Use:
- View History: Run the command
Layr: View Plan History(Ctrl+Shift+P). - Compare Versions: In the history panel, click the "Diff with Active" button next to any version.
- This opens a standard VS Code diff view comparing that past version with your currently open file.
- Restore Version: Click "Restore" to open that specific version in a new editor window.
Where is it stored?
All version history is stored safely in your workspace under the .layr/history/ directory.
Note: This feature requires you to have a workspace folder open in VS Code. If you are just editing a single file without a folder, history cannot be saved.
Be Specific : Include technology preferences, key features, and constraints
- Good: "A Node.js REST API with JWT authentication, PostgreSQL database, and Docker deployment"
- Basic: "A web API"
Mention Context : Include information about scale, audience, or special requirements
- "A mobile-first React app for small businesses with offline capability"
- "A Python script for processing large CSV files with memory optimization"
Include Constraints : Mention any limitations or preferences
- "Using only free/open-source technologies"
- "Must be deployable on AWS Lambda"
| Command | Description | Access |
|---|---|---|
Layr: Create Plan |
Generate a new project plan from description | Ctrl+Alt+P / Cmd+Alt+P |
Layr: Execute Plan |
Send plan to AI assistant for implementation | Command Palette |
Layr: Export Plan |
Export plan to PDF or HTML format | Command Palette |
Layr: Refine Plan Section |
Improve selected text with AI refinement | Right-click menu / Command Palette |
Apply Changes |
Accept refined changes in diff view | Editor toolbar (β) |
Discard Changes |
Reject refined changes in diff view | Editor toolbar (β) |
Generated plans include:
Project Overview : High-level description and objectives Requirements : Functional and technical requirements Architecture : System design and component structure Technology Stack : Recommended tools and frameworks Implementation Steps : Detailed development phases File Structure : Suggested project organization Testing Strategy : Approach for quality assurance Deployment : Production deployment considerations
Advantages :
- Ultra-fast - Get plans in seconds, not minutes
- Free to use - Pre-configured, no setup required
- Highly accurate - Powered by Llama 3.3 70B
- No account needed - Works immediately after install
- State-of-the-art - Latest open-source models
Requirements :
- Internet connection
- That's it! Pre-configured and ready to go
Best For : Everyone! Fast, free, and powerful - perfect for all projects
You can optionally use:
- Gemini - Google's multimodal AI
- OpenAI - GPT-4 and other OpenAI models
- Claude - Anthropic's Claude models
All provide detailed, customized plans but require your own API keys.
- No API key required
- Instant generation
- Consistent structure
Limitations :
- Limited to predefined project types
- Less customization
- May not reflect latest technologies
Best For : Common project patterns, quick prototyping, offline development
"Failed to generate plan"
- Check internet connection
- Verify API key is correctly configured
- Try using template mode as fallback
"API key not found"
- Ensure API key is set in VS Code settings
- Check that the key is valid and active
- Verify the key has appropriate permissions
"Extension not responding"
- Reload VS Code window (Ctrl+Shift+P β "Developer: Reload Window")
- Check VS Code output panel for error messages
- Ensure extension is properly installed and enabled
- Check the GitHub repository for known issues
- Review VS Code's extension troubleshooting guide
- Submit bug reports with detailed error messages and steps to reproduce
- API keys are stored locally in VS Code settings
- No data is collected or transmitted except to Google's Gemini API
- Generated plans remain on your local machine
- All communication with external services uses secure HTTPS connections
Contributions are welcome! Please see the repository for development setup instructions and contribution guidelines.
This project is licensed under the MIT License. See the LICENSE file for details.
- Node.js 16+
- VS Code
- TypeScript knowledge
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watch
# Debug in VS Code
# Press F5 to launch Extension Development Host# Compile for production
npm run vscode:prepublish| Setting | Type | Default | Description |
|---|---|---|---|
layr.geminiApiKey |
string | "" |
Your Gemini AI API key for generating intelligent plans |
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT License - see LICENSE file for details
- Developed by Manas Dutta
Anusha π» π |
Pranav Kale Jain π» |
Yash Singhal π» |
ShaikhWarsi π» |
Prem Patro π» π |
Doc-Entity π |
Thanks to these amazing people <3
If you encounter any issues or have suggestions:
- Check existing issues on GitHub
- Create a new issue with detailed description
- Include VS Code version and extension logs

