横幅立绘基于「大肥鱼」原始人设生成,随仓库以 MIT 授权。
一份生活史,每次只带眼前合适的部分 —— 围绕长期陪伴体「大肥鱼」的认知生长、单会话架构与陪伴向上下文管理
One life history, carrying only what fits the audience in front of her — open-source companion agent infrastructure on DSH.
dsh-fish(人格诞生) | fish-sessionless(单会话架构) | trillion-context(陪伴向上下文) | vrc-body(VRChat 身体) | npm 包 | 最初完整设计稿 | English
mochi-fish(Yet Another Fat Fish)汇集了围绕长期陪伴体**「大肥鱼」**构建的一组开源插件、受众边界与记忆基础设施。所有接线均构建在 DSH(基于 DeepSeek Harness)的插件接口与本机代理层之上,不侵入宿主源码。
📐 阅读最初完整设计稿与交互式架构图(baka.studio) —— 从一条生活时间线出发,完整推演主链与受众链、岸边证据账、工具的门、四层记忆与原话回溯、水位控制、改约事项卡、换册交接以及二十余个开源项目的取舍记录。
📺 观看 dsh-fish 视频讲解(19 分钟 · Bilibili) —— 为什么不用面板捏人设、她如何从空白长出认知与性格。
整套体系不混装职责重叠的外部记忆套件,而是把所有机制收拢进职责正交的四个单一负责人(dsh-fish、桥 fish-bridge、证据账 fish-ledger、压缩代理 trillion-context),对应以下公开仓库:
| 仓库 | 定位 | 管哪一件事 | 许可 |
|---|---|---|---|
dsh-fish |
人格诞生与自主成长插件 | 「她是谁、如何长大」 —— 没有捏人设面板,默认从空白养起;在日常相处、自主刷 B 站、做作品、记跨天便条、睡前自省与立场检验中自然形成认知与性格。 | MIT |
fish-sessionless |
单会话(Sessionless)长期陪伴架构主仓 | 「一份生活史,每次只带眼前合适的部分」 —— 她终身只住一条主会话,回复全部落回同一份主日志;主人轮走主链照旧放行,群聊与来客轮过失败即关(Fail-Closed)工具门并分流受众链,岸边由模型外证据账(只存指针与带盐哈希,零原文)全程记账对账。桥 fish-bridge、证据账、受众门、身份配置、中文规则包、隐私扫描都在这里,各自发成 npm 包;另带一份 Linux + Docker 参考部署(deploy/linux-docker)。 |
MIT |
trillion-context |
面向长期陪伴场景的上下文管理代理 | 「折掉的不等于丢掉:原话一直在」 —— 派生自面向代码工程任务的 billion-context,转为长期陪伴类上下文管理:越过水位只催她亲手折叠而绝不代写摘要,定制中文单双字 BM25 原话检索、around 前后文展开、旧话相对日期括号注记与多模型平滑切换护栏。npm 包名 @mochi-fish/trillion-context;从 billion-context 换过来时旧配置照读、旧数据目录原地沿用。 |
MIT + 署名 |
vrc-body |
VRChat 里的身体 | 「借主人开着的桌面 VRChat 动起来、在头顶说话」 —— 身体进程按 60 Hz 用 OSC 驱动 avatar、排队发聊天框、出事把身体交还给游戏;动作服务器在 ProjectGabriel-Remastered 上加 Kimodo 引擎与按 avatar 标定的重定向。桥里的 VRChat 那一条缺省关。用的是你自己的 VRChat 账号,先读仓库里的风险说明。 | AGPL-3.0-only |
| 包 | 在哪个仓 | 是什么 |
|---|---|---|
@ssamurias/dsh-fish |
dsh-fish | DSH 插件:人格诞生与自主成长(包名沿用迁入组织前的发布者) |
@mochi-fish/fish-bridge |
fish-sessionless | DSH 插件:一条会话接 QQ、群、桌面,管来话怎么送进来、回话怎么发出去、哪一轮能用哪些工具 |
@mochi-fish/fish-ledger |
fish-sessionless | DSH 插件:无原文证据账、受众工具门、url-public 先解析再判 |
@mochi-fish/audience |
fish-sessionless | 按受众与工具白名单判定的纯函数门,零依赖 |
@mochi-fish/ledger-core |
fish-sessionless | 证据账核心:带盐 HMAC 指纹、渠道假名、单写者追加日志与三方对账,零依赖 |
@mochi-fish/config |
fish-sessionless | 主人和陪伴体的身份配置:读一份 JSON、核过、冻住;读不到就当没有主人 |
@mochi-fish/reldate |
fish-sessionless | 中文相对日期内联注记,零依赖 |
@mochi-fish/fish-pack-zh |
fish-sessionless | trillion-context 的中文养成向规则包 |
@mochi-fish/privacy-scan |
fish-sessionless | 发布前的隐私扫描命令行:号、密钥、本机路径、私有层真值与原话指纹 |
@mochi-fish/onebot-recorder |
fish-sessionless | OneBot 全量录制命令行:作为又一个客户端连上,每一帧原样落盘,接口补齐的回包也原样存 |
@mochi-fish/trillion-context |
trillion-context | DSH 插件 + 本机代理:陪伴向上下文管理 |
@mochi-fish/* 的新版本都从 GitHub Actions 可信发布(trusted publishing),带 npm provenance,对得上仓库里的提交。
- 她只有一份生活史,但严格分清这一轮谁在听
不按聊天房间把她拆成互不相识的几个机器人;无论跟主人、群友还是来客说话,回复都落回同一份主日志。但主人轮照旧不添束缚,群和来客轮一旦算不出读者、缺配置或门出错,一律按「不给」处理(Fail-Closed)。 - 陪伴体的记忆只由她自己落笔,原物层永远只读
代码任务的压缩器可以让旁路小模型后台代写进度摘要,陪伴体不行——代笔会抹掉她的口吻与立场。折掉的旧事只是退出了眼前的请求,原话、原事件与压缩块原文永远原封不动留在原物层,证据账只记去哪找的指针与哈希。 - 重确定性机制,拒黑盒双写
不引重型图数据库、不在每轮背后强塞未过滤的自动回忆、不用模型去猜约定改没改(状态只认明确句式,查不清就记「未知」),每一层改造均支持独立验证与成对回退。
mochi-fish (Yet Another Fat Fish) builds open-source cognitive growth, single-timeline audience isolation, and companion-oriented context management on top of DSH plugin hooks — without modifying the host.
dsh-fish— Emergent Companion Plugin: No persona menus. Starting from a blank slate (or imported memories), she browses Bilibili on her own, creates works, tracks multi-day notes, reflects before sleep, and forms tested stances over time.fish-sessionless— Sessionless Companion Architecture (Original Interactive Design Spec): "One life history, carrying only what fits the audience in front of her." One lifelong main session and one main log across owner DMs, group chats, and guests — guarded by an out-of-band Evidence Ledger (pointers & salted HMAC hashes only, zero raw text), a Fail-Closed Audience Tool Gate, forward-only Audience Chains, privacy scanners, and synthetic-world memory evals.vrc-body— A body in VRChat (AGPL-3.0-only): drives the avatar of the owner's own desktop-mode VRChat over OSC at 60 Hz and queues chatbox lines, with a watchdog that hands the body back to the game; the motion server builds on ProjectGabriel-Remastered with a Kimodo engine and per-avatar calibrated retargeting. It runs on your own VRChat account: read the risk notes first.trillion-context— Companion Context Management Proxy (forked frombillion-context): Re-targets coding-task compression toward long-term companionship — self-written folding only (noGhostwrite), CJK unigram+bigram BM25 verbatim recall witharoundexpansion, execution-time relative-date annotations, and multi-model switching guards, all behind default-off switches verified byte-identical (E0-wire) to upstream when off. Published as@mochi-fish/trillion-context; switching over frombillion-contextkeeps reading the old config and uses the old data directories in place.
The bridge (@mochi-fish/fish-bridge), the ledger, the audience gate, the identity config, the Chinese rule pack, the privacy scanner and the OneBot recorder are all on npm under @mochi-fish; new versions are published from GitHub Actions via trusted publishing, with provenance. fish-sessionless also ships a reference Linux + Docker deployment (deploy/linux-docker).
- 本组织下各原创仓库(代码、文档与自制素材)均采用 MIT License 开源,详见各仓根目录
LICENSE。例外是vrc-body:它是 ProjectGabriel-Remastered 的衍生作品,用 AGPL-3.0-only,带上游 NOTICE 的附加条款。 trillion-context派生自ranxianglei/billion-context(含acp-kernel),fish-sessionless中的中文规则包与评测线转换辅助亦基于其开源代码构建,谨依其许可中的附加署名条款在此明确致谢并标明出处。- 若发现任何安全或受众边界漏洞,请通过对应仓库的 GitHub Security Advisories(Report a vulnerability) 私下报告,切勿开启公开 Issue。
- 本组织及旗下仓库均为独立社区开源项目,与 DeepSeek、DSH 官方没有任何关联。
