Hiro retweeted
Anthropic 开源 knowledge-wiki:文档只读一次做成带来源的知识库,Haiku 答题接近 Sonnet 搜原文,成本约 1/15
Anthropic 开源项目 knowledge-wiki,Agent 若反复回答同一批文档上的问题,却每次从原文重新搜起,跨文件才能对上的事实就不会沉淀。这套示范把语料读一次,蒸馏成 Claude Managed Agents 记忆库里的 Markdown 知识库,之后提问不再翻原始文件。
github.com/anthropics/claude…
# 一次构建,之后只读提问
1. 构建知识库。 一次会话、一次动态工作流。文档按批次并行抽取,写入实体、关系、指标和未决问题;一个协调者处理主要缺口,先查知识库再查原文,有出处就补上,否则标为无法解决;随后分析 Agent 对照原文核对、补漏并记红旗,最后由整理者合并重复、修正链接、补全目录。默认用 Claude Haiku 5.5 做阅读和整理,用 Claude Sonnet 5.5 编排工作流。知识库可审计,也可在 30 天内回滚。某一批始终抽不出来,整轮会停掉,以免缺页知识库被当成完整语料。
2. 只读提问。 分析 Agent 只挂载知识库,每个问题开一次新会话,先看文件开头,再读需要的小节,每条事实都要带来源。找不到就说「知识库里没有」,并指出还缺哪份文件。查询时不能写入,以免当次猜测变成下一个人的事实。
页面是带 YAML 头信息的 Markdown,用维基链接互相串起来。每条事实保留出处,格式是 [source | as-of]。两份文件说法不一致,就明白标出冲突;被取代的数字会记下有效期,不会直接删掉。
# 跨文件对过的事实,构建时就算清
示范语料是 2024 年 Squarespace 被 Permira 私有化的公开 SEC 文件,外加两份标明为合成的内部材料。两份文件若对损害赔偿上限给出不同数字,知识库会两边都留,并带来源和日期;修订价格按修订记录,不取平均。合成备忘录里按信贷协议口径估算的 FY2023 EBITDA 约为 2.52 亿美元,公司披露的调整后 EBITDA 是 2.354 亿美元,不同口径不得合并。这些对照在构建时算清一次,就不必每次对着原文重做。
# 评测里的成绩和成本
Anthropic 用 21 道带标准答案的问题、默认模型跑了 27 次,由两个评判模型按 100 分制打分,并给出 95% 区间,单次成本按标价计算。
Haiku 查知识库得 91.9 分,单次约 0.0056 美元。Sonnet 搜原始文档得 92.8 分,单次约 0.086 美元。前者低了不到 1 分,成本大约是后者的 1/15。Haiku 若自己搜原文,是 88.9 分,知识库大约把它抬高了 3 分。Sonnet 查知识库是 92.6 分,和搜原文几乎一样,单次降到约 0.064 美元,大约便宜四分之一。
构建一次,评测平均约 19 美元,其中抽取约 4 美元、整理约 15 美元。记录的那次默认 core 跑条约 16 美元、23 分钟,对应 8 份文件、约 2.8 MB 文本。按 Haiku 查知识库对比 Sonnet 搜原文来算,大约 240 次提问可以回本。语料越大,他们预计单次节省还会增加。这份评测用过较早的两处提示词措辞。
# 适用场景和边界
它更适合文档不常变、问题会反复出现的场景,比如并购尽调、法律发现、围绕产品文档的支持。换自己的语料时,要改提示词和问题集,并多测几轮。新文档需要再跑一轮构建;也可用他们指向的 dreaming 示范,从会话记录回灌知识库,但要先检查新副本再切换。
构建跑在 Managed Agents 上。共享页面并行写入时,最忙的实体页大约有 5% 的行可能丢掉内容。协调者默认只处理有限个未决问题:记录的那次上限是 10 个,处理后仍列出 303 个已知缺口。抽取、答题和评判都出现过错误的「未披露」判断;分析师也可能漏掉库里已有的事实,这类回答还要对照原文。
Hiro retweeted
MIT搞了个叫MeMo的东西,直接把RAG按在地上摩擦。
不再搞向量库了,专门训一个小的“记忆模型”把文档吃进去。主模型完全不动,推理的时候就像问证人一样问它三轮,就能精准把事实抠出来。(看起来是)
数据挺炸的:长文档直接翻倍(53.6% vs RAG的23.2%),往里面塞一堆假干扰文档,RAG掉分它几乎纹丝不动。更狠的是换更强的主模型不用重训,性能还能再跳一截。
目前这个实验数据很好看,但是不知道用起来怎么样
RAG is officially dead 🤯
MIT built an AI that doesn't need RAG.
It’s called MeMo, instead of storing knowledge in a database, you train a small, dedicated Memory model on your documents.
At inference time, your main frontier LLM stays 100% frozen. No vector DB. No chunking. No weight access.
It simply interrogates the Memory model in 3 quick turns, like a detective questioning a witness, to pull exact facts and synthesize the answer.
The results are brutal:
• NarrativeQA (long documents): 53.6% vs. RAG’s 23.2% (more than 2x better).
• Noise test: Doubled the corpus with fake distractors. RAG tanked -6.2%. MeMo didn't flinch (+0.55%).
And the sleeper advantage? It’s completely plug-and-play.
Train the Memory model once. When they upgraded the main LLM from Qwen2.5-32B to Gemini 3.0 Flash with zero retraining, accuracy jumped +26.7% overnight.
We spent 3 years trying to fix AI memory by building better search engines.
It turns out, the answer was giving the model a second brain.
Hiro retweeted
Anthropic 官方出了一套免费的 FDE(前线部署工程师)课程,一共 11 门课约 9.5 小时,专门教怎么把客户的真实需求做成可验收的 30 天试点。
课程地址:anthropic-partners.skilljar.…
Hiro retweeted
🚨 ALGUIEN FILTRÓ EL PROMPT QUE HACE QUE CLAUDE TE MONTE TU PROPIO EQUIPO DE AGENTES DE IA EN 2 DÍAS SIN QUE SEPAS PROGRAMAR
Sin programar. Solo pegas. Un único prompt lo hace todo:
Tiempo necesario: 2 minutos
Acciones: copiar y pegar en Claude Fable 5.2
El error del 90% de la gente con la IA: la usa como un chat. Le pide una cosa, copia la respuesta y vuelve a empezar. Todo sigue pasando por sus manos.
→ Te entrevista primero: te hace 5 preguntas sobre a qué te dedicas, qué quieres conseguir y qué te quita más tiempo
→ Elige qué automatizar: compara investigación, contenido, clientes y correos, y empieza por lo que más horas te ahorra
→ Diseña tu equipo: de 3 a 5 agentes, cada uno con una sola tarea, su prompt listo para pegar y un coordinador que es el único con el que hablas
→ Lo prueba antes de soltarlo: revisa los fallos más comunes y no publica, envía ni borra nada sin tu permiso
→ Cero código: te entrega un plan de 2 días (el primero, las herramientas y tu primer agente; el segundo, el resto del equipo ya probado) y una sección "EMPIEZA AQUÍ" con lo primero que tienes que hacer
Antes esto significaba contratar a alguien o pasarte semanas montando automatizaciones.
Ahora es Ctrl+V.
Guárdalo antes de que lo borren 🔖
Hiro retweeted
如果你订阅了Google AI套餐,但只去使用antigravity,那你至少亏了 70% 的额度😂😂😂
Google的AI套餐包含三个独立计算的AI额度:
其一是Gemini APP,这里既有面向聊天的Chat模式,也有面向非编程工作的task模式。Gemini APP具有独立的周额度,与antigravity的那一套额度是分开的。
其二是大家最常用的antigravity与antigravity IDE,面向代码场景。前者类似codex,后者类似cursor,两者共享同一套额度。
其三是Google AI studio。根据不同的订阅,会有API额度赠金。Pro 每月 $10、Ultra 5x 每月 $40、Ultra 20x 每月 $100,通过API调用来使用。
this harness paper is f*cking gold
Anthropic engineers revealed what actually makes Claude Code work so well. spoiler: it's not the model.
the secret: the harness. that's the whole gap.
prompt engineering → context engineering → harness engineering.
the 6 layers of the harness:
layer 1 → tools
fewer tools, one job each.
every error tells the agent what to try next.
layer 2 → context
short CLAUDE.md → files on demand → compaction when it fills up.
layer 3 → permissions
reads + tests → auto.
deploys + deletes → ask a human.
everything → sandbox.
layer 4 → hooks
before a tool runs → block secrets and protected files.
after every edit → format, lint, typecheck. no exceptions.
layer 5 → verification
fresh reviewer reads the diff, not the summary → runs the tests → fail? fix → rerun.
layer 6 → evals
every harness change scored → success, tokens, turns → keep what wins.
the model is the engine. the harness is the whole car.
they even packed all 6 layers into one prompt. paste it into Claude Code and it engineers the harness for you.
6 layers. 1 prompt. 0 infinite loops.
full breakdown in the Harness Engineering guide below ↓
Hiro retweeted
Skills 2.0 is here!
(8x fewer tokens and 2x faster)
We package repeated workflows as skills all the time, but the agent still re-reads the skill and decides every step on every run, which costs tokens and time.
Devs just open-sourced Swamp, where your coding agent turns a repeated skill into a workflow that it builds once and runs again and again.
You describe the task once, and the agent breaks it into reusable behaviors connected in a workflow.
Every behavior has typed inputs and outputs, and plain code decides which step runs next. Swamp then gives you:
- model calls only on steps that need judgment
- secrets pulled from vaults and redacted from output
- versioned data from every run that you can query later
- a full record of what happened on each run
Here's the repo: github.com/swamp-club/swamp
(don't forget to star it ⭐ )
Swamp plugs into the coding agent you already use, like:
- Claude Code
- Codex
- Cursor
- OpenCode
- And 5 more agent harnesses
In Swamp, the model is a step in the workflow, not the thing deciding what happens next.
The model steps still reason like any LLM call.
However, in this case, code owns the loop, so the agent doesn't spend tokens rediscovering the same process every time.
Here's an official result, where they turned a code-review skill into a Swamp workflow:
- Skill in Codex: about 4.6M tokens, 23 agents, 12.8 minutes
- Swamp workflow: about 506K tokens, 3 agents, 6.6 minutes
That is ~8x fewer tokens in about half the time, and most of the savings came from replacing the coordinator agent with plain code.
You can keep using skills while you prototype. Once a task starts repeating, ask your agent to turn it into a Swamp workflow.
This helps answer practical questions such as:
- Which steps actually need a model?
- What exactly happened on last week's run?
- Can a cheaper model handle the one step that needs judgment?
Once it's built, you can run the workflow from your agent, the CLI, a schedule, or an API, with every run recorded.
So you are no longer paying a model to figure out the same workflow on every run.
Instead, you spend tokens only on the steps where the model's judgment adds something.
The animation below shows how Swamp differs from Skills, and I worked with the team to put this together.
If you want to understand the coordination layer that Swamp replaces with code, I wrote a full breakdown of how Claude Code splits work across subagents and agent teams.
It covers when a single subagent is enough, when you need a team of agents that coordinate with each other, and what that coordination costs in context and tokens.
Read it below.
Hiro retweeted
出大事了,兄弟们 !! DeepSeek 再一次给全世界人民送大礼,牛逼之举胜过 Anthropic 1000000倍
就在刚刚,DeepSeek 放出一个开源库,deepseek-ai/chat-demo 它可不是个套壳:
1/ 不需要写一行代码;不要买任何服务器;更不需要平凑第三方插件
2/ 原生边想边搜,直接调用官方内置 deepseek_web_search, 深度思考模式下,多步推理+全网检索+信源引用
3/ 全能文档/网页绞肉机:PDF,Word,PPT,图片拖进去秒解析,URL 自动抓文
4/ 原生语言交互:自带移动端实时音频输入 + 回答朗读
5/ 极致隐私保护和数据自由:所有数据存档本地 IndexedDB
什么是开源精神:最强模型权重 + 官方满配武器库,全部交到你手里,充分相信使用者对社区,对人类的贡献
爱折腾的人类,立即马上 Fork, 世界有你而精彩:
github.com/deepseek-ai/chat-…
有人把 681 份公开漏洞报告提炼成 AI 技能,然后开源了!
装上之后,Claude Code 不再只会泛泛聊安全,而是按老手的路子查漏洞、验真伪、写报告。
它能帮你:
1. 管思路和范围:用代码锁死授权边界,按 6 阶段流程推进,不乱扫无关目标
2. 排查 Web 漏洞:58 个专项 Skill 覆盖 XSS、SQL 注入、SSRF、越权和常见利用链
3. 查企业外网资产:覆盖 M365、Okta、SharePoint、企业 VPN 和云权限排查
4. 核验和出报告:7 问闸门筛掉误报,按规范脱敏 Cookie 和隐私,再按赏金平台格式写报告
GitHub 6.6k 星,代码 MIT、内容 CC BY 4.0 协议:
github.com/elementalsouls/Cl…
Hiro retweeted
Claude 团队发布了一份可以照着搭的架构说明
收件箱、计时器、记忆、权限、发件箱单独看都不新,很多团队早已用队列加定时任务拼出过类似的东西
它真正有价值的地方,是把每个部件的职责划清楚,并明确一点:始终在线是一种使用体验,并不是让模型一直挂在线上消耗 token
每天介绍一个开发者工具,今天是 Runner。
Runner 是一款开源的多 Agent 协作工具,可以将 Claude Code、Codex、OpenCode 等独立运行的 Coding Agent 组织成一个团队,让它们围绕同一个开发任务分工、通信和协作。
例如,让 Claude Code 负责实现功能,Codex 负责代码审查,OpenCode 负责测试验证。每个 Agent 保留原来的终端、模型和工具,通过消息完成任务交接,需要人工决策时再向用户提问。
Runner 由开发者 @yicheng47 开发,使用 Rust 构建,基于 GPUI 实现原生桌面界面,采用 MIT 协议开源。
截至目前,最新正式版为 v0.19.4,支持 macOS、Windows,Linux 目前处于 Beta 阶段。
一、Runner 支持哪些功能?
1. 多 Agent 统一管理
支持 Claude Code、Codex、OpenCode v2、GitHub Copilot CLI、pi、Cursor、Grok Build、Antigravity CLI 等 Agent。
每个 Agent 都运行在独立的真实终端中,保留自己的 TUI、登录状态、对话历史和工具能力。
可以在一个窗口中分屏运行多个 Agent,也支持多标签页、多窗口管理,以及会话状态查看。
2. Role、Crew 和 Mission
Runner 使用四个概念组织 Agent 协作:
▪︎ Role:可复用的 Agent 角色配置,包含运行时、模型、职责提示词等。
▪︎ Crew:团队模板,将多个 Role 组合起来,并配置团队成员之间的协作约定。
▪︎ Mission:一次实际执行的任务,包含共同目标、工作目录、成员和消息记录。
▪︎ Session:每个成员实际运行的 Agent 进程与终端。
整体关系:
Role → Crew → Mission → Sessions
例如,创建一个开发团队:
▪︎ @coder:Claude Code,负责实现功能
▪︎ @reviewer:Codex,负责审查代码
▪︎ @qa:OpenCode,负责测试验证
启动 Mission 后,三个成员会分别收到共同目标和各自的职责指令。
Coder 完成代码后,可以给 Reviewer 发送消息,请它审查修改。Reviewer 发现问题后再反馈给 Coder,修复完成后继续交给 QA 测试。
Runner 不要求固定的队长,成员可以直接通信。具体分工和交接由角色提示词、团队约定和消息驱动。
运行过程中也可以动态增加、移除成员,不需要重新创建 Crew。
3. Agent 之间直接通信
Runner 提供共享 Mission Feed 和成员收件箱。
Agent 可以通过 CLI 向指定成员发送消息、向整个团队广播,或者查看其他成员的反馈。
例如:
`runner msg post --to reviewer "请检查刚才修改的代码"`
Reviewer 收到收件箱通知后,可以通过 `runner msg read` 读取消息正文。
每个 Agent 独立执行任务,通过持久消息实现协作,而不是简单地将同一条 Prompt 同时发送给多个模型。
4. 人工决策与任务回报
Agent 遇到需要人工决定的问题,可以通过 `runner ask --human` 发起提问。
问题会出现在 Mission Feed 中,用户选择答案后,回答会保存并送回原来的 Agent。
Runner 还支持将 Mission 关联到一个普通 Agent Chat。
当 Mission 需要人工处理、执行失败、因后台服务 runnerd 重启而丢失成员正在执行的一轮,或者进入 Settled 状态时,Runner 会向关联 Chat 汇报相应状态。
Chat 中的 Agent 可以进一步读取任务详情,向用户说明任务情况。
5. 后台运行与会话恢复
Runner 支持关闭桌面窗口后继续运行 Agent。
选择 Keep running 时,后台服务 runnerd 会继续管理 Agent 进程和终端。
重新打开 App,可以接回原来正在运行的会话。
如果 Agent 已经停止,也可以通过 Resume 尝试恢复原来的对话,而不必重新开始。
6. 远程控制
Runner 支持从另一台电脑远程访问正在运行 Agent 的主机。
通过 PIN 配对和端到端加密连接,可以查看远程终端、启动任务、发送指令,以及处理需要人工确认的问题。
Agent 和项目代码仍然保留在目标电脑上。
目前远程控制处于邀请内测阶段,仅向中国大陆受邀用户开放。
7. CLI 与脚本集成
除了桌面 UI,Runner 还提供 runner CLI。
开发者、脚本或其他 Agent 可以通过命令创建会话、启动 Mission、查看任务状态、发送消息和获取执行结果。
Runner 的任务管理能力既可以通过图形界面操作,也可以通过命令行调用。
二、Runner 的底层架构
结合官方仓库的源码和技术文档,Runner 主要由以下模块组成:
1. Runner App
采用 Rust + GPUI 构建原生界面,负责窗口、终端展示、Feed、用户交互和状态更新。
终端底层使用 alacritty_terminal 管理终端网格,再由 GPUI 完成绘制。
2. runnerd
独立运行的后台服务,负责管理 Agent 进程、PTY 终端、会话生命周期、任务状态、消息路由和持久化数据。
桌面 App 与 runner CLI 通过本地 IPC 和 runnerd 通信。
3. SessionManager + PtyRuntime
负责启动、停止和恢复 Agent,通过 PTY 与真实 CLI 程序交互。
Claude Code、Codex、OpenCode 等仍然运行自己的程序,Runner 不接管它们内部的模型调用和工具执行循环。
4. Runtime Adapters
处理不同 Agent 的启动参数、状态判断和恢复方式。
适配层负责处理运行时差异,不会把所有 Agent 转换为同一种模型 API。
5. AppCore + SQLite
保存 Role、Crew、Mission、Session 等配置和运行元数据。
6. EventLog + EventBus
Mission 的消息、问题和回答会写入 events.ndjson 持久化事件日志。
EventBus 根据日志维护成员收件箱、未读消息和相关状态。
7. Router
负责判断消息应该通知哪个成员,以及当前是否适合投递。
完整的消息链路:
Agent 发消息 → events.ndjson → EventBus → Router → 目标 Agent 的 PTY → Agent 读取消息
消息保存、终端通知和确认已读是不同的阶段。
Router 通常会等待目标 Agent 空闲,或者终端输入状态适合接收通知时再投递。Claude Code 支持在工作过程中排队接收通知。
通知送达后,不代表 Agent 已经读取正文。通过 runner msg read 读取后,才会推进对应的已读记录。
三、Runner 的架构与协作机制
Runner 的实现可以概括为三个方面:
1. 保留 Agent 原生运行环境
Runner 不重新实现 Claude Code 或 Codex 的 Harness,也不合并不同 Agent 的内部状态。
各个 Agent 保留独立的终端、对话历史和工具执行能力。
2. 通过持久消息组织团队协作
Role 负责角色配置,Crew 负责团队模板,Mission 负责实际任务。
Agent 之间通过共享目标、团队约定、消息和反馈完成协作。
消息记录保存在事件日志中,可以用于恢复收件箱和任务协作状态。
3. 分离界面与执行进程
Runner App 负责展示和交互,runnerd 负责持有 Agent 进程、PTY 和任务状态。
关闭桌面窗口不会必然终止 Agent,重新打开后可以连接仍在运行的终端。
对于已经停止的进程,Runner 通过 Agent 自身保存的会话历史尝试恢复对话。
四、当前版本的使用限制
▪︎ Runner 目前处于 Alpha 阶段,Linux 支持仍为 Beta。
▪︎ Mission 成员默认共享指定的工作目录。Runner 不会自动创建 Git Worktree 或分支。如果多个 Agent 同时修改代码,需要自行规划工作目录隔离或文件修改范围。
▪︎ Mission 通常采用 Agent 的广泛权限模式。团队约定属于行为指令,不等于文件系统沙箱或强制审批机制。
▪︎ Agent 之间共享的是任务目标、消息和反馈,不是隐藏推理、原生工具状态或完整的模型上下文。
▪︎ Mission 的 Settled 表示成员满足空闲条件,并不代表代码通过测试或审查。Failed、Interrupted 等情况会分别显示对应状态。
▪︎ 文件预览、Diff 审查等功能仍处于开发或 Preview Nightly 阶段,不属于 v0.19.4 稳定版的完整功能。
五、Runner 的整体工作流程
整个协作过程可以整理为:
1. 配置 Role,定义每个 Agent 的运行时、模型和职责
2. 将多个 Role 组成 Crew,设置团队成员与协作约定
3. 启动 Mission,向成员分发共同目标和工作目录
4. runnerd 通过 SessionManager 和 PTY 启动各个 Agent
5. Agent 通过 EventLog、EventBus 和 Router 进行消息交接
6. 需要人工决策时,通过 Mission Feed 提问并接收回答
7. 任务状态变化后,通过关联 Chat 汇报进展
8. Agent 在后台继续执行,桌面 App 可以重新连接运行中的会话
Runner 将多个独立 CLI 的管理、团队配置、消息通信、任务状态和后台运行整合在同一套工具中。
从 Role、Crew、Mission 的组织方式,到 runnerd 的进程管理、PTY 终端和消息投递机制,相关功能与架构整理在配套的 4 张图中。
官网:runnersh.dev/
GitHub:github.com/yicheng47/runner
Release:github.com/yicheng47/runner/…
#AI #CodingAgent #OpenSource
🔥牛逼!一句话让Agent效率暴涨10倍!破解GPT过度防御,长程Goal不再磨洋工!
AI写功能先造堡垒、堆哈希、死磕无用边界、拿计划代替执行?这就是过度防御。
HERO-Anti-OverDefense精准打击四大模式(Hashing / Edge cases / Rubrics / Overbuild)。规则粘贴后短任务有效,长程Goal却容易遗忘偷懒。
实测监督时1小时交20个,过夜5小时只交2个。加了Goal Pulse定时器后,每30分钟脚本“鞭策”一次(模拟真人监督、不破坏Goal),效率直接10x。
核心理念:最快速度推进、禁止磨洋工与空转、产物交付即核验推进、卡点两轮无进展立即接管、复用已有成果、不降低标准、直接行动。
快速上手:
1️⃣Clone HERO-Anti-OverDefense
2️⃣把RULES.md范围约束块粘贴到AGENTS.md(Codex)或CLAUDE.md
3️⃣安装skills/goal-pulse,长程Goal自动每30分钟双语提醒
4️⃣直接起飞
兼容ARIS科研工作流,支持Claude Code / Codex / Cursor / Copilot等。
🔗 HERO:github.com/wanshuiyin/HERO-A…
🔗 ARIS:github.com/wanshuiyin/Auto-c…
#大模型 #AI #Agent #开源 #GPT #Codex #效率提升 #HERO #ARIS #SamAltman
Hiro retweeted
Qwen3.8-27B reportedly went from 55.6GB to just 5.9GB, while retaining 98.2% of its aggregate benchmark performance.
That’s an approximately 89.4% reduction in model size.
The result comes from PrismML, the team behind Bonsai, which has introduced its second-generation compression system.
Here are the reported numbers:
Original Qwen3.8-27B: 55.6GB
Bonsai 2 compressed version: 5.9GB
Model size reduction: 89.4%
Aggregate benchmark performance retained: 98.2%
Previous Bonsai 27B version: approximately 95% retention
Evaluation coverage: 20 benchmarks
The interesting part isn’t just how much smaller the model becomes. It’s how much capability reportedly survives such aggressive compression.
How does Bonsai 2 achieve this?
The underlying technique is ternary quantization.
Most conventional model weights use numerical representations with multiple possible values. Depending on the format, each weight may use 16, 8 or 4 bits.
Ternary quantization takes a more aggressive approach.
Instead of preserving a large range of numerical values, weights are represented using three possible states, typically:
-1
0
+1
Scaling factors help recover useful numerical ranges from these compact representations.
Because each weight has only three possible states, the storage requirement can be dramatically reduced compared with conventional higher-precision formats.
But there’s a difficult trade-off.
A model’s weights encode the information that allows it to reason, follow instructions, write code and solve problems. Compressing them too aggressively can destroy distinctions that matter to those capabilities.
The challenge is therefore not simply reducing the number of bits. It’s finding a way to remove numerical precision without removing too much useful information.
What improved in Bonsai 2?
PrismML reports better capability retention than its previous 27B compression, moving from approximately 95% to 98.2% aggregate benchmark performance.
The team also highlights improvements in:
Coding agents
Multimodal reasoning
Long-horizon tool use
The agentic side is particularly interesting.
Consider a coding agent working on a real project. It may need to inspect a codebase, understand dependencies, modify multiple files, run tests, interpret errors and repeat the process until the requested feature works.
Preserving that kind of behaviour after reducing the model to 5.9GB is more interesting than simply maintaining accuracy on short question-and-answer tests.
An agent needs to maintain context, make decisions across multiple steps and recover when something goes wrong.
If those abilities survive compression, the practical value goes well beyond having a smaller model file.
Why this matters for local AI
A 5.9GB model is considerably easier to distribute, store and experiment with than a 55.6GB version.
It could make a 27B model more accessible to people using consumer GPUs, laptops and systems with limited memory.
There is one important distinction, though:
5.9GB is the reported compressed model size, not necessarily the total VRAM required to run it.
Inference still needs memory for the KV cache, activations, temporary buffers and runtime overhead. Context length and concurrency can increase those requirements.
The 98.2% figure also represents aggregate performance across 20 benchmarks. It does not mean the model performs identically to the original on every task. Some capabilities may retain more performance than others.
Independent testing will be important for understanding where the remaining performance loss occurs, particularly on coding agents, complex reasoning and long-running tool workflows.
Still, moving from approximately 95% retention in the previous Bonsai version to 98.2% with Bonsai 2 is a notable reported improvement.
The real test of compression isn’t how many gigabytes you remove. It’s how much useful capability remains after you remove them.
Qwen3.8-35B-A3B is reportedly generating around 50 tokens/s on an RTX 3060 with just 12GB VRAM and 16GB system RAM.
For a model in the 35B parameter class, that’s an interesting result, especially because the goal isn’t just running a chatbot. The developer wants to use it as a local coding agent.
The reported performance:
GPU: RTX 3060, 12GB VRAM
System RAM: 16GB
Generation: ~50 tokens/s
Prompt processing: ~550 tokens/s
Configured context: 262K tokens
The more interesting part is how the developer gets a model of this size running on relatively modest hardware.
1. The A3B architecture reduces computation
Qwen3.8-35B-A3B uses a sparse Mixture-of-Experts (MoE) architecture.
Although the model contains approximately 35B parameters, only around 3B are active for each token.
This means the model doesn’t need to perform computation across all 35B parameters during every generation step. It routes each token through selected experts, reducing the computational workload.
However, active parameters and total model size are two different things. The full model weights still need to be stored in memory, which is why quantization and efficient memory placement are essential.
2. CPU and GPU share the workload
The reported configuration uses:
llama.cpp with llama-server
Q4_K_M weight quantization
Flash Attention
Q8 KV cache
26 MoE layers assigned to CPU processing
The RTX 3060 has only 12GB of VRAM, so loading the entire model onto the GPU isn’t practical with this configuration.
Instead, the developer splits the workload between the GPU and system RAM.
Q4_K_M reduces the memory required for model weights, while the Q8 KV cache helps control the memory consumed by attention during longer conversations.
Flash Attention also helps manage attention computation and memory usage.
There is a trade-off, though. Moving work between CPU and GPU introduces data-transfer overhead, and CPU processing can become a bottleneck. Actual performance will depend on how much work each component handles.
3. The real test is running coding agents
The developer already runs Hermes and Pi coding agents with Ornith-1.5-35B and is now evaluating whether Qwen3.8-35B-A3B can replace it.
The planned comparison includes four models:
Qwen3.8-35B-A3B
Ornith-1.5-35B
Qwen3.8-27B
Base Qwen3.6-35B-A3B
The evaluation goes beyond raw generation speed.
It will examine how well each model handles:
Writing and modifying code
Calling tools correctly
Understanding existing files and codebases
Diagnosing and fixing errors
Completing multi-step development tasks
Recovering when an attempt fails
The developer also plans to measure how generation speed changes as the context window grows.
That last test is important. A configured 262K context window doesn’t guarantee that the system can use the entire context at the same speed or without running into memory limitations.
Why this experiment is worth watching
A model generating 50 tokens/s is already useful for local development. But coding agents need more than fast text generation.
They must plan, inspect files, execute commands, interpret tool results, debug problems and verify their changes.
A model that can do all of that reliably, with minimal human intervention, is much more valuable than one that simply produces tokens quickly.
If Qwen3.8-35B-A3B performs well in these agentic coding tests, it could offer developers another way to run capable local coding agents without investing in expensive GPUs.
The inference results are promising. The comparison against Ornith-1.5-35B and the other Qwen models should reveal much more about its practical capabilities.
Hiro retweeted
卧槽,GitHub 上挖到一个真香的开源笔记工具:EdgeEver!
有点想把 Obsidian 换了。最吸引我的不是它能记笔记,而是笔记能直接给 AI Agent 用!
几个亮点👇
• 原生支持 MCP,AI Agent 可以直接读写笔记
• 支持 Markdown、网页剪藏,X、小红书内容也能收藏
• 多端实时同步,离线也能写
• 支持 Docker 私有部署,数据自己掌控
• Cloudflare 免费额度内就能跑,不用买服务器
想想以前笔记存进去记本就吃灰,现在能直接变成 AI 的知识库,让 Agent 帮你整理、检索、更新。
当然,实际同步体验和稳定性还得自己折腾验证。
兄弟们,你们现在用 Obsidian、Notion,还是已经让 AI 接管笔记了?😂
🔗 github.com/tianma-if/edgeeve…
Hiro retweeted
卧槽,别再用 Resend、SendGrid 发邮件了
直接用 Cloudflare 自带的 Email Sending,额度贼慷慨。
我这边每天 5000 封的发送额度,平时连零头都用不完。
域名本来就托管在 Cloudflare 的话,DNS 记录点几下就配好,连 SPF、DKIM 都不用自己折腾。
注册验证码、找回密码、订单通知这些事务邮件,完全够用。
又省一份订阅费,哈哈。
Hiro retweeted
REA 刚火就有人砸场子
8KB 平替 REA。207 工具 vs 0:砍中间层,每种二进制给最快命令。38% 更快 35% 更省。1374 星。
玩逆向的:207 还是 8KB?
#开源 #逆向工程 #AIagent
github.com/aicodeking/leanre…
Hiro retweeted
嘴上天天喊搞AI,真问Transformer是啥,能讲利索的没几个。
有个仓库够狠,零基础手搓一个GPT,高级库一概不碰。Attention、多头、前馈、Embedding、残差、Layer Norm怎么拼起来,全摊开给你看。而且不只模型,整条链子都在:
1️⃣ 数据下载、预处理、训练、生成一条龙走完
2️⃣ 训练数据用The Pile,22个来源825GB
3️⃣ tiktoken分词,存进HDF5
4️⃣ 预训练完还附上SFT和RLHF的路数
改几个配置就能调大小。13M参数上下就开始拼对语法和单词,白蹭Colab或Kaggle的T4,练一天就出货。
github.com/FareedKhan-dev/tr…
Hiro retweeted
REA + Opus 5.5 is f*cking dangerous...
Any closed-source Chrome extension can now be reverse engineered.
Down to every script and function, and you can modify how it works.
Send this prompt to Claude and reverse engineer your first Chrome extension.
Then read the full article below on how to reverse engineer anything 👇
🚨炸了!上海AI实验室推出新模型Sage-A1.5 !仅35B硬刚Kimi-K3、GLM-5.3、GPT-5.6-sol!同级第一还能反超巨无霸!
35B MoE智能体模型,仅3B激活,主打长程执行与科学探索。
它不仅全面碾压同级A1、Ornith-1.5,在多个指标上还压过Kimi-K3、GLM-5.3、GPT-5.6-sol:
🔹FS-Olympiad 81.0、CMT 80.0、PinchBench 90.0
🔹SWE-Bench Pro 61.2、BrowseComp 82.8、IFBench 81.6
🔹支持子代理并行编排、内置验证协议、开放科学发现
小参数做出大模型级Agent与科学能力,效率与实力双在线。
技术报告:arxiv.org/abs/2610.28578
模型:huggingface.co/InternScience…
#上海人工智能实验室 #SageA15 #开源大模型 #AIAgent #科学智能 #中国AI #KimiK3 #GLM53

















































