# Working with LLMs

## Working with LLMs

### AI-Ready Documentation

Our documentation is automatically optimized for AI tools:

#### Auto-Generated Formats

* **llms.txt**: <https://docs.humanity.org/llms.txt> (index with descriptions)
* **llms-full.txt**: <https://docs.humanity.org/llms-full.txt> (complete content in one file)
* **MCP Server**: `https://docs.humanity.org/~gitbook/mcp` (real-time queries)
* **Markdown Pages**: Add `.md` to any URL for clean markdown

### Quick Start Prompt

#### ChatGPT / Claude / Perplexity&#x20;

```
Read https://docs.humanity.org/llms.txt and help me integrate Humanity authentication into my Next.js app
```

#### Cursor IDE

See [Cursor Integration Guide](/working-with-llms/cursor-integration-guide.md)

#### Claude Code

See [Claude Code Integration Guide](/working-with-llms/claude-code-integration-guide.md)

#### Codex&#x20;

See [Codex Integration Guide](/working-with-llms/codex-integration-guide.md)

### Example Prompts

**SDK Integration:**

* "Build OAuth PKCE flow with Humanity SDK"
* "Explain age\_over\_21 preset verification"
* "Generate bot protection code using is\_human"

**On-Chain:**

* "Deploy contract that verifies KYC status"
* "Query VCRegistry in Solidity"
* "Build airdrop limited to verified humans"

### Always Current

Our AI-accessible documentation updates automatically when we publish changes.


---

# 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.humanity.org/working-with-llms.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.
