
Grepai Embeddings Lmstudio
Point GrepAI at a local LM Studio OpenAI-compatible embedding server so codebase search stays private with a GUI-managed model.
Install
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-embeddings-lmstudioWhat is this skill?
- Step-by-step LM Studio install, model download, and Local Server startup on default localhost:1234
- Recommends embedding models such as nomic-embed-text-v1.5 and bge-small-en-v1.5 or bge-large-en-v1.5
- Documents GrepAI configuration for an OpenAI-compatible local embedding endpoint
- 100% local, private embedding inference with visual model switching in LM Studio
Adoption & trust: 1 installs on skills.sh; 17 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Microsoft Foundrymicrosoft/azure-skills
Azure Aimicrosoft/azure-skills
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Lark Eventlarksuite/cli
Running Claude Code Via Litellm Copilotxixu-me/skills
Setup Matt Pocock Skillsmattpocock/skills
Journey fit
Primary fit
Embedding provider setup is part of assembling local agent tooling during Build, before you ship a RAG or search workflow. Agent-tooling subphase covers wiring retrieval stacks—here LM Studio as the embedding backend for GrepAI.
Common Questions / FAQ
Is Grepai Embeddings Lmstudio safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Grepai Embeddings Lmstudio
# GrepAI Embeddings with LM Studio This skill covers using LM Studio as the embedding provider for GrepAI, offering a user-friendly GUI for managing local models. ## When to Use This Skill - Want local embeddings with a graphical interface - Already using LM Studio for other AI tasks - Prefer visual model management over CLI - Need to easily switch between models ## What is LM Studio? LM Studio is a desktop application for running local LLMs with: - 🖥️ Graphical user interface - 📦 Easy model downloading - 🔌 OpenAI-compatible API - 🔒 100% private, local processing ## Prerequisites 1. Download LM Studio from [lmstudio.ai](https://lmstudio.ai) 2. Install and launch the application 3. Download an embedding model ## Installation ### Step 1: Download LM Studio Visit [lmstudio.ai](https://lmstudio.ai) and download for your platform: - macOS (Intel or Apple Silicon) - Windows - Linux ### Step 2: Launch and Download a Model 1. Open LM Studio 2. Go to the **Search** tab 3. Search for an embedding model: - `nomic-embed-text-v1.5` - `bge-small-en-v1.5` - `bge-large-en-v1.5` 4. Click **Download** ### Step 3: Start the Local Server 1. Go to the **Local Server** tab 2. Select your embedding model 3. Click **Start Server** 4. Note the endpoint (default: `http://localhost:1234`) ## Configuration ### Basic Configuration ```yaml # .grepai/config.yaml embedder: provider: lmstudio model: nomic-embed-text-v1.5 endpoint: http://localhost:1234 ``` ### With Custom Port ```yaml embedder: provider: lmstudio model: nomic-embed-text-v1.5 endpoint: http://localhost:8080 ``` ### With Explicit Dimensions ```yaml embedder: provider: lmstudio model: nomic-embed-text-v1.5 endpoint: http://localhost:1234 dimensions: 768 ``` ## Available Models ### nomic-embed-text-v1.5 (Recommended) | Property | Value | |----------|-------| | Dimensions | 768 | | Size | ~260 MB | | Quality | Excellent | | Speed | Fast | ```yaml embedder: provider: lmstudio model: nomic-embed-text-v1.5 ``` ### bge-small-en-v1.5 | Property | Value | |----------|-------| | Dimensions | 384 | | Size | ~130 MB | | Quality | Good | | Speed | Very fast | Best for: Smaller codebases, faster indexing. ```yaml embedder: provider: lmstudio model: bge-small-en-v1.5 dimensions: 384 ``` ### bge-large-en-v1.5 | Property | Value | |----------|-------| | Dimensions | 1024 | | Size | ~1.3 GB | | Quality | Very high | | Speed | Slower | Best for: Maximum accuracy. ```yaml embedder: provider: lmstudio model: bge-large-en-v1.5 dimensions: 1024 ``` ## Model Comparison | Model | Dims | Size | Speed | Quality | |-------|------|------|-------|---------| | `bge-small-en-v1.5` | 384 | 130MB | ⚡⚡⚡ | ⭐⭐⭐ | | `nomic-embed-text-v1.5` | 768 | 260MB | ⚡⚡ | ⭐⭐⭐⭐ | | `bge-large-en-v1.5` | 1024 | 1.3GB | ⚡ | ⭐⭐⭐⭐⭐ | ## LM Studio Server Setup ### Starting the Server 1. Open LM Studio 2. Navigate to **Local Server** tab (left sidebar) 3. Select an embedding model from the dropdown 4. Configure settings: - Port: `1234` (default) - Enable **Embedding Endpoint** 5. Click **Start Server** ### Server Status Look for the green indicator showing the server is running. ### Verifying the Server ```bash # Check server is responding curl http://localhost:1234/v1/models # Test embedding curl http://localhost:1234/v1/embeddings \ -H "Content-Type: application/json" \ -d '{ "model": "nomic-embed-text-v1.5", "input": "function authenticate(user)" }' ``` ## LM Studio Settings ### Recommended Settings In LM Studio's Local Server tab: | Setting | Recommended Value | |---------|-------------------| | Port | 1234 | | Enable CORS | Yes | | Context Length | Auto | | GPU Layers | Max (for speed) | ### GPU Acceleration LM Studio automatically uses: - **macOS:** Metal (Apple Si