DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

xushilianzhuren /

xushilianzhuren/dsh-triage-gate

Verified

两级事件分诊闸(Super-agent架构Fast/Slow Path工程化):第一级确定性代码规则秒杀噪音(白名单/来源/关键词·零成本零延迟),第二级候选事件才交大模型语义判断;规则表可配置可热更,未命中规则自动落语义层——事件驱动的智能体装上即得过滤标准姿势。

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@424ed949

dsh-triage-gate

Two-stage event triage gate — the engineering contract for Fast Path / Slow Path filtering in event-driven agent systems.

How it works

  1. Fast Path (deterministic rules, free & instant): whitelist / source / keyword rules kill most noise before any model call.
  2. Slow Path (semantic layer): unmatched candidates go to the LLM with your prompt-defined policy.

Verdict per event: ignore / candidate / act, with the stage and reason attached — so your agent knows whether the decision was made by code or needs a model pass.

Use

dsh plugin add github:<owner>/dsh-triage-gate
curl "http://127.0.0.1:<port>/triage/api?act=rules"
curl -X POST "http://127.0.0.1:<port>/triage/api?act=triage" \
  -H 'content-type: application/json' \
  -d '{"source":"im","from":"alice","text":"报错了帮忙看看"}'

Rules are configurable via plugin config (rules array, evaluated in order, first match wins). Unmatched events default to candidate (semantic layer).

—/ 5

No ratings yet

Verified DSH bundle

Commit 424ed9491027

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout