# First run

On first launch, OpenAdminOS guides you through the minimum setup required before an agent can run.

1. Review the local-first trust model.
2. Connect a Microsoft 365 tenant.
3. Pick an LLM provider.
4. Install and run a first agent.

There is no demo tenant mode. If no tenant is connected, OpenAdminOS keeps you in onboarding and agents cannot start.

## Provider Choice

Ollama keeps prompts and tenant data on the device. OpenAI Codex uses the locally installed Codex CLI and the user's existing Codex authentication, but prompts are sent to OpenAI because the selected model is hosted.

The UI changes its data-residency messaging based on the active provider.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openadminos.com/basics/first-run.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
