---
title: "Perplexica (Now Vane): Self-Hosted AI Search Setup & API"
description: "Perplexica, the open-source Perplexity alternative, was renamed Vane. How it works with SearXNG and Ollama, the one-line Docker install, the /api/search endpoint, its limits, and how to build your own answer engine with a search API."
category: "guides"
url: https://keirolabs.cloud/blog/perplexica-vane
published: 2026-11-24
updated: 2026-11-24
---

# Perplexica is now Vane: the self-hosted AI answer engine, setup, API and limits

## The 60-second version

**Perplexica, the open-source, self-hosted Perplexity-style answer engine, has been renamed Vane.** The GitHub repository `ItzCrazyKns/Perplexica` now redirects to `ItzCrazyKns/Vane`, and the Docker image is `itzcrazykns1337/vane`. It is the same project: an MIT-licensed AI answer engine that searches the web through SearXNG and answers with a model you choose, including local models through Ollama.

| | Vane (formerly Perplexica) |
|---|---|
| What it is | Self-hosted AI answering engine: ask a question, get a cited answer |
| Search backend | SearXNG (bundled in the default Docker image) |
| Models | Ollama, OpenAI, Anthropic Claude, Google Gemini, Groq, DeepSeek, LM Studio and others |
| Modes | Speed, Balanced, Quality |
| Sources | `web`, `academic`, `discussions` |
| API | `POST /api/search` |
| Install | One Docker command; UI on port 3000 |
| License | MIT |
| Latest release when we checked | v1.12.2 (38,000+ GitHub stars) |

Details are from the project's README, API docs and release notes, checked in November 2026.

## Why was Perplexica renamed?

**The project's pages don't give a reason; they simply use the new name.** The About line now reads "Vane is an AI-powered answering engine", and the README calls it a "privacy-focused AI answering engine that runs entirely on your own hardware." Old links, Docker commands and tutorials that say Perplexica point to the same codebase, but use the new image name for fresh installs.

## How does Vane (Perplexica) work?

**A question goes through four steps:**

1. **Search.** Vane sends your query to a SearXNG instance, a self-hosted metasearch engine that queries other search engines and combines the results.
2. **Filter.** It uses an embedding model to rank results by relevance to your question.
3. **Answer.** Your chosen chat model writes an answer from the top results.
4. **Cite.** The answer links back to the sources it used.

**What changed in the 1.12 releases:**

- **LangChain was removed** in favor of the project's own provider layer.
- **The old "focus modes" were replaced by sources:** `web`, `academic` and `discussions`.
- **Uploaded files are searched with reciprocal rank fusion** (RRF) reranking. RRF is explained in our [hybrid search guide](/blog/bm25-hybrid-search-reciprocal-rank-fusion).
- **Embeddings filter web results.**

**The three modes trade speed for depth:** Speed for quick lookups, Balanced for everyday questions, Quality for research-style answers that take longer.

## How do I install Vane (Perplexica) with Docker?

**One command, from the README:**

```bash
docker run -d -p 3000:3000 -v vane-data:/home/vane/data --name vane itzcrazykns1337/vane:latest
```

Open `http://localhost:3000`, pick your model provider and enter its API key, or point it at Ollama for fully local models.

**Already run SearXNG?** Use the slim image and point it at your instance:

```bash
docker run -d -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng:8080 \
  -v vane-data:/home/vane/data --name vane itzcrazykns1337/vane:slim-latest
```

**Without Docker:** clone the repository, then run `npm i`, `npm run build` and `npm run start`. You'll need your own SearXNG instance.

**Using Ollama on the same machine?** From inside Docker, `localhost` is the container itself. Use `http://host.docker.internal:11434` (Docker Desktop) or your machine's LAN IP for the Ollama URL.

## Does Vane have an API?

**Yes. `POST /api/search` runs a full search-and-answer.** First call `GET /api/providers` to get provider IDs and model keys, then:

```bash
curl -X POST http://localhost:3000/api/search \
  -H "Content-Type: application/json" \
  -d '{
    "chatModel": {"providerId": "<provider-id>", "key": "<model-key>"},
    "embeddingModel": {"providerId": "<provider-id>", "key": "<embedding-model-key>"},
    "sources": ["web"],
    "optimizationMode": "balanced",
    "query": "What changed in PostgreSQL 18?",
    "history": [],
    "stream": false
  }'
```

**The response has `message` (the answer) and `sources`.** With `"stream": true`, it sends newline-delimited JSON events of type `init`, `sources`, `response` and `done`. You can also pass `systemInstructions` to steer the answer style.

## What are Vane's limits?

- **Search quality is SearXNG's quality.** SearXNG queries public search engines, which rate-limit and block automated traffic. That's the most common source of empty or poor results; see [SearXNG API not working? Fixes for 403, 429 and empty results](/blog/searxng-api-alternatives).
- **One search backend.** The README says support for other providers is "coming soon"; as of v1.12.2, it's SearXNG only.
- **Your hardware decides the speed.** Local models plus Quality mode can take a while on a laptop.
- **It's an app, not a building block.** Vane is great as a private Perplexity for you or your team. If you're building search into your own product, you'll want the pieces directly.

## Building your own answer engine instead

**Vane's design is the standard answer-engine loop, and it's small enough to build into your own product:** search, pick the best results, answer with numbered citations, check the citations.

```python
import os, requests
import anthropic

def search(query: str, n: int = 8) -> list[dict]:
    r = requests.post("https://api.keirolabs.cloud/api/v2/search/lite",
                      headers={"Authorization": f"Bearer {os.environ['KEIRO_API_KEY']}"},
                      json={"query": query, "count": n}, timeout=30)
    r.raise_for_status()
    return r.json()["results"]

def answer(question: str) -> str:
    results = search(question)
    sources = "\n\n".join(f"[{i+1}] {r['title']}\n{r['url']}\n{r.get('snippet', '')}"
                          for i, r in enumerate(results))
    msg = anthropic.Anthropic().messages.create(
        model="claude-haiku-5-5", max_tokens=1024,
        messages=[{"role": "user", "content":
                   f"Answer using only these sources. Cite them as [n] after each sentence.\n\n"
                   f"{sources}\n\nQuestion: {question}"}])
    return msg.content[0].text

print(answer("What changed in PostgreSQL 18?"))
```

That's the core of an answer engine in 25 lines, using a search API instead of a self-hosted metasearch instance, so there's nothing to keep unblocked. Then add:

- **Full page text for the top results:** Keirolabs `/search/content`.
- **Citation checks:** [LLM citations](/blog/llm-citations).
- **Several queries per question:** [query fan-out](/blog/query-fan-out).
- **Local models via Ollama:** [Ollama web search](/blog/ollama-web-search).

## Vane or a search API?

| You want | Use |
|---|---|
| A private Perplexity for yourself or your team | Vane |
| Everything on your own hardware | Vane + SearXNG + Ollama |
| Search inside your own app or agent | A search API |
| Reliable results without running SearXNG | A search API |
| Zero data retention guarantees for queries | A search API with ZDR, e.g. Keirolabs `"zdr": true` on paid plans |

New Keirolabs accounts get up to 2,000 free credits with no card ([get a key](https://platform.keirolabs.cloud/register)).
