AI tool comparison
Apfel vs React Doctor
Which one should you ship with? Here is the side-by-side panel verdict, pricing read, reviewer split, and community vote comparison.
Developer Tools
Apfel
Tap the free AI already built into your Mac
75%
Panel ship
—
Community
Free
Entry
Apfel is a Swift 6.3 command-line tool that cracks open the on-device language model Apple ships with every Apple Silicon Mac running macOS 26 (Tahoe). Instead of requiring a Claude, OpenAI, or Gemini subscription, Apfel routes through Apple's FoundationModels framework and gives you three interfaces from a single brew install: a pipe-friendly CLI, an interactive chat with context management, and an OpenAI-compatible local HTTP server built on Hummingbird. Under the hood, every token is generated on your Neural Engine and GPU — nothing leaves your machine. The model is roughly 3B parameters with a 4,096-token context window, fast enough for scripting, summarisation, and quick Q&A without latency you'd notice. Pipe-friendly stdin/stdout, JSON output mode, and proper exit codes make it trivially composable with jq, xargs, and shell scripts. The OpenAI-compatible server mode is the killer feature for developers: point any tool that speaks the OpenAI API at localhost and it just works — locally, for free, with zero cold-start. The project is MIT-licensed, started by a solo developer on March 24, 2026, and hit 513 HN points within days of the Show HN post.
Developer Tools
React Doctor
Catch every anti-pattern your AI agent baked into your React app
75%
Panel ship
—
Community
Paid
Entry
React Doctor is a one-command static analysis tool that scans your React codebase and outputs a health score from 0 to 100 alongside a detailed diagnostic report. Run `npx react-doctor@latest .` and it identifies anti-patterns across six dimensions: state & effects, performance, architecture, security, accessibility, and dead code. It auto-detects your framework (Next.js, Vite, React Native) and React version, adjusting rules accordingly. The tool was built by Million.co—the team behind the Million.js performance library—and is clearly aimed at the post-AI-coding era. Its killer feature might be the "agent instruction installation" mode: it teaches Claude Code, Cursor, and other coding agents the project's quality rules, so future agent-written code conforms to them before React Doctor even runs. It also integrates with GitHub Actions and can post PR comments with health score diffs, making it easy to catch regressions before merge. With 8.7K stars and one of today's fastest-growing GitHub repos, the timing is perfect. Developers are increasingly shipping agent-written React code they didn't review line by line, and React Doctor fills the gap. It's MIT-licensed, requires no config to get started, and the CI integration takes about five minutes to set up.
Reviewer scorecard
“The OpenAI-compatible server is a genuine unlock — I swapped my local dev config from Ollama to Apfel in two minutes and everything just worked. For Apple Silicon owners who want zero-latency local AI without model downloads, this is the move.”
“The GitHub Actions integration with PR health score diffs is the feature I didn't know I needed. Installing it took three minutes and immediately flagged three useEffect anti-patterns Cursor introduced last week.”
“A 3B-parameter model with a 4K context window is impressive for on-device, but it's nowhere near Claude or GPT-5.5 quality. If your task needs real reasoning or long context, you're back to paying for API credits anyway. This is a neat party trick, not a replacement.”
“Static analysis for React isn't new—ESLint with react-hooks/exhaustive-deps, Biome, and others already catch most of these patterns. The 'health score' framing may encourage false confidence if teams focus on the number rather than the individual findings.”
“Apfel is the first glimpse of a world where capable on-device AI comes pre-installed, not downloaded. As Apple's model improves with each macOS release, tools like Apfel will inherit the upgrade for free. The distribution moat Apple is quietly building here is enormous.”
“Teaching agents the rules upfront rather than fixing their output afterward is the right architectural direction. As agent-written code becomes the norm, tools that close the feedback loop at the prompt level will be as important as compilers.”
“I used it to batch-summarise 40 draft posts overnight with a simple shell loop — no API bill, no rate limits, no internet required. For content workflows that need a cheap first pass, it's already practical.”
“For designer-developers who use Cursor or v0 to prototype quickly, this is a sanity check that doesn't require deep React expertise. A green health score before shipping is a meaningful confidence boost.”
Weekly AI Tool Verdicts
Get the next comparison in your inbox
New AI tools ship daily. We compare them before you waste an afternoon.