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

# Overview

> Local-first AI context engineering for coding agents. No cloud account required. Bring your own LLM.

ByteRover CLI gives your AI coding agents persistent memory — stored locally on your machine. Connect your own LLM (BYOK) with no account required, or use the built-in LLM with a free ByteRover account. Install your preferred coding agents, and optionally sync to the cloud when you're ready to collaborate.

## Get started in 2 minutes

<Steps>
  <Step title="Install ByteRover CLI">
    <Tabs>
      <Tab title="Quick Install — macOS / Linux">
        <Note>
          **macOS Apple Silicon (M1/M2/M3+)**, **macOS Intel**, **Linux x86\_64**, and **Linux ARM64** only. On Windows — use the **npm** tab.
        </Note>

        ```bash theme={null}
        curl -fsSL https://byterover.dev/install.sh | sh
        ```

        Restart your shell after install, or run the `export PATH` line the installer prints.
      </Tab>

      <Tab title="npm — All Platforms">
        Requires [Node.js 20+](https://nodejs.org/en/download/):

        ```bash theme={null}
        npm install -g byterover-cli
        ```
      </Tab>
    </Tabs>
  </Step>

  <Step title="Open your project">
    <Tabs>
      <Tab title="TUI">
        Open your project in a terminal or in your IDE with a coding agent, then run `brv`:

        ```bash theme={null}
        cd path/to/your/project
        brv
        ```
      </Tab>

      <Tab title="CLI">
        Open your project in a terminal or in your IDE with a coding agent — run any `brv` command directly, no TUI needed:

        ```bash theme={null}
        cd path/to/your/project
        ```
      </Tab>
    </Tabs>
  </Step>

  <Step title="Configure and connect">
    The built-in LLM offers limited free usage with a ByteRover account (`brv login`). Or connect any of the 18 supported external providers with just an API key — no account needed:

    <Tabs>
      <Tab title="TUI">
        **Connect your LLM provider (OpenRouter, Anthropic, OpenAI, and more):**

        ```
        /providers
        ```

        **Select a model from your connected provider:**

        ```
        /model
        ```

        **Connect your coding agent (Cursor, Claude Code, Claude Desktop, and more):**

        ```
        /connectors
        ```
      </Tab>

      <Tab title="CLI">
        **Connect your LLM provider (run `brv providers list` to see all options):**

        ```bash theme={null}
        brv providers connect openrouter --api-key your-key

        # Or connect via OAuth (e.g., OpenAI)
        brv providers connect openai --oauth
        ```

        **Select a model from your connected provider:**

        ```bash theme={null}
        brv model switch <model>
        ```

        **Connect your coding agent (Cursor, Claude Code, Claude Desktop, and more):**

        ```bash theme={null}
        brv connectors install "Claude Code"
        ```
      </Tab>
    </Tabs>
  </Step>
</Steps>

<Card title="Continue with the Quickstart" icon="arrow-right" href="/quickstart">
  Full setup guide: install options, provider configuration, and your first context
</Card>

## Core concepts

<CardGroup cols={2}>
  <Card title="Context Tree" icon="folder-tree" href="/context-tree/local-space-structure">
    Your project's knowledge base — stored as markdown files in `.brv/context-tree/`. Human-readable, git-friendly, and hierarchically organized by domain and topic.
  </Card>

  <Card title="LLM Providers" icon="cpu" href="/external-llm-providers/overview">
    Connect 18 external providers (OpenRouter, Anthropic, OpenAI, and more), run a local model, or use the built-in LLM with a ByteRover account. Bring your own API key.
  </Card>

  <Card title="Daemon-First Architecture" icon="server" href="/daemon-first-architecture/overview">
    A background daemon handles all execution. CLI commands and coding agents connect directly — no TUI required. Auto-starts on demand, no manual setup.
  </Card>

  <Card title="BRV Hub" icon="store" href="/brv-hub/overview">
    Community marketplace for pre-built agent skills and context bundles. Install in one command and extend what your agents can do.
  </Card>

  <Card title="Local vs Cloud" icon="cloud" href="/local-vs-cloud">
    Everything works offline by default. Cloud adds team sync via Git-Semantic version control, multi-machine access, and backup — without changing your local workflow.
  </Card>

  <Card title="Git-Semantic VC" icon="git-branch" href="/git-semantic/overview">
    Git-like version control for your context tree. Branch, merge, and sync with teammates using familiar commands.
  </Card>
</CardGroup>
