# The `minimal` agent preset: a fixed-prompt, two-tool coding surface. # # The persona is the complete system prompt, so global identity, Web surface, # tool guidance, and later assembly listeners cannot add prompt text. The model # composes only the persistent `bash` and `str_replace_editor` tools. - id: persona name: '@deepseek-ai/dsh-persona' config: text: You are a helpful software engineer assistant. complete: true # The PTY registry is an agent-owned service, so it lives in an entry-local # realm. The backend still consumes the host sandbox policy and subprocess # implementation, while the tool registers into this agent's scoped catalog. - id: persistent-shell name: cordis:group group: true isolate: pty: true config: - id: pty name: '@deepseek-ai/dsh-pty' - id: pty-local name: '@deepseek-ai/dsh-pty-local' config: timeoutMs: 300000 - 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. # The editor requires absolute paths unconditionally. - id: str-replace-editor name: '@deepseek-ai/dsh-tool-str-replace-editor' config: maxOutputChars: 16000 # Model capacity comes from routed model metadata; this block states the # compaction policy explicitly. # # `tokenMeter` is deliberately NOT in this realm: the meter stays on the HOST # plane, and the row here resolves that one instance. It takes no configuration, # keys every fold by Session, and owns the context-meter projection units the # browser reads for every session — behind a realm those units would come and go # with whichever presets happen to be mounted. What a preset chooses is whether # its agent compacts at all, which is `compact-basic` below. - id: compaction name: cordis:group group: true isolate: compact: true config: - id: compact-basic name: '@deepseek-ai/dsh-compact-basic' config: thresholdRatio: 0.8 retainTokens: 20480 summarizationProvider: '' summarizationModel: '' maxTokens: 8192 compactionRetries: 1