# Welcome to StackAI

StackAI is an AI coding agent you run in your terminal. Tell it what you want — it reads your files, plans the change, and writes the code. There's also **Vibe**, a web mode where you build whole projects just by chatting.

```bash
npm install -g stackai
stackai login
stackai
```

{% hint style="success" %}
**Free to start** — 50 requests/day, no credit card. Sign in with X at [usestackai.com](https://usestackai.com) to grab a key.
{% endhint %}

### Where to start

{% content-ref url="/pages/VUaWcB51GwyZKhGjTP4c" %}
[Getting started](/get-started/getting-started.md)
{% endcontent-ref %}

{% content-ref url="/pages/DpgA75cCi39CmyvlowuN" %}
[CLI reference](/cli/cli-reference.md)
{% endcontent-ref %}

{% content-ref url="/pages/iMgVlRqh4CwUlQqCgHPj" %}
[Vibe](/web/vibe.md)
{% endcontent-ref %}

{% content-ref url="/pages/Y7w6Eb1SNjaNI2Frkv0G" %}
[Project context (STACKAI.md)](/cli/project-context.md)
{% endcontent-ref %}

### What makes it different

* The agent runs **locally** — it works on the real files in your project.
* **Interactive mode** keeps full context across a conversation.
* **Codebase-aware** with built-in search (grep) and file finding (glob).
* Powered by **Xiaomi MiMo v2.5 Pro** with a **1M token** context window.


---

# 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.usestackai.com/readme.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.
