Hacker News 熱門精选75

Show HN:Whiteboard(YC W26)——一款用于深思熟虑的软件设计的开源 IDE

Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design

· 19天前
跳到正文

精选理由

为人机协作提供可视化架构、语义审查与决策追踪,降低代码认知负担。

AI 摘要

大家好!我们是 Sid、Alex、Ketan 和 Milan。我们正在构建 Whiteboard,这是一款开源桌面应用,让人类和代理能够在一个共享工作区中共同设计软件架构。这是我们的代码仓库: https://github.com/devdotfast/whiteboard ,主页是: https://whiteboard.dev.fast/ 我们怀念与另一位开发者进行“白板会议”时的那种感觉——离开时已经对一个系统有了深入理解。因此,我们为自己构建了这个应用。Whiteboard 可以接入你已经在使用的工具,例如 Claude Code、Codex 等,并为你的代理提供一个 SDK,让它能够在应用内画布上绘图,以描述自己的工作。我们最初基于 HTML artifacts 构建了一个 MVP,后来随着遇到各种限制,我们开始重新思考这个应用: 1. 构建在 CodeOSS 之上:我们发现,在纯 HTML 工具中,很难将规范或图表与代码关联起来。在 Whiteboard 中,当你点击序列图、实体关系图或代理轨迹中的一段引文等可视化内容时,可以直接跳转到底层代码。在浏览代码时,你可以开箱即用地获得 VSCode 的快捷键绑定和 LSP 支持。我们发现这一点尤其有价值,因为许多权衡往往只有在首次实现之后才会显现出来(参见:slop) 2. 语义差异查看器:我们用 Rust 编写了一个支持语义分析和 AST 的差异查看器,因此你只需查看与你相关的代码变更 [1]。我们设置了一些合理的默认行为:较大的新增函数会以伪代码形式进行概述,单元测试和大段文档变更等内容则会被折叠或隐藏。这些设置都可以通过基于 WASM 的插件系统进行自定义。 3. 决策日志:我们发现,很难推理代理自主做出了一组什么样的决策。因此,我们构建了一些工具,让代理能够查询自己的轨迹并将其链接到 Whiteboard,这样你就能了解你设定的需求是如何被实现的,以及你的代理自主做出了哪些决策。 这里有一段简短的演示视频,可以进一步了解相关内容: https://youtu.be/ChPn3ftULWE Salesforce 和 Modal 等公司的员工如今正在使用 Whiteboard,作为架构或规范级变更的审查工具——实际上,任何他们希望参与其中的变更都可以使用: 1. 审查你自己的编码代理所完成的工作:由于 Whiteboard 让审查大量代码变得更加容易,人们通常会让 AI 代理创建一个原型以及相应的 Whiteboard 会话,然后据此迭代设计。 2. 审查他人的变更:我们发现,Whiteboard 与 Greptile 等工具结合使用时尤其有帮助。例如,你可以对小型变更运行自动化代码审查,而对于需要人工判断的变更,则升级为 Whiteboard 会话。 我们为什么构建它:我们是四个大学时期的好友,在代理式编码成为行业标准之前不久,辞去了技术负责人的工作。在为之前的一个想法迭代 MVP 时,我们努力想在享受代理式编码带来的全部效率提升的同时,维持一个易于理解的代码库。随着越来越多的 PR 在我们并未理解的情况下被合并,我们感觉一种“认知债务”开始逐渐渗入,直到我们甚至难以继续为这个系统做贡献 [2]。 我们将以 MIT 许可证发布我们的桌面应用。欢迎深入了解,也欢迎贡献代码!最终,我们会向企业收取托管版 Web 服务的费用,用于管理 Whiteboard 会话的创建,并提供轨迹存储和多人审查等功能。一切始终都会支持自行托管。 感谢阅读,希望你能试用一下!我们非常期待听到你的反馈,也希望向各位专家学习。 再次附上项目链接: https://github.com/devdotfast/whiteboard ;你可以在这里安装适用于 MacOS 和 Linux 的版本: https://install.dev.fast [1] diffs 库: https://github.com/devdotfast/diffr [2] “认知债务”这一术语的出处归于 https://www.geoffreylitt.com/2026/07/02/understanding-is-the... 评论链接: https://news.ycombinator.com/item?id=49833867 得分:16 评论数:0

正文

Whiteboard logo

Whiteboard

an open-source IDE for thoughtful software design

