注册并分享邀请链接,可获得视频播放与邀请奖励。

与「Cordis」相关的搜索结果

Cordis 贴吧
一个关键词就是一个贴吧,路径全站唯一。
创建贴吧
用户
未找到
包含 Cordis 的内容
DeepSeek 开源的第一个 agent harness DSH,论文里堆满了范畴论符号,很容易让人觉得又是研究员在真空里搞出来的理论产物。但在仔细读完源码并与 Codex 逐行对照后,我的工程判断很明确:对绝大多数日常写代码的开发者来说,它重得毫无必要;但对探索自进化 agent 的工程团队来说,它搭建了一套目前其他方案完全没有的底层骨架。 架构上最本质的差距在于插件模型的选择。 Codex 代表了典型的声明式路线:插件只是磁盘上的文件夹,贡献的是 Markdown 写的 skill 文件、MCP server 配置或 shell 脚本。插件不进 harness 进程,也不在同一进程里跑代码,改完配置重启独立进程只需两三秒。对于搜索、加工具这类绝大多数日常需求,声明式模型简单可靠,门槛接近于零。 DSH 走的是命令式路线:插件带着自己的状态,直接跑在 harness 进程内部,互相注册与调用。一旦要在运行时替换插件,悬空引用清理、后台任务终止、依赖链协同以及崩溃回滚都会变成棘手难题。为此,DSH 引入了一套叫 Cordis 的重型运行时,单是管理 fiber 生命周期的核心模块就有 750 行代码。 如果只是为了替换搜索服务或挂载常用工具,让开发者背上 Cordis 这套复杂度完全是过度设计。但 DeepSeek 包这盘饺子的真实意图,隐藏在控制流结构里。 在 Codex 中,agent loop 的控制流被硬编码在 Rust 核心逻辑里,开发者只能在预设时刻挂载 hook,无法在运行时把单 agent 循环改成多 agent 协作循环。而在 DSH 里,agent loop 本身是放在 packages/core/agent-loop 中的一个普通 TypeScript 插件,向外提供 ctx.agentLoop 服务。只要实现相同的接口,运行中的控制流骨架随时可以整体卸载并替换。 Cordis 打造的那些副作用跟踪、依赖变动通知和事务性 HMR,本质上全是在支撑 agent loop 可替换这个核心目标。它保证了 agent 在运行期如果动态生成了新工具或新 loop,系统能在不中断进程的前提下平滑加载;一旦生成的代码出现错误,又能通过事务性回滚退回上一个稳定状态。 Codex 交付的是结构固定的成品家具,而 DSH 交付的是允许动态改造的生成内核。DSH 不会让你的日常 coding 变得更快,但它让 harness 本身具备了面向自进化进行物理扩展的可能。 深度剖析与两套架构的完整对照:
显示更多
deepseek-harness重磅开源,采用了一切皆插件的架构,也就是中国版的openclaw,体验了下可以称之为私有化的workbuddy。 场景侧冲击:有了deepseek-harness之后,企业域的私有化code、cowork基本用这个就可以了,直接会冲击workbuddy之类的市场。 之前DeepSeek Harness内测招募,本质是一次开源 Agent 生态大摸底,把全球 Agent 基础设施的家底扫了一遍后,预计后续版本应该会在开放生态上做一些事情。 dsh看点不在"又一个 Claude Code",有3个看点: 1️⃣ 一切皆插件 模型、工具、skill、会话、沙箱、存储、主循环、调度,连 UI 都是插件,配置里全都可换,不动源码。四种运行模式里最有意思的是 Minimal——只留一个 bash 和一个文件编辑器,摆明了是给模型做裸机 benchmark 的。 2️⃣ 每一次运行都可回放 系统提示、推理过程、工具调用与结果、子 agent 调度、所有 context 注入,全部进 append-only 的 session log,resume / fork / search / replay 都跑在同一条事件流上。 3️⃣ 最狠的是内核 dsh 跑在 Cordis 上,它把插件系统拆成两个正交维度:时间可组合性:卸载一个组件时副作用能完整回滚(每个 context 变换都带一个逆,运行时来追踪);空间可组合性:依赖可声明、且 context 一变就反向通知组件。还给了一套动态组合的演算,证明这个性质能从单个组件传导到整个系统。 总的来说,这次deepseek-harness最大的特点是极致的可替换性,也就是用最小的基础来承载,然后其他都是可插拔的插头。 #DeepSeek# #harness# #Cordis# #编程范式# #北大# #开源#
显示更多
做一个下dsh和pi的对比 Pi 的目标是“最小核心 + 用户自己拼”,DSH 的目标是“几乎所有能力都插件化,官方先给你几套完整组合”。 DSH 的骨架是Cordis。 Cordis 不是普通插件加载器,它强调两件事: 1. 可逆副作用(temporal composability):插件卸载时,注册的服务、事件、工具 schema、prompt section 全部自动撤销。 2. 依赖声明与空间组合(spatial composability):插件通过 `inject` 声明需要什么服务,运行时按依赖挂载。 所以在 DSH 里: - 模型适配器是插件 - 工具注册表是插件 - session log 是插件 - agent loop 本身也是插件 - 甚至 UI 也是插件 没有“神圣不可动的核心”。你想换 loop、换工具策略、换上下文压缩,挂一个新插件 + 改配置就行。 启动时是 Profile + Bundle叠出来的: 空根 → dsh-base(模型、工具、沙箱、凭证…) → dsh-web-app 或 dsh-headless → 用户自己的 cordis.patch.yml → 命令行 --patch `dsh --profile web --dump-config` 能直接把当前实际挂载的树打出来。 Session 设计是硬核部分 Session 是 append-only 的事件流 模型最终看到的上下文,必须能从这条 log 完整重建出来。官方写得很死: > Model-visible means logged. 任何会进模型请求的内容,都要先变成 session event。 所以 fork、resume、回放、UI 渲染、telemetry,全部从同一条流投影。这点比大多数 coding agent 做得更彻底。 Turn / Step 有claudecode的影子,流程如下: turn/start → claim input → agent/pre-step(可拦截、可改写) → step/start → llm/stream → tool/call → tools/pre-execute → execute → post-execute → step/end → 继续 or turn/end `agent/pre-step`、`tools/*` 这些是 waterfall,监听者必须显式 `next()` 才能往下传。扩展点设计得很规整。 Pi 的实际交集 DSH 仓库里有一个包: `@deepseek-ai/dsh-llm-pi-ai` 它就是把 pi-ai当成 LLM 适配器的后端。 多 provider、协议兼容、reasoning effort 映射、catalog 覆盖,都走 pi-ai 的能力,再包一层 Cordis 插件契约。 所以: - LLM 调用层:吃了 Pi 的基础设施 - Agent 编排、工具、session、UI、沙箱:完全自己的 Cordis 体系 “LLM 适配层直接用了 pi-ai,上层重做了一套更重的可组合 Runtime”。 模式上的对应 DSH 的 Minimal 模式才最接近 Pi 的默认体验:只留 shell + 文件编辑器,专门给 benchmark 用。 官方之前在 V4 的 agent 评测里就用过这个模式。 Standard 模式和 Code(PTC)模式则是完整工具集 + 程序化工具编排,已经远超 Pi 默认的 4 工具。 如果你喜欢 Pi 那种“核心极瘦、自己动手加东西”的感觉,DSH 会显得重,配置和概念也更多。 如果你要的是可替换的 agent loop、完整事件回放、多模式预设、以及官方已经搭好的 Web 界面,DSH 的插件树和 seam 设计更系统。 一句话: Pi 是极简可扩展的 coding harness;DSH 是基于 Cordis 的完整 Agent Runtime,LLM 层复用了 pi-ai,但整体不是同一套代码。
显示更多
0
36
193
30
转发到社区
🧩 DeepSeek Harness v0.1 is now available in Developer Preview! 🔹 We’re opening it up to developers building agent harnesses worldwide and open-sourcing the codebase in MIT license. 🔹 Powered by the Cordis meta-framework, DeepSeek Harness is an agent harness built around one core idea: Everything is a plugin. Models, tools, skills, sessions, sandboxes, filesystems, loops, orchestration, and UI are ALL implemented as plugins, and can be mixed, matched, replaced, and extended. Try it now!
显示更多
0
292
5.8K
740
转发到社区
Leonardo da Vinci drew muscles as cords along their line of pull. I’m building a 3D book on bones and muscles for GCSE PE around that idea, and here is a glimpse of one chapter: the 13 muscles, where you pull each cord and its joint moves. The chapter, live ↓
显示更多
0
44
1.1K
131
转发到社区
Chronic stress & elevated cortisol quietly drain emotional bandwidth, often eroding daily connection & intimacy in a way that feels more insidious than a single event like infidelity. Vitamin D helps control stress hormone levels by influencing the brain & adrenal feedback loops.
显示更多
It’s amazing to see the response to The credit starts with @elonmusk. Thank you Elon for opening the door for tech to take greater interest in gov. You took a lot of arrows doing it. Wouldn’t be here without you. Thank you President Trump @POTUS for your genius initiatives like this to fix things for everyday Americans, and @SusieWiles47 for supporting this effort since before the Executive Order 14338 last year. Thank you Ed Coristine @as400495, Peter Arnell @arnelldesign and the entire team at National Design Studio. I admire your ingenuity, perseverance, and commitment to excellence you have shown shipping this historic new platform. Thank you to Ed Forst @USGSA_Ed and the teams at GSA for partnering in such a profound way. Thank you Cabinet members and your agencies who believe in making our nation a leader in the citizen experience. With the platform established, now the work begins to radically upgrade the experience of living in America. Product Designers and Software Engineers who want to build with impact, your nation is calling:
显示更多
0
263
8.8K
1.1K
转发到社区
High cortisol ages your face, shrinks your brain, and tanks your libido. Here are 9 surprisingly simple ways to bring it down naturally: 1. Put your face in cold ice water.
0
44
3.3K
490
转发到社区
Music truly transcends borders. Fernando Cordas and Izhar Elias, a guitar duo from the Netherlands, brought their romantic sounds to Wuxi Symphony Hall on July 19, where they performed "The Beauty of Taihu Lake", a beloved Wuxi folk song. @NLinChina @AndreHaspels
显示更多