Skip to main content

Add semantic search to anything, in minutes

Try it live
Loading search demo...
Transformers.js • Ahnlich WASM

A simple, intuitive API

Go from connection to semantic search in four steps, in the language you already work in.

$pip install ahnlich-client-py
connect.py
01 / 04
Python
import asyncio
from grpclib.client import Channel
from ahnlich_client_py.grpc.services.ai_service import AiServiceStub


async def main():
async with Channel(host="127.0.0.1", port=1370) as channel:
client = AiServiceStub(channel)
# ready to talk to Ahnlich
Featured Example

Build your own music recognition

Index your music library and search by playing audio clips. Like Shazam or YouTube's audio search, powered by ahnlich-ai with CLAP embeddings and ahnlich-db for semantic similarity.

Record & Match

Capture audio from your microphone and find matching songs in your library

Long Audio Support

Index songs up to 10 minutes with automatic chunking and overlap

High Accuracy

50-60% similarity scores on clean recordings with CLAP embeddings

Quickstart

Up and running in seconds

Install a single binary and start indexing. No cluster to babysit, no heavyweight dependencies. Just a fast vector store ready for your embeddings.

bash — ahnlich
# Run the Ahnlich DB server
$docker run -d -p 1369:1369 ghcr.io/deven96/ahnlich-db:latest
# ...or spin up the AI proxy for automatic embeddings
$docker run -d -p 1370:1370 ghcr.io/deven96/ahnlich-ai:latest

Start building smarter search today

Grab a release for Mac or Linux, or build from source. Ahnlich is free and open source with an active community.