| 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 | Compare JSON mode and native structured output for MovieScript generation on DeepSeek. |
| Thinking Mode | Toggle thinking on/off with the use_thinking flag. |
| Thinking Tool Calls | Tool calls during thinking mode. |
| Tool Use | Answer news questions with a DeepSeek V4 Flash agent using web search tools. |
DeepSeek
DeepSeek
Run DeepSeek models with reasoning, thinking mode, structured output, retries, and tool use.