# AI optimized docs

Trustless Work docs are written for humans **and** for machines.

Humans get clarity, precision, and examples. Agents get structure, consistency, and predictable semantics.

### Why this matters

The next generation of builders won’t just code. They’ll prompt, automate, and delegate work to agents.

An AI-ready doc set lets you:

* Export content for training and internal copilots.
* Feed pages into your LLM memory or RAG pipeline.
* Let agents reason through flows and generate SDK/API calls.

{% hint style="info" %}
Goal: make the documentation itself a building block for automation.
{% endhint %}

### Export formats

You can export any section of the docs as PDF or Markdown.

<figure><img src="https://2074000817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDg2e2YCRmNlhCnxxmEb6%2Fuploads%2Fzp4kl9yhr8GU4OWDG69J%2Fimage.png?alt=media&#x26;token=953776ad-f6d8-4703-a4f7-b0e5bca03acc" alt=""><figcaption></figcaption></figure>

* **PDF** for onboarding manuals and reference packs.
* **Markdown (.md)** for ingestion and context injection.
* **Prompt blocks** for pasting into GPT, Cursor, or v0.dev.

{% hint style="success" %}
Check the SDK pages for prompt-first workflows that generate and debug escrow flows.
{% endhint %}

### Ask the docs (search)

Search is optimized for natural language. Use intent-focused prompts, not just keywords.

Example prompts:

```
fund a multi-release escrow with testnet USDC
create an SDK snippet to mark milestone as done
explain the difference between approver and release signer
```

{% hint style="info" %}
Search rewrites your question into a structured query and returns the best snippets.
{% endhint %}


---

# 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.trustlesswork.com/trustless-work/introduction/readme/ai-optimized-docs.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.
