mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
81 lines
2.6 KiB
YAML
81 lines
2.6 KiB
YAML
# Complete unattended minimal-agent composition for the Python SDK. The model
|
|
# sees one deployment-selected system prompt and only the owner-scoped
|
|
# persistent Bash and string-replace editor tools. Context compaction is absent.
|
|
|
|
- id: jsonrpc
|
|
name: '@deepseek-ai/dsh-jsonrpc'
|
|
config:
|
|
maxTokensAsSuccess: false
|
|
|
|
- id: llm-deepseek
|
|
name: '@deepseek-ai/dsh-llm-deepseek'
|
|
config:
|
|
apiKeyEnv: DEEPSEEK_API_KEY
|
|
streamIdleTimeoutMs: 172800000
|
|
models:
|
|
- id: !!js process.env.DSH_MODEL ?? 'deepseek-v4-flash'
|
|
contextWindow: !!js Number(process.env.DSH_CONTEXT_WINDOW ?? 1000000)
|
|
|
|
- id: sandbox
|
|
name: '@deepseek-ai/dsh-sandbox-local'
|
|
|
|
- id: sandbox-policy
|
|
name: '@deepseek-ai/dsh-sandbox-policy'
|
|
config:
|
|
mode: danger-full-access
|
|
workspaceRoot: !!js process.env.DSH_CWD ?? process.cwd()
|
|
|
|
- id: subprocess
|
|
name: '@deepseek-ai/dsh-subprocess-local'
|
|
|
|
- id: pty
|
|
name: '@deepseek-ai/dsh-pty'
|
|
|
|
- id: pty-local
|
|
name: '@deepseek-ai/dsh-pty-local'
|
|
config:
|
|
timeoutMs: 300000
|
|
|
|
# The editor uses the bare local filesystem; persistent Bash still consumes the
|
|
# shared danger-full-access sandbox policy above.
|
|
- id: fs-local
|
|
name: '@deepseek-ai/dsh-fs-local'
|
|
config:
|
|
cwd: !!js process.env.DSH_CWD ?? process.cwd()
|
|
|
|
- id: agent-spine
|
|
name: '@deepseek-ai/dsh-agent-spine-demo'
|
|
config:
|
|
includeHarnessIdentity: false
|
|
persona: !!js process.env.DSH_SYSTEM_PROMPT ?? 'You are a helpful software engineer assistant.'
|
|
workspaceContext: false
|
|
skills:
|
|
enabled: false
|
|
toolBash: false
|
|
toolTasks: false
|
|
|
|
- id: persistent-bash
|
|
name: '@deepseek-ai/dsh-tool-bash-persistent'
|
|
config:
|
|
timeoutMs: 300000
|
|
description: |-
|
|
Run commands in a bash shell
|
|
* When invoking this tool, the contents of the "command" parameter does NOT need to be XML-escaped.
|
|
* You don't have access to the internet via this tool.
|
|
* You do have access to a mirror of common linux and python packages via apt and pip.
|
|
* State is persistent across command calls and discussions with the user.
|
|
* To inspect a particular line range of a file, e.g. lines 10-25, try 'sed -n 10,25p /path/to/the/file'.
|
|
* Please avoid commands that may produce a very large amount of output.
|
|
* Please run long lived commands in the background, e.g. 'sleep 10 &' or start a server in the background.
|
|
|
|
- id: str-replace-editor
|
|
name: '@deepseek-ai/dsh-tool-str-replace-editor'
|
|
config:
|
|
maxOutputChars: 16000
|
|
|
|
- id: sessions
|
|
name: '@deepseek-ai/dsh-session-persistence-jsonl'
|
|
config:
|
|
root: !!js process.env.DSH_SESSION_ROOT ?? './.sessions'
|
|
compression: none
|