> For the complete documentation index, see [llms.txt](https://totem-protocol.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://totem-protocol.gitbook.io/docs/welcome.md). Agents can also search and read this documentation through its [MCP server](https://totem-protocol.gitbook.io/docs/~gitbook/mcp).

# ✨ Welcome

## Your AI. Your machine. Your control.

Welcome to **Totem LLM** — a simple way to run AI on your own hardware, while still having the option to use cloud models when you want them.

You don't need to be an AI expert.\
You don't need a complicated server setup.\
If you can install an app and copy a command, you can get started. 🚀

{% hint style="info" %}
**First time here?** Follow the **5-Minute Quick Start**. We'll take it one step at a time.
{% endhint %}

## ⚡ Want to start right now?

You only need two commands to install and launch Totem:

```bash
npm install -g totem-llm
totem-llm start
```

Then open:

```
http://localhost:8686
```

{% hint style="success" %}
**That's it — Totem is running.**
{% endhint %}

## 🌟 Why Totem?

|                                 |                                                                    |
| ------------------------------- | ------------------------------------------------------------------ |
| 🔒 **Privacy First**            | Run AI locally and keep your data on your own machine.             |
| 💻 **Built for Real Computers** | Designed for laptops and desktops — not only expensive AI servers. |
| 🧠 **Choose Your AI**           | Use local Ollama models or cloud models through OpenRouter.        |
| ⚡ **Simple Setup**              | Install with npm and start with one command.                       |
| 🛠️ **Open Source**             | Explore the code, contribute, and build with the community.        |
| 🌍 **Flexible**                 | Start small locally and use larger models when you need them.      |

## 🧭 Where should I go?

### 👋 I'm completely new

Start with **Getting Started → 5-Minute Quick Start**.

### 🧠 I want to choose a model

Go to **Models & Configuration → Choosing a Model**.

### ⌨️ I want the commands

Go to **Using Totem → CLI Commands**.

### 🛠️ Something isn't working

Go to **Help → Troubleshooting**.

### 👨‍💻 I want to contribute

Go to **Developers → Contributing**.

## 🔗 Official links

* 🌐 [Totem Protocol](https://totemprotocol.io/)
* 📦 [Installation Page](https://totemprotocol.io/install)
* 🐙 [GitHub Repository](https://github.com/fred-terzi/totem-llm)
* 🐛 [Report an Issue](https://github.com/fred-terzi/totem-llm/issues)
* 💬 [GitHub Discussions](https://github.com/fred-terzi/totem-llm/discussions)

**Ready?** 🚀\
Continue to **Getting Started** and we'll get Totem running together.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://totem-protocol.gitbook.io/docs/welcome.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
