> ## Documentation Index
> Fetch the complete documentation index at: https://rapidreview.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Your first search

> Search the corpus, open a paper, find related work, and cite it — four direct commands.

<Steps>
  <Step title="Search">
    ```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
    nisa search "flash attention" --max-results 10
    ```

    Direct commands answer from the indexes — no model turn, about a second.
  </Step>

  <Step title="Open a paper">
    ```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
    nisa paper 1706.03762
    ```

    Title, authors, abstract, year, citation count, graph cluster, PageRank.
  </Step>

  <Step title="Related work">
    ```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
    nisa related 1706.03762 --n 15
    ```

    A hybrid of citation-graph proximity and content similarity — the ranking the web app shows as *recommended papers*.
  </Step>

  <Step title="Cite">
    ```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
    nisa cite 1706.03762
    ```

    <Check>One BibTeX `@misc` entry on stdout. Done.</Check>
  </Step>
</Steps>

## Ask a question

```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
nisa ask --timeout 120 "Compare DPO vs PPO for LLM alignment. Include 3 arXiv ids."
```

Chat-backed: the agent searches, reads, synthesizes. Slower and usage-tracked; on timeout it exits `124` with the partial answer.

## Or chat

`nisa` alone opens the terminal chat. [Terminal chat](/docs/nisa/guides/terminal-chat)

<Columns cols={2}>
  <Card title="Searching the corpus" icon="magnifying-glass" href="/docs/nisa/guides/searching">Which command for which question.</Card>
  <Card title="Connect a folder" icon="folder-open" href="/docs/nisa/guides/connect-a-folder">Let the web agent read your files.</Card>
</Columns>
