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

# Guides

GitBook Agent helps you create, improve, and maintain documentation with AI. These guides cover practical workflows for your team.

#### Explore

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-pen-to-square">:pen-to-square:</i></h4></td><td><h4>How to write documentation with AI</h4></td><td>Use GitBook Agent as an AI teammate for your documentation</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/lZib1r0W2EKSeHHGsXse">/spaces/LBGJKQic7BQYBXmVSjy0/pages/lZib1r0W2EKSeHHGsXse</a></td></tr><tr><td><h4><i class="fa-wand-magic-sparkles">:wand-magic-sparkles:</i></h4></td><td><h4>Streamline docs workflows with GitBook Agent</h4></td><td>Find practical workflows for content updates and maintenance</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/qFDlIyMYStBBWzAihxLv">/spaces/LBGJKQic7BQYBXmVSjy0/pages/qFDlIyMYStBBWzAihxLv</a></td></tr><tr><td><h4><i class="fa-brain-circuit">:brain-circuit:</i></h4></td><td><h4>Introduce AI into your documentation workflow</h4></td><td>Plan an AI-assisted process that keeps people in control</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/D9vypo5fHLnICOAyJTNU">/spaces/LBGJKQic7BQYBXmVSjy0/pages/D9vypo5fHLnICOAyJTNU</a></td></tr><tr><td><h4><i class="fa-code-pull-request">:code-pull-request:</i></h4></td><td><h4>Collaborate on change requests</h4></td><td>Review, discuss, and merge documentation changes with your team</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/d95mdHFHppZlERwwiByR">/spaces/LBGJKQic7BQYBXmVSjy0/pages/d95mdHFHppZlERwwiByR</a></td></tr></tbody></table>

#### Quick guides

<details>

<summary>How do I create a first draft with GitBook Agent?</summary>

GitBook Agent can turn a scoped request into a draft change.

This guide covers adding context, reviewing the draft, and refining the content.

<button type="button" class="button secondary" data-action="ask" data-query="How do I create a first documentation draft with GitBook Agent? Show me how to add context, request a draft, review the change, and refine the content. Include links to the relevant docs pages." data-icon="gitbook-assistant">Open guide</button>

</details>

<details>

<summary>How do I review a change request with GitBook Agent?</summary>

GitBook Agent can review documentation changes and identify issues before you merge.

This guide covers requesting a review, addressing feedback, and approving the change.

<button type="button" class="button secondary" data-action="ask" data-query="How do I review a documentation change request with GitBook Agent? Show me how to request a review, address feedback, and approve the change. Include links to the relevant docs pages." data-icon="gitbook-assistant">Open guide</button>

</details>

<details>

<summary>How do I find and fix documentation gaps automatically?</summary>

GitBook Agent can identify outdated or incomplete documentation and prepare fixes.

This guide covers running improvements, reviewing suggested changes, and publishing updates.

<button type="button" class="button secondary" data-action="ask" data-query="How do I find and fix documentation gaps with GitBook Agent? Show me how to run automatic improvements, review suggested changes, and publish updates. Include links to the relevant docs pages." data-icon="gitbook-assistant">Open guide</button>

</details>

<details>

<summary>How do I translate documentation with GitBook Agent?</summary>

GitBook Agent can translate content and keep translated versions aligned with the source.

This guide covers creating translations, reviewing localized content, and managing updates.

<button type="button" class="button secondary" data-action="ask" data-query="How do I translate documentation with GitBook Agent? Show me how to create translations, review localized content, and manage source updates. Include links to the relevant docs pages." data-icon="gitbook-assistant">Open guide</button>

</details>


---

# 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 dynamically by asking a question.

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

```
GET https://gitbook.com/docs/gitbook-agent/guides.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
