Push your code with
morph.git.push() first (see Repo Storage). Embedding takes 3-8 seconds in background.Installation
Quick Start
- Anthropic
- OpenAI
- Vercel AI SDK
- Direct
How It Works
Two-stage retrieval (~230ms total):- Vector search (~50ms) - HNSW index retrieves top 50 candidates
- GPU rerank (~150ms) - morph-rerank-v3 scores for precision
- Returns top 10 most relevant
Direct Usage
Search Tips
Good queries:- “Where is JWT validation implemented?”
- “Show database error handling”
- “Find the login flow”
- Single words (“auth”)
- Too vague (“code”)
- Too broad (“everything”)