DeepSeek
Run DeepSeek models with reasoning, thinking mode, structured output, retries, and tool use.
| Example | Description |
|---|---|
| DeepSeek Basic | Run a DeepSeek V4 Flash agent with sync, async, and streaming responses. |
| DeepSeek Reasoning Agent | Solve the missionaries and cannibals puzzle with DeepSeek V4 Pro reasoning. |
| Reasoning Effort | Tune reasoning depth with reasoning_effort. |
| Retry | Review retry settings and why invalid model IDs cannot reliably exercise the retry path. |
| DeepSeek Structured Output | Request JSON from DeepSeek and validate it locally as a MovieScript. |
| Thinking Mode | Enable or disable DeepSeek V4 thinking mode and inspect reasoning_content. |
| Thinking Tool Calls | Combine DeepSeek thinking mode with web search tool calls and show full reasoning. |
| Tool Use | Answer news questions with a DeepSeek V4 Flash agent using web search tools. |