
DiffSense
Local AI git commit generator for Apple Silicon
451 followers
Local AI git commit generator for Apple Silicon
451 followers
DiffSense uses the native AFM 3B model on Apple Silicon to generate git commit messages for free. It runs locally with zero latency, ensuring your code stays private. Features customizable message styles and powerful alias macros.









Flowtica Scribe
Hi everyone!
André @conduit_design shared this tool with me and I immediately thought it was such a smart use of the hardware we already own.
If you are burning API credits just to get AI commit messages, DiffSense solves this by using the native AFM 3B model directly on your Mac. It runs locally, which means it is completely free and private.
It feels like a native dev tool with zero latency. If you are on an Apple Silicon Mac, this is basically a free upgrade for your git workflow.
Give it a try!😽
DiffSense
Flowtica Scribe
@conduit_design Always love on-device AI use cases. Happy coding!
I have been using GPT-4 wrapper for this but the latency is annoying . How does the AFM 3b handle larger diffs ?
DiffSense
@farhan_nazir55 Exactly, that’s why we designed it this way. We use a dynamic budgeting strategy so larger diffs don’t overload the 3B AFM model while keeping output quality consistent. Each file gets a calculated character budget, and we intelligently prune less meaningful parts so the model still sees all relevant changes across all the files.
If you’re interested, the full algorithm is documented here: https://github.com/edgeleap/diffsense/issues/34
And if you have ideas to improve it, feel free to open an issue on GitHub, we would love the input. Thanks!
@prastik Sure , I will dive into the repo and if i run into any edge cases , i will definitely open an issue. Thanks for the breakdown!
Wow, DiffSense is awesome! Super excited about the zero-latency commit messages with the local model. Does it handle larger, more complex diffs gracefully, or is there a suggested diff size limit for optimal performance?
DiffSense
@jaydev13 Yes. we shipped large diff support 2h before launch 😅. For very complex commits, try the --pcc and --chatgpt flags for greater fidelity. We will also ship a batching feature soon, that will trade some speed for more fidellity even on apples --afm local 3B native llm. And also segmented commits, where one big refactor is segmented into neat structured commits grouped where things naturally belong etc. + Lots more we envision to supercharge the commit history of any project. We think git history will be a treasure throw for AIs soon, to reason about codebases and how to solve problems holistically.
I just realized that even though I code with AI every day, I still write my commit messages and forgot that this step can also be AI-powered! Very neat idea and a smooth experience. Congrats on the launch! Just a small question: How easy would it be to make DiffSense run on platforms other than mac, if I am fine using gpt instead of afm?
DiffSense
@e36 Microsoft is betting huge on local AI hardware in their laptops etc. So definitly next step. Add a feat request in the github repo and we will do it faster, if pother eople also want the same thing
DiffSense
@e36 I write alot of manual commit msgs too. Esp if things get complicated. But I always felt it could be done 10x better. Like add more insight into each msg. Because. AIs in the future they will read every commit msg to understand context better. So this "sense" part is going to be very important in 2026 and beyond. Dont you think?
Typeless
This tool addresses a real pain point for developers! 👍
What I particularly love:
Local execution keeps your code private - no worries about sensitive information leaking
Zero latency experience is so much smoother than calling cloud APIs
Leverages Apple Silicon's AI capabilities while being completely free
Customizable message styles and alias macros offer great flexibility
For developers who often forget to write commit messages or struggle with proper commit conventions, this is a game-changer. The only limitation might be requiring Apple Silicon hardware, but for Mac users, it's definitely worth trying!
DiffSense
@yuki1028 Glad you liked it. Thanks for your feedback :)
Agnes AI
DiffSense seems to be a great tool for Local First users! Its crucial to secure privacy for coding for ai products!
DiffSense
@cruise_chen Thanks! Privacy is core to DiffSense, keeping code local and secure was a key design goal from day one. Glad it resonates with the local-first mindset 🙌
Siiick, well done @conduit_design !