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

# Watsonx

> Run IBM watsonx models with basic responses, tools, knowledge, storage, retries, and structured output.

| Example                                                                 | Description                                                                    |
| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [IBM Basic](/examples/models/ibm/watsonx/basic)                         | Run a watsonx Mistral Small agent in sync, async, and streaming modes.         |
| [DB](/examples/models/ibm/watsonx/db)                                   | Persist watsonx agent sessions in Postgres with history added to context.      |
| [IBM Image Agent Bytes](/examples/models/ibm/watsonx/image-agent-bytes) | Pass an image as raw bytes to Llama 3.2 Vision on watsonx for analysis.        |
| [Knowledge](/examples/models/ibm/watsonx/knowledge)                     | Search a PgVector knowledge base loaded from a PDF with a watsonx agent.       |
| [IBM Structured Output](/examples/models/ibm/watsonx/structured-output) | Return a MovieScript Pydantic object from a watsonx agent with output\_schema. |
| [Tool Use](/examples/models/ibm/watsonx/tool-use)                       | Stream web search results through a watsonx agent, sync and async.             |
| [Retry](/examples/models/ibm/retry)                                     | Configure retry policy with exponential backoff on IBM WatsonX models.         |
