Relay
Real-time collaborative developer workspace featuring a workspace-wide RAG AI agent driven by Atlas Vector Search
screen-capture (13) · Image source · Relay project
Image provenance
Original project branding or screenshot referenced from official project evidence with attribution; trademarks remain with their owners.
Understand the work it supports.
- Adaptive Retrieval: A regex-based intent classifier (needsRetrieval()) detects whether the query is general knowledge (e.g. "what is a binary tree?") or personal (e.g. "how does my binary search work?"). General queries skip the embedding API call and vector search entirely — saving latency and API cost.
- Embedding Generation: Personal queries trigger Google's gemini-embedding-001 model via Mongoose pre('save') hooks on every document save, producing a 768-dimensional semantic vector stored directly in MongoDB.
- Parallel Vector Search + Score Filtering: Two $vectorSearch aggregation pipelines run in parallel (Promise.all) across Notes and Snippets with numCandidates: 100. Results are filtered by a cosine similarity threshold of 0.60 — documents below this are discarded before prompt injection, preventing hallucinations from loosely-related context.
- Adaptive Temperature: Temperature is set dynamically based on retrieval outcome using getTemperature(skippedRetrieval). Personal/RAG queries use temperature 0.2 (deterministic, strictly grounded in retrieved context). General knowledge queries use temperature 0.7 (more expressive and educational). This prevents the model from hallucinating variable names on code tasks while still giving rich explanations on conceptual questions.
- Grounded Generation: Only high-relevance documents are injected into the Gemini prompt with explicit citation instructions. The LLM is told to cite the exact Snippet or Note title, making answers fully auditable.
- Monaco Editor (the same engine powering VS Code) with full IntelliSense
Capabilities & data portability
- AI capabilities
- Not confirmed in published facts
- Integrations
- Not confirmed
- API access
- Not confirmed
- Import
- Not confirmed
- Export
- Not confirmed
- Platforms
- Not confirmed
- Product languages
- Not confirmed
- License
- Not confirmed
Pricing & commitmentRead the conditions.
Read the conditions.
Then compare the cost.
Check edition, seats, region and billing commitment together. Open-source code does not establish free hosted service.
Published pricing facts
Pricing not confirmed
- Pricing model
- Pricing not confirmed
- Scope
- Relay official project
- Free trial
- Not confirmed
- Billing model
- Not confirmed
- Trial conditions
- Not confirmed
- Price visibility
- Not confirmed
- Billing unit
- Not confirmed
- Minimum seats
- Not confirmed
- Region / tax
- Not confirmed
- The repository does not establish a current hosted-service price. Review the official pricing and deployment terms before purchase.
Trace the facts to their sources.
Reviewed 2026-11-23. Prices and availability can change.
- api.github.comChecked 2026-11-23 · Source evidence reviewed
- api.github.comChecked 2026-11-23 · Source evidence reviewed