I built this because I got tired of the "suggest -> review -> approve" loop in existing AI coding tools. As models improve and generate proper code more often than not, manual approval started to feel unnecessary as long as there is a strong safety net to allow easy rollback of the changes.
Aye Chat applies changes automatically, but every AI edit is snapshotted locally, so you can instantly undo any change with a single command. This automatic file update with a safety net is the core idea.
In the same session, you can run shell commands, open Vim, and ask the AI to modify your code.
It supports multiple models via OpenRouter, direct OpenAI API usage with your key, and also includes an offline local model (Qwen2.5 Coder 7B).
You can watch a ~1-minute demo here: https://youtu.be/i-vGI6-kP4c
Basically, the typical workflow goes like this (instead of a chat window, you stay in your terminal):
$ aye chat # starts the session
> fix the bug in server.py
Fixed undefined variable on line 42
> vim server.py
[opens real Vim, returns to chat after]
> refactor: make it async
Updated server.py with async/await
> pytest
Tests fail
> restore
Reverted last changes
I use Aye Chat both in my work projects and to build Aye Chat itself. Recently, I used it to implement a local vector search engine in just a few days.Lower-level technical details that went into the tool:
The snapshot engine is a Python-based implementation that serves as a lightweight version control layer.
For retrieval, we intentionally avoided PyTorch to keep installs lightweight. Instead, we use ChromaDB with ONNXMiniLM-L6_V2 running on onnxruntime.
File indexing runs in the background using a fast coarse pass followed by AST-based refinement.
What I learned:
The key realization was that the bottleneck in AI coding is often the interface, not the model.
I also learned that early users do not accept a custom snapshot engine, so to make it professional-grade we are now integrating it with git refs.
What I'd love feedback on:
- Does the snapshot safety net give you enough confidence to let the AI write files directly, or does it still feel too risky?
- Shell integration: does the ability to execute native commands and prompt the AI from a unified terminal interface solve the context-switching problem for you?
There is a 1-line quick install:
pip install ayechat
Homebrew and Windows installer are also available.It's early days, but Aye Chat is working well and is legitimately the tool I reach for first when I want to iterate faster. I would love to get your feedback. Feel free to hop into the Discord (https://discord.gg/ZexraQYH77) and let me know how it goes. If you find it interesting, a repo star would mean a lot!
fcpguru•1h ago
acro-v•1h ago
The idea of writing automatically by setting some flags and then recovering with git is not new: I agree with that; and it's not just Claude - others are doing it too.
What's different is putting it as the default user flow: automatic updates (no flags) - in combination with instant restore, not as a configuration flag to set and then a set of commands to recover.
That shift sounds subtle, but it changes how fast you iterate, especially when refactoring or exploring ideas.