Introduction¶
When running coding agents in DeepSeek Harness (DSH), repeated judgments often pile up in log lines, tool outputs, failing tests, search results, or candidate files. Stuffing all this content into the LLM context, or spawning subagents to read them one by one, drives up cost and latency. For mechanical conditions, grep is more suitable; for semantic judgments requiring structured probabilities, a specialized interface is needed. The following introduces the community plugin dsh-jev-plugin (maintainer: RaulLazaro), which integrates TypeSafe’s Jev (System One decision model) into the Harness. It allows parallel questioning on the same piece of state via the jev tool, returning typed answers with probabilities, and allows configuring Providers and keys in Settings → Plugins → Jev.
What is this¶
dsh-jev-plugin is categorized as a “Model Inference” entry in the DSH community plugin directory (Directory page: skillhub.cn/plugins/RaulLazaro/dsh-jev-plugin). The plugin does not write long texts or generate prose; instead, it returns judgements: each question is evaluated in parallel on the same text segment. The README states that the time and cost for a request containing 50 questions are roughly the same as for one containing a single question, making it suitable for scenarios where agents need to perform the same type of judgment on a large number of items.
The plugin registers two types of surfaces with the Harness:
| Surface | Function |
|---|---|
jev tool |
Sends state + questions, returns typed answers, probabilities, and confidence |
| Settings → Plugins → Jev | Configure Provider, optional model override, Base URL for Custom providers, API key, and Test connection |
For source code and documentation, see GitHub: RaulLazaro/dsh-jev-plugin (package.json version 0.2.2, License MIT, requires Node >=20, dsh >=0.1.1-rc.1). The community directory has no official affiliation with DeepSeek or Helloslide; the plugin runs under the current dsh process permissions, please review the source code and license yourself before installation.
Core Features¶
- Batch Typed Questions:
stateis a string (can contain multiple segments, referenced by stable labels like### ITEM 1);questionsis an object, specifyingtypeandinstructionsfor each question (andcriteriarequired forchoice/score). - Three Question Types:
-noul: Returns probability of yes (0–1)
-choice: Returnschoice,probabilities,confidence
-score: Returnsscore,probabilities,confidenceon an ordered rubric - Multi-Provider: TypeSafe direct, Vercel AI Gateway, Laya Studio, OpenCode Zen, Custom; each provider uses an independent API key and can fall back to corresponding environment variables (e.g.,
TYPESAFE_API_KEY). Keys are stored in the DSH credentials store, not written intosettings.yaml. - Connection Test: Test connection in Settings performs a real round trip, reporting the parsed provider, model, latency, input tokens, and answer.
The README provides comparative measurements against “direct model usage” and “using subagents” on the same tasks and data (including median subagent stats of 9 requests, 48s, $0.035, etc.), and notes that it is inferior to grep on mechanical standards; for full evidence, see docs/MEASUREMENTS.md in the repo, and for intentionally omitted features, see docs/DECISIONS.md. For design questions, refer to TypeSafe’s official typesafe-ai/skills and agent-skill documentation.
Installation and Activation¶
The package includes a bundle patch, installation is a single command. dsh plugin forwards to pnpm, supporting local paths, git specs, and registry names:
dsh plugin --profile web add /path/to/dsh-jev-plugin # Local checkout
dsh plugin --profile web add github:RaulLazaro/dsh-jev-plugin # From GitHub
dsh plugin --profile web add dsh-jev-plugin # From registry after release
The above commands will add dependencies, write dsh-jev-plugin into the profile’s bundle list, and compose configuration according to cordis.patch.yml. You can confirm the composition result without starting the process:
dsh --profile web --dump-config | grep -A4 'dsh-jev-plugin'
# - id: jev
# name: dsh-jev-plugin
# config:
# enabled: true
# provider: typesafe
A Harness restart is required to mount the new bundle; running processes do not hot-load. API keys are filled in the UI, no need to write them into the composition. Uninstallation:
dsh plugin --profile web remove dsh-jev-plugin
Configuration¶
Open Settings → Plugins → Jev:
- Provider — Source of the Jev service (see table below).
- Model override — Optional; leave blank to use the provider’s default model.
- Base URL — Only required for Custom Provider.
- API key — See credentials store above; the interface will prompt if configured.
- Test connection — Real round trip and result summary.
| Provider | Endpoint | Default Model | Credential / Env Var |
|---|---|---|---|
| TypeSafe (direct) | https://api.typesafe.ai/v1/systemone |
jev-latest |
TYPESAFE_API_KEY |
| Vercel AI Gateway | https://ai-gateway.vercel.sh/typesafe/v1/systemone |
typesafe-ai/jev |
AI_GATEWAY_API_KEY |
| Laya Studio | https://api.laya.studio/v1/systemone |
auto-routed | LAYA_API_KEY |
| OpenCode Zen | https://opencode.ai/zen/v1/systemone |
jev-1.13 |
OPENCODE_ZEN_API_KEY |
| Custom | Self-hosted URL | jev-latest |
JEV_API_KEY |
The evaluation interface uses TypeSafe-compatible POST …/v1/systemone, not OpenAI / Anthropic compatible endpoints. Laya Studio shares the same wire protocol and question types as Jev, but has limitations on truncation and option count (explained in README); self-hosted Laya can be pointed to via Custom, e.g., http://127.0.0.1:<port>/v1/systemone.
Typical Usage¶
Pass JSON parameters to the jev tool (README example):
{
"state": "### ITEM 1\nTypeError: x is undefined\n\n### ITEM 2\nAll 42 tests passed in 1.2s",
"questions": {
"item1_failed": { "type": "noul", "instructions": "Does ITEM 1 report a failure?" },
"item2_failed": { "type": "noul", "instructions": "Does ITEM 2 report a failure?" },
"worst": {
"type": "choice",
"instructions": "Which item is the failure?",
"criteria": { "item1": "a code exception", "item2": "a passing run" }
}
}
}
The README emphasizes usage guidelines: Atomic questioning (keep each question narrow, reference items by labels); use English for instructions / criteria, state language is unrestricted; look at probabilities, not just the option, a flat distribution indicates guessing, confidence around 0.4–0.6 for noul implies low information content, whether to gate actions needs calibration on your own workload.
Use Cases and Notes¶
Suitable for: Performing parallel semantic judgments on a large number of homogeneous items (e.g., whether it failed, which one to choose, scoring), using code to combine answers to multiple questions within the agent workflow, rather than asking about the entire document at once.
Do not use Jev for (README explicitly refuses):
- Writing, summarizing, translating, or reformatting — it cannot generate text
- Exact strings or arithmetic — it is not a regex or calculator
- Requirements for long-chain reasoning — should be broken down into atomic questions and combined in code
Division of labor with grep: Use grep when standards can be mechanically matched; call jev when semantics and probabilities are required.
The DSH ecosystem philosophy is “Everything is a plugin”; this plugin is a community-contributed model inference extension. After installing via profile (example: web), configure the Provider and keys in Settings, restart the Harness, and the jev tool can be called within the agent.
For more instructions and changelog, see GitHub Repository README, and for plugin index, see SkillHub Directory Page.