AI tool comparison
Apfel vs Claw Code
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
Claw Code
Claude Code's architecture, open-sourced — 100K stars in days
75%
Panel ship
—
Community
Paid
Entry
Claw Code is a clean-room rewrite of Anthropic's Claude Code agent harness, born from a March 2026 incident where Claude Code's full TypeScript source was accidentally published to the npm registry inside a 59.8 MB JavaScript source map. Developer Sigrid Jin reverse-engineered the architecture and rebuilt it ground-up in Rust (72.9%) and Python (27.1%) under MIT license. The framework ships 19 permission-gated tools covering file operations, shell execution, Git commands, and web scraping — plus a multi-agent orchestration layer that can spawn parallel sub-agents, a query engine managing LLM streaming and caching, and full MCP support across six transport types. Session persistence with transcript compaction and 15 interactive slash commands round out a feature set that rivals the original. What makes Claw Code genuinely disruptive is provider freedom: where Claude Code locks you to Anthropic, Claw Code works with any LLM. It hit 72K GitHub stars on day one and crossed 100K by the end of the week — one of the fastest-growing repos in GitHub history. Whether Anthropic pursues legal action remains an open question, but the code is already forked thousands of times.
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.”
“Multi-provider support alone makes this worth exploring — no more being locked to Claude's API pricing. The Rust core means it's fast, and 19 permission-gated tools is a solid starting point for real agent workflows. I've already swapped it in for two internal projects.”
“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.”
“The whole project is legally precarious — even a 'clean-room rewrite' based on accidentally-published source code is a grey area that Anthropic's lawyers are surely eyeballing. Building production workflows on top of a repo that could get DMCA'd overnight is a real risk. Wait for the legal dust to settle.”
“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.”
“This is what happens when proprietary agent architectures meet the open-source community — the architecture gets commoditized within weeks. We're entering a world where the LLM is the commodity and the agent harness is the moat, and Claw Code just made that moat public property.”
“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 creative workflows — rapid prototyping, generating design assets, iterating on copy — having an agent harness that isn't locked to one provider is genuinely freeing. The cost arbitrage between providers alone makes Claw Code worth setting up.”
Weekly AI Tool Verdicts
Get the next comparison in your inbox
New AI tools ship daily. We compare them before you waste an afternoon.