Hacker News
Show HN: Recalc – Spreadsheet where cells can be Claude Code or Codex terminals
My real benchmark runs with recalc are internal to my startup, so to demonstrate some of the functionality I built a small FDA Bench with the tool (obtain and put together dossier's of FDA submissions, and see if a harnessed Claude could have accurately predicted pass/fail): https://github.com/sshah03/recalc#a-model-benchmark
It is still very much a work in progress, but given the versatility of spreadsheet apps, wanted to see how others see themselves using it and what doesn't exist that would be useful to them. Currently runs locally on macs, linux as well but that's less tested, and Windows hasn't been tested at all so that'll come in the future.
97-109-107
|next
[-]
Another direction I would consider for someone who needs this approach is Grist's MCP integration and a local agent harness.
hhimanshu
|next
|previous
[-]
sshah03
|root
|parent
[-]
What have your use cases for it been so far?
hhimanshu
|root
|parent
[-]
elvisgodevelop
|next
|previous
[-]
giannischatz
|next
|previous
[-]
If a cell's agent output lives at A3 and someone inserts a row above, is the agent now watching A4? The naive answer is yes, but then re-running the agent might produce different output than what's displayed in the referenced range elsewhere. Spreadsheet users are very used to this working magically for formulas — if agents break the invariant, it'll feel broken even when nothing technically is.
How are you handling that?
sshah03
|root
|parent
[-]
However, in the other cases, references get rewritten the same way everywhere (whether it's a formula, or an agent's watch list), so {A3} becomes {A4} etc... everywhere with the same process. Also in that case, it doesn't get marked for needing to be "re-run" because it checks value itself is unchanged, even if the cell being referred to changed.
I've tested it quite a bit. Given all of the moving parts in a spreadsheet app there's still the possibility that given enough usage someone encounters some combination of moves where this fails, but I think if that does happen it should be a fixable bug.
I also provide a backup solution with "Named cells", basically off sheet cells that can be used for constants and such and referenced by name instead of by cell, if needed.
compiler-guy
|root
|parent
[-]
The named cell can have a trivial `=SheetName!a3`. Those will be automatically updated with insert and delete just like any other formula.
They can be referenced directly for reading, and for writing you can do a quick parse and find the original.
quiet_ledger44
|next
|previous
[-]
sshah03
|root
|parent
[-]
As an alternative, I can provide a checkbox on export to have a "sources" sheet created in the workbook with references back to the cell if that works better.
If you do decide to use it, I'm happy to work with you to make sure the export works reliably. I haven't had a good test user for this yet.