返回目录
Agent 与会话 插件

dsh-triage-gate

xushilianzhuren/dsh-triage-gate

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

Stars
0
Forks
0
Issues
0
更新
23 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:xushilianzhuren/dsh-triage-gate

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

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).

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类Agent 与会话
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、ai-agent。