
Grepai Embeddings Lmstudio
- 516 installs
- 18 repo stars
- Updated February 1, 2026
- yoanbernabeu/grepai-skills
grepai-embeddings-lmstudio is an agent skill that configures LM Studio as GrepAI's local OpenAI-compatible embedding provider for developers who want private semantic codebase search with a GUI-managed model.
About
grepai-embeddings-lmstudio is a yoanbernabeu/grepai-skills agent skill for pointing GrepAI at LM Studio as the embedding backend. LM Studio provides a desktop GUI for downloading models and exposing an OpenAI-compatible embedding API, which GrepAI consumes for semantic code search without sending vectors to a cloud provider. The skill fits developers already running local LLMs in LM Studio who prefer visual model management over CLI-only embedding servers. Use it when configuring GrepAI for private embeddings, switching embedding models through a GUI, or integrating local inference with agent codebase retrieval. It complements other GrepAI provider skills by focusing specifically on LM Studio's OpenAI-compatible embedding endpoint rather than Ollama or cloud APIs.
- 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
Grepai Embeddings Lmstudio by the numbers
- 516 all-time installs (skills.sh)
- +4 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #1,741 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-embeddings-lmstudioAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 516 |
|---|---|
| repo stars | ★ 18 |
| Security audit | 3 / 3 scanners passed |
| Last updated | February 1, 2026 |
| Repository | yoanbernabeu/grepai-skills ↗ |
How do you configure GrepAI with LM Studio embeddings?
Point GrepAI at a local LM Studio OpenAI-compatible embedding server so codebase search stays private with a GUI-managed model.
Who is it for?
Developers using GrepAI who want local embedding-powered code search managed through LM Studio's desktop GUI.
Skip if: Developers using only cloud embedding APIs or CLI-only providers like Ollama without LM Studio's OpenAI-compatible server.
When should I use this skill?
GrepAI needs a local embedding provider and LM Studio is installed or preferred for GUI model management.
What you get
GrepAI embedding provider config targeting LM Studio, working local embedding endpoint, and verified semantic search against the codebase.
- GrepAI embedding provider configuration
- Verified local semantic search
Files
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 2. Install and launch the application 3. Download an embedding model
Installation
Step 1: Download LM Studio
Visit 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.5bge-small-en-v1.5bge-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
# .grepai/config.yaml
embedder:
provider: lmstudio
model: nomic-embed-text-v1.5
endpoint: http://localhost:1234With Custom Port
embedder:
provider: lmstudio
model: nomic-embed-text-v1.5
endpoint: http://localhost:8080With Explicit Dimensions
embedder:
provider: lmstudio
model: nomic-embed-text-v1.5
endpoint: http://localhost:1234
dimensions: 768Available Models
nomic-embed-text-v1.5 (Recommended)
| Property | Value |
|---|---|
| Dimensions | 768 |
| Size | ~260 MB |
| Quality | Excellent |
| Speed | Fast |
embedder:
provider: lmstudio
model: nomic-embed-text-v1.5bge-small-en-v1.5
| Property | Value |
|---|---|
| Dimensions | 384 |
| Size | ~130 MB |
| Quality | Good |
| Speed | Very fast |
Best for: Smaller codebases, faster indexing.
embedder:
provider: lmstudio
model: bge-small-en-v1.5
dimensions: 384bge-large-en-v1.5
| Property | Value |
|---|---|
| Dimensions | 1024 |
| Size | ~1.3 GB |
| Quality | Very high |
| Speed | Slower |
Best for: Maximum accuracy.
embedder:
provider: lmstudio
model: bge-large-en-v1.5
dimensions: 1024Model 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
# 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 Silicon)
- Windows/Linux: CUDA (NVIDIA)
Adjust GPU layers in settings for memory/speed balance.
Running LM Studio Headless
For server environments, LM Studio supports CLI mode:
# Start server without GUI (check LM Studio docs for exact syntax)
lmstudio server start --model nomic-embed-text-v1.5 --port 1234Common Issues
❌ Problem: Connection refused ✅ Solution: Ensure LM Studio server is running: 1. Open LM Studio 2. Go to Local Server tab 3. Click Start Server
❌ Problem: Model not found ✅ Solution: 1. Download the model in LM Studio's Search tab 2. Select it in the Local Server dropdown
❌ Problem: Slow embedding generation ✅ Solutions:
- Enable GPU acceleration in LM Studio settings
- Use a smaller model (bge-small-en-v1.5)
- Close other GPU-intensive applications
❌ Problem: Port already in use ✅ Solution: Change port in LM Studio settings:
embedder:
endpoint: http://localhost:8080 # Different port❌ Problem: LM Studio closes and server stops ✅ Solution: Keep LM Studio running in the background, or consider using Ollama which runs as a system service
LM Studio vs Ollama
| Feature | LM Studio | Ollama |
|---|---|---|
| GUI | ✅ Yes | ❌ CLI only |
| System service | ❌ App must run | ✅ Background service |
| Model management | ✅ Visual | ✅ CLI |
| Ease of use | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| Server reliability | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
Recommendation: Use LM Studio if you prefer a GUI, Ollama for always-on background service.
Migrating from LM Studio to Ollama
If you need a more reliable background service:
1. Install Ollama:
brew install ollama
ollama serve &
ollama pull nomic-embed-text2. Update config:
embedder:
provider: ollama
model: nomic-embed-text
endpoint: http://localhost:114343. Re-index:
rm .grepai/index.gob
grepai watchBest Practices
1. Keep LM Studio running: Server stops when app closes 2. Use recommended model: nomic-embed-text-v1.5 for best balance 3. Enable GPU: Faster embeddings with hardware acceleration 4. Check server before indexing: Ensure green status indicator 5. Consider Ollama for production: More reliable as background service
Output Format
Successful LM Studio configuration:
✅ LM Studio Embedding Provider Configured
Provider: LM Studio
Model: nomic-embed-text-v1.5
Endpoint: http://localhost:1234
Dimensions: 768 (auto-detected)
Status: Connected
Note: Keep LM Studio running for embeddings to work.Related skills
How it compares
Pick grepai-embeddings-lmstudio over cloud embedding setup when privacy and GUI-managed local models matter for GrepAI search.
FAQ
Why use LM Studio with GrepAI?
grepai-embeddings-lmstudio lets GrepAI use LM Studio's OpenAI-compatible embedding API so codebase vectors stay local, with GUI-based model downloads and easy switching between embedding models.
When should grepai-embeddings-lmstudio be used?
grepai-embeddings-lmstudio fits when you want local GrepAI embeddings with a graphical interface, already run LM Studio for other tasks, or need to switch embedding models without CLI provider setup.
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.