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