Skip to content
Ziya Sadigzade
← All work

Case study · Caucasus AI Labs

Compass

An AI assistant that answers questions from an organisation's own documents, with citations. A Chrome side panel on a FastAPI backend, also shipped as an offline on-premise install.

Role
Founder & CTO, built end to end
Period
2026 — now
Company
Caucasus AI Labs, Baku
Stack
React · TypeScript · Chrome MV3 · FastAPI

01 — Problem

Answers from an organisation's own documents, that a reader can check.

Compass answers questions from an organisation's own documents and cites where each answer came from. Its clients work in government transit, audit and capital markets. For a government pilot in Azerbaijan it also had to work as an offline on-premise install, with no external API calls.

02 — What I built

A browser side panel on a retrieval backend.

  1. 01  Ask

    Chrome side panel in React, TypeScript, MV3

  2. 02  Serve

    FastAPI backend

  3. 03  Retrieve

    Hybrid search: vector + BM25

  4. 04  Answer

    Answer with citations

The same system ships as an offline on-premise install: everything runs on the organisation's own servers, with no external API calls.

03 — Results

Shipped to a government pilot.

Documents indexed, zero failures
561
Median search time, CPU only
84 ms
Unreadable characters repaired
96%
External API calls
0

An offline, search-only edition has run on the government client's own CPU server since August 2026: 561 documents in Azerbaijani and Russian, 55,479 searchable chunks. A round-trip probe found 7.9% of chunks unfindable because of an old pre-Unicode encoding; decoding at parse time fixed all but four pages. Client sectors: government transit, audit and capital markets. Client names are not published on this site.

04 — Decisions

Hybrid retrieval
Compass combines vector search with BM25, so a query can match on meaning and on exact terms.
Citations
Answers point back to the source documents, so a reader can check them.
Offline install
For the government pilot, the whole system runs on-premise with no external API calls.
Built end to end
The MV3 side panel in React and TypeScript, the FastAPI backend, and the hybrid retrieval behind it.