cd /news/ai-agents/show-hn-sonah-code-reviewer-that-rea… · home › topics › ai-agents › article
[ARTICLE · art-156146] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: Sonah, code reviewer that reads your agent's session, not only the diff

A developer released Sonah, a code review tool that reads the AI agent's full session alongside the code diff to surface the assumptions and decisions the agent made, distributed via npm as the package getsonah. Sonah runs on an existing Claude Code or Codex subscription, with Claude preferred for its higher context window, and is invoked through commands including "sonah doctor" and "sonah review --format html --output ~/review.html". The tool targets a specific failure mode the developer encountered, in which Claude rewrote key functions while still making the test pass.

read1 min views3 publishedOct 23, 2026

Hey Everyone, After getting frustrated by Claude rewriting key functions and still making the test pass, was tinkering around with a review tool, that would track the assumptions and decisions the agent took, without me digging through the entire session. So ended up building Sonah. Sonah is basically a code reviewer that not only reads the code and diff but also the agent session that wrote the code, to understand the assumptions, and decisions your agent took along the way. And highlight important parts of the code that need your attention.

Sonah uses your existing claude code/codex subscription (claude preferred for higher context window). You can try using below: npm install -g getsonah sonah doctor cd your-project && sonah review --format html --output ~/review.html

Comments URL: [https://news.ycombinator.com/item?id=50209232](https://news.ycombinator.com/item?id=50209232)

Points: 1

── more in #ai-agents 4 stories · sorted by recency
── more on @sonah 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-sonah-code-r…] indexed:0 read:1min 2026-10-23 · —