Download for macOS · Website · Discord

Whiteboard is an open-source desktop app where humans and agents can architect software together in a common workspace.

Whiteboard plugs into the tools you already use - e.g. Claude Code, Codex, etc. – and gives your agent an SDK to draw on an in-app canvas to describe its work.

An agent draws a flow diagram on a Whiteboard next to the code it describes

Here’s a 1 min demo video explaining more: https://www.youtube.com/watch?v=ChPn3ftULWE

Quickstart

  1. Download Whiteboard and open the app.
  2. Connect Claude Code, Codex, or another coding agent from the welcome screen.
  3. Ask your agent to review your current branch against up-to-date main and open the result in Whiteboard.

Guidance

In our experience, Whiteboard works best with models like GPT-6 Luna and Claude Opus 5.5 for their intelligence, cost, and speed tradeoff.

Here are a few example prompts of how to use Whiteboard effectively. We are working hard to make sure the right choices are baked in by default to the system prompt - part of why this system is open source! - but in the meantime:

For a new API change

hey, this stack of commits is set up so i can get an [api] to do [objective]

i'd like to see:

  • proposed api
  • examples
  • motivations for this (if available to you in context/in the repo)

and then we can dive into implementation + explaining how things worked.

For a change to add telemetry:

cna you explain to me the telemetry changes form the newest posthog pr https://github.com/devdotfast/whiteboard/commit/4837e107946e27ebad50c282eb0f2585210d2a35 -- what are we tracking, how can we build good dashboards or product waterfalls from it? what do we do for hangs, errors, crashes etc... use whiteboard

If you see anything you don't like, highlight it in your clipboard and give it your agent, and it can re-draw on the Whiteboard to suit your needs!

Why does this exist?

Diagrams that lead to code

Pure HTML tools didn’t provide easy affordances to connect a spec or diagram to code; this is especially tricky since tradeoffs are often only discovered after a first pass at implementation. In Whiteboard, when you click on visualizations like a sequence diagram, an entity relationship diagram, or a quote from the agent’s trace, you can jump to the underlying code directly. When navigating code, you get keybindings and LSP support from VSCode out of the box.

Semantic diff viewer

Raw diff views can be very noisy, so we wrote a semantic, AST-aware diff viewer in Rust so you can only view the code changes which are relevant to you. We’ve set up some sane defaults: large added functions are summarized as pseudocode, and things like unit tests and documentation changes are collapsed / hidden. This is all customizable with a WASM-based plugin system.

Decision log

We found it difficult to reason about what set of decisions our agents made autonomously & how that impacts a change. So we built tools for agents to query and link their own traces on the Whiteboard, so you can visualize the requirements that you set, understand how they were implemented, and understand what decisions the agent made autonomously.

Open source, on your machine

Whiteboard is MIT-licensed and runs against your local checkouts. A hosted product for teams is planned, and everything will always remain self-hostable.

Known limitations

  • You cannot currently edit files in Whiteboard. If this is something that you find yourself wanting to do, please file an issue!

  • Working and browsing files across multiple repos in a single review isn't well supported.

  • While you can share reviews between machines with the share button, updates made after a review is shared don't appear for others. You would need to re-share the review.

Contributing

Contributions and feedback are welcome.

Read CONTRIBUTING.md for setup and the pull request workflow, and follow the Code of Conduct. Report vulnerabilities as described in SECURITY.md. Questions? Ask on Discord.

Privacy

Whiteboard runs against local checkouts. Anonymous telemetry does not include your code, diffs, Whiteboard text, prompts, or model output. Read the privacy overview, inspect the complete telemetry reference, or turn telemetry off at any time.

License

Whiteboard is available under the MIT License. The vendored Code - OSS fork retains Microsoft's MIT license and third-party notices; see apps/review-desktop/LICENSE and apps/review-desktop/UPSTREAM.

On vendoring Code OSS

With everyone using dedicated agent TUIs and desktop apps, we only use our text editors for reviewing line-by-line diffs now, so we figured why not have a text editor meant for reviewing code. In that case, might as well start off with the most successful open source editor out there as a baseline.

We vendor Code OSS unlike other forks that maintain patches because coding agents have a hard time with patches and there's a lot of stuff from stock VS Code (i.e., ~45% of the codebase is Copilot these days 😬) that we don't need.

We regularly monitor upstream Code OSS and merge in security/feature patches as they come in.

Influences

查看原文(Hacker News 熱門)