deepseek_task
Delegate independent sub-tasks to DeepSeek and get back the final answer for research, drafting, code review, refactoring, analysis, or writing. Avoid polluting the main conversation.
Instructions
Delegate a sub-task to DeepSeek as a sub-agent and get back its result. Use this for work that can be done independently: research, drafting, code review, refactoring, analysis, writing, or any self-contained task that shouldn't pollute the main conversation. The caller (Codex) supplies a task description and optional context; DeepSeek completes the task in one shot and returns the final answer (with reasoning, if produced). Default model: deepseek-v4-flash. Override via DEEPSEEK_MODEL env (e.g. DeepSeek-V4-Pro-0813).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The sub-task for DeepSeek to complete. Be specific: what to do, what format the result should take. | |
| system | No | Optional custom system prompt overriding the default subagent persona. | |
| context | No | Optional context material the sub-agent should consider (code snippets, file contents, notes). | |
| max_tokens | No | Maximum output tokens. | |
| temperature | No | Sampling temperature (0-2). Omit to use the model default. | |
| reasoning_effort | No | Thinking effort for DeepSeek V4 reasoning mode. Omit to use the model default. |