KingVergil/ds-football-agent
KingVergil★ 0JavaScriptLast synced: 2026-08-15
—
README excerpt
ds-agents — 足球投注分析 agent(harness 版) 纯 JS 重构的足球投注分析系统。harness agent 当「大脑」独立推理下单,确定性业务(资金 / 下单 / 结算 / 因子) 全部纯 JS ,Python 只保留 Lota 数据获取层(私有,不入库)。 原理 架构分层 层 是什么 提供什么 归属 插件 ds-agents-lota-data 能力(工具) 读数据 + 下单/结算/因子全套工具 开源( harness-plugin/ ) 预设 ds-agents 大脑(人设 + 提示) persona「足球分析 agent」+ 分析框架 section 开源(预设目录) 数据获取层 lota fetcher.js 缓存生产者 抓 Lota API → 写本地缓存 私有(单独分发) - harness agent 是「大脑」 :主循环 LLM 自动驱动轮次,插件只注册 system-prompt section + 工具 + 读写 storage 域,不手拼 prompt、不自己调主循环 LLM。 - 确定性业务纯 JS :金额折算、去重、已开赛保护、结算数学(亚盘/大小球/赢半输半)、因子门控(14 天休眠 + 低信息退役)都是确定性代码,LLM 只给「方向 + 比例」。 - LLM 只收敛到两处 :主循环(分析/下单决策)+ 旁路 ctx.llm.stream (结算后反思、因子退役评估、因子判重)。 数据流 记忆读写闭环 因子记忆不是静态数据,是「每日 factor-induction」动态生产的: 部署使用 1. 前置 - DSH harness(Cordis 运行环境) - Node ≥ 18(仅私有 lota fetcher.js 需要全局 fetch ) 2. 装插件 把 harness-plugin/ 作为 npm 包( ds-agents-lota-data )或本地路径,插件行并入你的 composition(host 层全局挂载,或 preset 的 agent.cordis.yml ): 3. 配预设 复制 ds-agents 预设(persona「足球分析 agent」+ 分析框架 section)到你的 .agent-presets/ 。预设里的 persona 告诉模型「分析某狗 = refresh → 读数据 → 读人设 → 读记忆 → 查资金 → 判断 → 下单」的完整工作流。 4. 准备数据 两种方式,二选一: - 种子数据包 (给只想先跑起来的人):解压后 cacheDir 指向它,跑一次 ds migrate storage 把 7 只狗的初始状态迁入 storage 域。 - 真实数据 (给有数据源的人):拿私有 lota fetcher.js + API key,跑: 5. 日常使用 在…
View full README on GitHub →Category
🎨 The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode / Hermes & 20+ CLIs via BYOK.
★ 86,705
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,317
tt-a1i/archifyAgent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 12,834