> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# xAI

> xAI model examples for building agents with Grok, including vision, web search, and financial analysis.

| Example | Description |
| - | - |
| [xAI Basic](https://agno-v2.mintlify.site/examples/models/xai/basic.md) | Run a Grok agent in sync, async, and streaming modes with xAI. |
| [Finance Agent](https://agno-v2.mintlify.site/examples/models/xai/finance-agent.md) | Use YFinanceTools with Grok to report stock prices, analyst recommendations, company data, and news. |
| [xAI Image Agent](https://agno-v2.mintlify.site/examples/models/xai/image-agent.md) | Describe an image URL with Grok 4.5 and search for related news. |
| [xAI Image Agent Bytes](https://agno-v2.mintlify.site/examples/models/xai/image-agent-bytes.md) | Analyze downloaded image bytes with Grok 4.5. |
| [xAI Image Agent With Memory](https://agno-v2.mintlify.site/examples/models/xai/image-agent-with-memory.md) | Analyze an image with Grok 4.5 and retain history for follow-up questions. |
| [xAI Live Search Agent](https://agno-v2.mintlify.site/examples/models/xai/live-search-agent.md) | Enable xAI Live Search on Grok with search parameters and citations for a news digest. |
| [xAI Live Search Agent Stream](https://agno-v2.mintlify.site/examples/models/xai/live-search-agent-stream.md) | Stream a world news digest from Grok using xAI Live Search with citations. |
| [xAI Reasoning Agent](https://agno-v2.mintlify.site/examples/models/xai/reasoning-agent.md) | Combine ReasoningTools and YFinance on Grok 4.3 to write a stock report with visible reasoning. |
| [Retry](https://agno-v2.mintlify.site/examples/models/xai/retry.md) | Review retry settings and why invalid model IDs cannot reliably exercise the retry path. |
| [xAI Structured Output](https://agno-v2.mintlify.site/examples/models/xai/structured-output.md) | Get a typed MovieScript object back from Grok with a Pydantic output schema. |
| [Build a Web Search Agent using xAI](https://agno-v2.mintlify.site/examples/models/xai/tool-use.md) | Build a web search agent on Grok and run it sync, streaming, and async. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.