Skip to content
@mochi-fish

Yet Another Fat Fish

mochi-fish

横幅立绘基于「大肥鱼」原始人设生成,随仓库以 MIT 授权。


一份生活史,每次只带眼前合适的部分 —— 围绕长期陪伴体「大肥鱼」的认知生长、单会话架构与陪伴向上下文管理
One life history, carrying only what fits the audience in front of her — open-source companion agent infrastructure on DSH.


mochi-fish MIT License DSH Host Design Spec

dsh-fish(人格诞生) | fish-sessionless(单会话架构) | trillion-context(陪伴向上下文) | 最初完整设计稿 | English


mochi-fish(Yet Another Fat Fish)汇集了围绕长期陪伴体**「大肥鱼」**构建的一组开源插件、受众边界与记忆基础设施。所有接线均构建在 DSH(基于 DeepSeek Harness)的插件接口与本机代理层之上,不侵入宿主源码。

📐 阅读最初完整设计稿与交互式架构图(baka.studio) —— 从一条生活时间线出发,完整推演主链与受众链、岸边证据账、工具的门、四层记忆与原话回溯、水位控制、改约事项卡、换册交接以及二十余个开源项目的取舍记录。

📺 观看 dsh-fish 视频讲解(19 分钟 · Bilibili) —— 为什么不用面板捏人设、她如何从空白长出认知与性格。

mochi-fish 开源生态与四个单一负责人

📦 仓库矩阵与四个单一负责人

整套体系不混装职责重叠的外部记忆套件,而是把所有机制收拢进职责正交的四个单一负责人(dsh-fish、桥 local-bridge、证据账 fish-ledger、压缩代理 trillion-context),对应以下公开仓库:

仓库 定位 管哪一件事 许可
dsh-fish 人格诞生与自主成长插件 「她是谁、如何长大」 —— 没有捏人设面板,默认从空白养起;在日常相处、自主刷 B 站、做作品、记跨天便条、睡前自省与立场检验中自然形成认知与性格。 MIT
fish-sessionless 单会话(Sessionless)长期陪伴架构主仓 「一份生活史,每次只带眼前合适的部分」 —— 她终身只住一条主会话,回复全部落回同一份主日志;主人轮走主链照旧放行,群聊与来客轮过失败即关(Fail-Closed)工具门并分流受众链,岸边由模型外证据账(只存指针与带盐哈希,零原文)全程记账对账。 MIT
trillion-context 面向长期陪伴场景的上下文管理代理 「折掉的不等于丢掉:原话一直在」 —— 派生自面向代码工程任务的 billion-context,转为长期陪伴类上下文管理:越过水位只催她亲手折叠而绝不代写摘要,定制中文单双字 BM25 原话检索、around 前后文展开、旧话相对日期括号注记与多模型平滑切换护栏。 MIT + 署名

🧭 三条不变的底线与工程取舍

  1. 她只有一份生活史,但严格分清这一轮谁在听
    不按聊天房间把她拆成互不相识的几个机器人;无论跟主人、群友还是来客说话,回复都落回同一份主日志。但主人轮照旧不添束缚,群和来客轮一旦算不出读者、缺配置或门出错,一律按「不给」处理(Fail-Closed)。
  2. 陪伴体的记忆只由她自己落笔,原物层永远只读
    代码任务的压缩器可以让旁路小模型后台代写进度摘要,陪伴体不行——代笔会抹掉她的口吻与立场。折掉的旧事只是退出了眼前的请求,原话、原事件与压缩块原文永远原封不动留在原物层,证据账只记去哪找的指针与哈希。
  3. 重确定性机制,拒黑盒双写
    不引重型图数据库、不在每轮背后强塞未过滤的自动回忆、不用模型去猜约定改没改(状态只认明确句式,查不清就记「未知」),每一层改造均支持独立验证与成对回退。

🌐 English Overview

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.
  • trillion-context — Companion Context Management Proxy (forked from billion-context): Re-targets coding-task compression toward long-term companionship — self-written folding only (noGhostwrite), CJK unigram+bigram BM25 verbatim recall with around expansion, execution-time relative-date annotations, and multi-model switching guards, all behind default-off switches verified byte-identical (E0-wire) to upstream when off.

⚖️ 许可与致谢

  • 本组织下各原创仓库(代码、文档与自制素材)均采用 MIT License 开源,详见各仓根目录 LICENSE。
  • trillion-context 派生自 ranxianglei/billion-context(含 acp-kernel),fish-sessionless 中的中文规则包与评测线转换辅助亦基于其开源代码构建,谨依其许可中的附加署名条款在此明确致谢并标明出处。
  • 若发现任何安全或受众边界漏洞,请通过对应仓库的 GitHub Security Advisories(Report a vulnerability) 私下报告,切勿开启公开 Issue。
  • 本组织及旗下仓库均为独立社区开源项目,与 DeepSeek、DSH 官方没有任何关联。

一份生活史,每次只带眼前合适的部分;折掉的不等于丢掉,原话一直在。
One life history, carrying only what fits the audience in front of her.


mochi-fish

Popular repositories Loading

  1. dsh-fish dsh-fish Public

    DSH插件:养一个会自己刷b站会成长的agent:不通过面板配置,通过学习诞生人格。

    JavaScript 200 21

  2. trillion-context trillion-context Public

    Forked from ranxianglei/billion-context

    A context-compression plugin for month-long single sessions (billions of tokens) ,small context windows (a 100K context is enough) and token savings (5x fewer tokens) .上下文压缩插件,月级长会话会话, 兼顾小窗口(100k上下…

    TypeScript

  3. fish-sessionless fish-sessionless Public

    陪伴型 DSH 角色「大肥鱼」的 sessionless 架构:配置包、中文规则包、工具、评测与文档(MIT)

    JavaScript

  4. .github .github Public

    Yet Another Fat Fish — Companion Agent Ecosystem on DSH

Repositories

Showing 4 of 4 repositories
  • dsh-fish Public

    DSH插件:养一个会自己刷b站会成长的agent:不通过面板配置,通过学习诞生人格。

    mochi-fish/dsh-fish's past year of commit activity
    JavaScript 200 MIT 21 5 0 Updated Nov 29, 2026
  • fish-sessionless Public

    陪伴型 DSH 角色「大肥鱼」的 sessionless 架构:配置包、中文规则包、工具、评测与文档(MIT)

    mochi-fish/fish-sessionless's past year of commit activity
    JavaScript 0 MIT 0 0 0 Updated Nov 28, 2026
  • trillion-context Public Forked from ranxianglei/billion-context

    A context-compression plugin for month-long single sessions (billions of tokens) ,small context windows (a 100K context is enough) and token savings (5x fewer tokens) .上下文压缩插件,月级长会话会话, 兼顾小窗口(100k上下文足矣)省token(省5倍token) . billion-context is all you need

    mochi-fish/trillion-context's past year of commit activity
    TypeScript 0 734 0 0 Updated Nov 28, 2026
  • .github Public

    Yet Another Fat Fish — Companion Agent Ecosystem on DSH

    mochi-fish/.github's past year of commit activity
    0 MIT 0 0 0 Updated Nov 22, 2026

Most used topics

Loading…