Skip to content
zuni
OPEN-SOURCE CLI PYTHON ≥ 3.11 MIT LICENSE

Research, withoutleaving your terminal.

Zuni pairs an OpenAI-compatible model with web search, reads the pages it finds, and answers your question with source citations, right where you already work.

$uv tool install ssannssarr.zuni
~/research — zuni askILLUSTRATIVE
~ $ zuni ask "What is quantum computing?"

› searching the web

› extracting readable page content

› synthesizing answer

Quantum computing uses qubits, which can exist in superpositions of 0 and 1, and exploits entanglement and interference to solve certain problems faster than classical machines [1][2].

SOURCES

[1] en.wikipedia.org/wiki/Quantum_computing

[2] ibm.com/think/topics/quantum-computing

01 IN THE TERMINAL

One command.
Three ways to ask.

A local walkthrough of real Zuni commands. The sample output is illustrative: nothing here calls a model or the web.

TRY IT YOURSELF
zuni ask "What is quantum computing?"
zuni askILLUSTRATIVE
~ $ zuni ask "What is quantum computing?"

› searching the web

› extracting readable page content

› synthesizing answer

Quantum computing is a model of computation built on quantum-mechanical effects. Its basic unit, the qubit, can hold a superposition of states [1].

Algorithms use entanglement and interference to amplify useful outcomes, offering speed-ups for certain problems [1][2].

SOURCES

[1] en.wikipedia.org/wiki/Quantum_computing

[2] ibm.com/think/topics/quantum-computing

zuni ask "What is quantum computing?"
02 HOW IT WORKS

From question to citation.

Four steps, every time you run zuni ask. Follow one question through.

01
STEP 01 ASK

You ask a question.

Type it the way you'd say it. Zuni takes the question straight from the command line. No browser tab, no context switch.

INPUT

$ zuni ask "What is quantum computing?"

02
STEP 02 SEARCH

The web gathers context.

Zuni searches the web and extracts readable page content, so the model gets useful text rather than raw markup.

--no-search skips this step · -n sets the result count

SEARCH → READABLE TEXT

search result → extracted page text

03
STEP 03 SYNTHESIZE

Your model writes the answer.

The context goes to the OpenAI-compatible endpoint you configured: your API key, model ID, and base URL.

ZUNI CONFIG

API key ••••••••
model ID <your model>
base URL <your endpoint>

04
STEP 04 CITE

A cited answer, in place.

The answer prints in your terminal with its source references, so you can inspect the material behind a claim.

OUTPUT · ILLUSTRATIVE

Answer text with source references [1] [2]

03 FEATURES

Small surface.
Sharp edges.

Four capabilities, straight from the project. That's the whole tool, and that's the point.

  1. 01

    Automatic web search

    Search the web by default, then use retrieved pages to ground an answer beyond model memory alone.

    zuni ask -n 3 "…"zuni ask --no-search "…"
  2. 02

    Readable page extraction

    Extract readable content from result pages and give the model useful text to reason over.

    page → readable texttext → model context
  3. 03

    Source citations

    Get answers with source references printed beneath the response, ready for you to inspect.

    [1] source url[2] source url
  4. 04

    OpenAI-compatible endpoints

    Use a compatible API endpoint and configure your key, model, and base URL with zuni config.

    zuni configOpenAI-style API
04 QUICK START

Four commands to a first answer.

  1. 01

    Install from PyPI

    uv tool install ssannssarr.zuni

    Requires Python 3.11 or newer and uv.

  2. 02

    Verify the install

    zuni --help

    See the available commands and options.

  3. 03

    Configure your model

    zuni config

    Set your API key, model ID, and compatible base URL.

  4. 04

    Ask your first question

    zuni ask "What is quantum computing?"

    Add --no-search to skip web research or -n to set the result count.

Ask. Search.
Cite.

Zuni is open source under the MIT License. Read the code, file an issue, or send a pull request.