Introduction¶
The core philosophy of DeepSeek Harness (DSH) is “Everything is a plugin.” When developing multi-agent systems, it is often necessary to integrate mature external CLI tools (such as Devin) as sub-agents. dsh-plugin-devin provides an unofficial bridging solution that injects Devin’s CLI capabilities into the DSH environment via ctx.subprocess.
What is it¶
This plugin is maintained by alexisvaleev and is an unofficial bridge. It transforms the Devin CLI’s devin -p (headless print mode) into DSH tools and commands, and provides LLM provider routing, enabling the entire DSH conversation loop to run via Devin. It is not affiliated with Cognition.
Core Features¶
devinTool: Launchesdevin -p "<prompt>"as a managed subprocess. Supports configuringcwd,model,permissionMode,resume,cloud, andtimeoutMsat call time. The result includes exit codes, stdout, stderr, and timeout status./devin <task>Command: Shortcut (available when the Profile includes command services).- LLM Provider Routing: Registers the
devinprovider via Agent Client Protocol (ACP), displayed in Settings → Models, supporting automatic model discovery. - Image Support: Native content blocks, visible to SWE and other vision models.
- Session Management: Persists ACP sessions, supporting resumption via session ID.
- Timeout & Output Limits: Includes timeout controls and memory output limits to prevent runaway processes.
Installation¶
The plugin has been published to npm and can be installed to a specified profile using the following command:
dsh plugin --profile <your-profile> add @quonaro/dsh-plugin-devin
Or install directly from Git:
dsh plugin --profile <your-profile> add github:quonaro/dsh-plugin-devin
If installing from a local checkout, simply specify the path. The package declares dsh.bundle, which automatically applies cordis.patch.yml upon installation.
Usage¶
After installation, configure parameters in the Profile’s cordis.patch.yml (or modify via GUI). All configurations are hot-reloadable and do not require a restart.
| Config Option | Default | Description |
|---|---|---|
devinPath |
devin |
Executable name or absolute path |
permissionMode |
accept-edits |
Headless mode cannot answer prompts; bypass/autonomous are suitable for fully unattended operation |
model |
'' |
Specify Devin model; leave empty to use CLI/account default |
cloud |
false |
Set to true to enable Devin Cloud sessions (--cloud) |
timeoutMs |
600000 |
Timeout for a single invocation |
maxOutputBytes |
1048576 |
Memory cap for captured streams |
respectWorkspaceTrust |
false |
Default is false; pass --respect-workspace-trust false to support -p mode |
forwardEnv |
PATH/HOME/USER/XDG_*/WINDSURF_API_KEY | Additional forwarded environment variables |
extraArgs |
[] |
Extra arguments, e.g., ['--sandbox'] |
Scenarios & Notes¶
- Prerequisites: Ensure
devinCLI is installed in PATH or specified viadevinPath.devin auth loginor theWINDSURF_API_KEYenvironment variable must be completed. - Profile Dependencies: The plugin hard-injects
toolsandsubprocess, so the Profile must include a subprocess provider (sdk-minimalis not supported). - Build Issues: pnpm ≥ 10 may refuse the
preparebuild during the first git installation. ConfigureallowBuildsinpnpm-workspace.yamland re-run. - Workspace Trust: The
--printmode cannot handle workspace trust prompts in untrusted directories, so it is disabled by default. - License: MIT.
Conclusion¶
This plugin integrates the powerful Devin CLI into the DeepSeek Harness ecosystem via ctx.subprocess, suitable for scenarios requiring delegation or routing of Devin as an independent Agent. For more details, please refer to the GitHub repository.