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