> For the complete documentation index, see [llms.txt](https://docs.nested-knowledge.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nested-knowledge.com/resources/support/ask-ai.md).

# Ask AI

Ask questions about using Nested Knowledge without leaving your nest.

**Ask AI** answers questions about using **Nested Knowledge** while you work in a nest. It draws answers from our documentation here and links to its sources.

Use it to understand a module, find a setting, or define a term. **Ask AI** doesn't read your nest data, so use [**Synthesis Chat**](/review-workflow/synthesis/navigate-synthesis-outputs/synthesis-chat.md) for questions about your review.

<figure><img src="https://305208404-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxb7uNGATUgwQAjDVQRXG%2Fuploads%2FLyQ1Cxk3YmpJrm97xlsk%2Fask%20ai%20modal.png?alt=media&amp;token=564a1fdf-29ba-41b0-898c-1cfeba53066c" alt="The Ask AI button in the top-right corner of an open nest."><figcaption><p>Select Ask AI from the top-right corner of an open nest.</p></figcaption></figure>

### Opening Ask AI

The **Ask AI** button sits at the top right of every page in an open nest.

1. Select **Ask AI**.
2. Select the close button when you finish.

### Ask A Question

1. Type your question in **Ask me anything**.
2. Select **Ask**, or press `Enter`.
3. Review the answer and its source pages.

Select a source to read the full documentation. Select **Stop** to interrupt a long answer.

**Further Reading** opens the documentation for your current module. Select **Get Human Support** if your question remains unresolved.

<figure><img src="https://305208404-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxb7uNGATUgwQAjDVQRXG%2Fuploads%2FWzQjMO7BcuRIDzLe6od5%2Fask%20ai%20answer.png?alt=media&amp;token=592cbe61-7e87-4c94-b79c-dd162a83b79e" alt="The Ask AI panel with a question field, answer, and linked source pages."><figcaption><p>Ask AI answers questions and links to its documentation sources.</p></figcaption></figure>

### What To Expect

**Ask AI** answers only from **Nested Knowledge** documentation. Confirm important details against the linked sources.

**Ask AI** only saves the last query sent across all nests.

Email <support@nested-knowledge.com> if you spot an incorrect answer.


---

# 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://docs.nested-knowledge.com/resources/support/ask-ai.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.
