The Claude Code provider connects DP Code to Anthropic’s Claude Code CLI agent. The provider kind isDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Emanuele-web04/dpcode/llms.txt
Use this file to discover all available pages before exploring further.
claudeAgent. When you start a session, DP Code launches the claude binary as a subprocess, manages the session lifecycle, and streams events to your browser.
Prerequisites
Install Claude Code CLI
Install the Claude Code CLI from Anthropic. The recommended method is npm:After installation, verify it is available:
Authenticate
Run
claude in your terminal to complete the login flow and authorize against your Anthropic account or API key.Settings
Configure the Claude Code provider underproviders.claudeAgent in your DP Code server settings.
Path to the
claude executable. Accepts a bare binary name resolved from PATH or an absolute path.Additional command-line arguments passed to the
claude binary at startup, provided as a single string. Use this to pass custom flags that are not otherwise exposed by DP Code.Example: "--dangerously-skip-permissions"List of additional model slugs to make available in the model picker. Each entry must be a non-empty string with a maximum of 256 characters.
Set to
false to disable the Claude Code provider. Existing sessions continue until you reload.The
launchArgs field is a raw string appended to the launch command. Separate multiple flags with spaces, as you would in a terminal.Model selection
The following models are available by default. DP Code selectsclaude-sonnet-4-6 when no model is specified.
| Model slug | Display name |
|---|---|
claude-opus-4-7 | Claude Opus 4.7 |
claude-opus-4-6 | Claude Opus 4.6 |
claude-opus-4-5 | Claude Opus 4.5 |
claude-sonnet-4-6 | Claude Sonnet 4.6 |
claude-haiku-4-5 | Claude Haiku 4.5 |
customModels.
Model aliases
| Alias | Resolves to |
|---|---|
opus | claude-opus-4-7 |
opus-4.7 | claude-opus-4-7 |
opus-4.6 | claude-opus-4-6 |
opus-4.5 | claude-opus-4-5 |
sonnet | claude-sonnet-4-6 |
sonnet-4.6 | claude-sonnet-4-6 |
haiku | claude-haiku-4-5 |
haiku-4.5 | claude-haiku-4-5 |
Reasoning effort (extended thinking)
Opus and Sonnet models support effort levels. Select the level in the model options panel.| Value | Label |
|---|---|
low | Low |
medium | Medium |
high | High (default for most models) |
xhigh | Extra High |
max | Max |
ultrathink | Ultrathink |
ultrathink is a prompt-injected effort level — DP Code injects it as a reasoning instruction rather than passing it as a parameter flag. It is available on Opus 4.7, Opus 4.6, and Sonnet 4.6.Fast mode
Opus 4.7 and Opus 4.6 support fast mode for reduced latency.Thinking toggle
Claude Haiku 4.5 exposes an explicit thinking toggle instead of effort levels. Enable it in the model options panel to activate extended thinking.Context window
Opus and Sonnet models offer two context window sizes:| Value | Label | Default |
|---|---|---|
200k | 200k | Yes |
1m | 1M | — |
Claude Code documentation
Official setup guide and feature reference for Claude Code.
Anthropic model overview
Current Claude model capabilities and availability.