Lahfir Local Harness Router
这是 Lahfir 公开的项目资料。本站按原始来源展示项目信息,用中文说明适用场景和阅读边界;项目名、源帖与代码保持原样,便于逐项核对。
这条案例记录了什么
Agent 与模型路由、编码 Agent
根据任务状态选择一条已定义的处理路径。
社区公开项目或作者演示
原始来源:Original X post by @mdlahfir。作者自述,本站未独立复现。
Lahfir
记录日期:2026-09-16。日期与身份应以原始资料为准。
原始演示视频
视频来自此案例记录的原始媒体;播放内容和作者声明不等于本站复现。
怎样核对这个项目
- 先打开原始来源,确认作者、日期与 Jev 在项目中的具体用途。
- 如果提供仓库,再检查代码、运行要求和许可证;仓库存在不代表本站已经运行成功。
- 对速度、成本、准确率和规模数字,查看原文的任务、环境和计算口径。
- 路由候选是否完整。
- 模糊请求的回退分支。
- 完整任务成本与结果。
- 仓库状态和测试是否完整。
原始文字与技术细节
以下内容保留原语言,供核对事实。中文页的场景说明是阅读提示,不是逐句翻译或实测结论。
展开英文项目摘要与原帖
项目摘要
Lahfir reports using a deterministic Claude Code hook to ask Jev which local coding harness or model tier should take a task before delegation.
来源原文
Jev solved local harness/model routing I use a combination of Claude Code, Codex and Opencode as my local agentic stack and routing to other harnesses was always enforced in the system prompt/rules With a deterministic hook that Claude Code can decide before delegation, Jev helps to route to the right harness/model based on the task, and it's pretty accurate based on the intensity/intelligence of the task > Mechanical tasks get routed to Haiku > Intelligent ones to Opus sub-agents > Long-running implementation work to external harness
原记录的限制
- The source provides a demonstration and routing outline, not public code or independent measurements.