Show HN:無需審核,AI 直接編輯您的檔案 [演示]

Hacker News·

一個名為 Aye Chat 的新開源終端工作區,將 AI 代碼生成器直接整合到 shell 中,實現無需手動審核即可立即編輯檔案。它具有內建的快照系統,方便回滾。

Image

I am building Aye Chat, an open-source terminal workspace that integrates AI code generator directly into your shell, allowing you to edit files and run commands as well as prompt AI seamlessly.

The AI writes code directly to your files immediately, eliminating the "review and approve" out of the loop.

At the same time, 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.

Also, in the same session, you can run shell commands, open Vim, and ask the AI to modify your code, turning it into an AI-powered terminal.

I built this because I got tired of the "suggest -> review -> approve -> changes applied" 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. Yes, the idea is not exactly groundbreaking: other tools already offer "set a dangerous flag and remember to recover later" settings, but what I am exploring is defaults, not capability. With Aye Chat, the default is the opposite: apply immediately and make undo trivial. There are no flags to remember, no mode switches, and you don't need to exit the tool to roll back.

You can watch a 1-minute demo here: https://youtu.be/h5laV5y4IrM

Basically, the typical workflow goes like this (instead of a chat window, you stay in your terminal):

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. By shifting to the AI writing code immediately with users still maintaining full control to undo those changes - we eliminate the cognitive load of the review-and-approve loop.

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:

  • After using it for a while, did replacing approvals with undo actually change how you work, or did it feel no different from existing terminal-based AI tools (GitHub Copilot CLI, Claude Code)?
  • Was there a moment when this started to feel natural to use, or did it never quite click?

There is a 1-line quick install:

Repo: https://github.com/acrotron/aye-chat. If you find it interesting, a repo star would mean a lot!

It's early days, but Aye Chat is working well for me. 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.

Image

Hacker News

相關文章

  1. Show HN:無需批准,AI 直接編輯您的檔案

    4 個月前

  2. AI 編碼的樂觀使用者介面:透過快照復原功能寫入磁碟

    5 個月前

  3. Show HN:Aye Chat:終端機優先的 AI 開發工具

    6 個月前

  4. 終端機上的持續性人工智慧

    4 個月前

  5. 展示 HN:AI 編碼工具包。用於可靠 AI 編碼的低開銷工作流程

    3 個月前