walter-grace

mac code — Claude Code, but it runs on your Mac for free. 35B AI agent at 30 tok/s via Apple Silicon flash-paging. $0/month.

39
1
100% credibility
Found Mar 26, 2026 at 40 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

An open-source local AI agent for Apple Silicon Macs that handles web searches, computer commands, file tasks, and code generation using optimized models with persistent memory options.

How It Works

1
🔍 Discover mac code

You hear about a free AI helper that runs right on your Mac, doing searches, file tasks, and code writing like a smart assistant.

2
📥 Get it ready

Run a simple setup to download everything needed and prepare your Mac for the AI.

3
Choose your setup
🐫
Proven speed

Start with the reliable option that handles big thinking tasks.

Save memory

Use the quicker one that remembers conversations across days.

4
🚀 Start chatting

Open the agent and type questions – it searches the web, runs commands, or explains things instantly on your Mac.

5
🛠️ Use special commands

Try quick searches, switch thinkers, or check speeds with simple slashes like /search or /model.

6
💾 Save your thoughts

Keep long conversations or projects ready to pick up later, even on another Mac.

🎉 Your free AI desk buddy

Enjoy fast, private AI help for free – no bills, runs smoothly on Apple hardware, smarter every time.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 40 to 39 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is mac-code?

mac-code is a Python-based local AI agent for Apple Silicon Macs, delivering Claude Code-like features—web search, shell commands, file operations, and code generation—entirely offline and free. It runs 9B or 35B models at 20-30 tok/s using llama.cpp or MLX backends, with slash commands like /search, /model 9b, and /bench for quick tasks. This Claude Code Mac GitHub clone solves cloud dependency by leveraging Mac's unified memory and SSD paging for massive context without subscriptions.

Why is it gaining traction?

It crushes cloud costs at $0/month while matching paid tools' speed on M4 hardware, with persistent context save/load for resuming sessions across devices via free Cloudflare R2. Features like LLM intent routing for tools, a retro web UI, and a live dashboard stand out in the Mac GitHub app and CLI space, plus easy model swaps between dense 9B (64K ctx) and MoE 35B. Developers dig the free Mac code editor vibe with no API keys needed.

Who should use this?

Mac devs debugging shell scripts, generating code snippets, or querying files without leaving the terminal—think backend engineers running /shell "find videos on desktop" or frontend folks using /search for quick API docs. It's ideal for privacy-focused users tired of GitHub Copilot subscriptions, or teams prototyping agents on Mac mini M4 Pros. Suited for local workflows like codesign checks or codesys automation on Apple hardware.

Verdict

Grab it if you're on Apple Silicon and want a capable local agent now—early benchmarks impress, and setup is one brew/pip away. With 39 stars and 1.0% credibility, it's raw and lightly tested, so expect tweaks; still, a solid free entry for Mac code runner fans over pricier alternatives.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.