**Another terminal/shell AI assistant (shell native)**

> Another terminal/shell AI assistant, but with main focus on making AI feel fast and native to the shell. - TheR1D/aty ATY (beta) Another terminal/shell AI assistant, but with main focus on making AI feel fast and native to the shell. Works over SSH and other interactive shell sessions. ATY builds context from your terminal input/output, and helps without dragging you into another app or making you pipe LLM context around. Demo.mp4 Model used in demo - gemma-4-26B-A4B-it:BF16 . Local models are recommended if your hardware can run them. Choose a model with low TTFT to get fast responses. You can also use cloud providers. For a responsive experience, choose one with low latency (HTTP + TTFT). Warning When using a cloud provider, be mindful of what you send: terminal commands and output may include secrets or private data. Also make sure your provider supports Zero Data Retention (ZDR) and it is enabled for your requests. Install ATY works in any terminal on macOS and Linux with zsh or bash . Build from source or run install script: curl -fsSL https://raw.githubusercontent.com/TheR1D/aty/main/install.sh | sh After installation is complete start ATY by running: aty On first launch, ATY asks for your provider, endpoint, API key, model, and reasoning effort. Check configuration examples on this page . Usage Start with ? and ask for what you need: ? show 5 largest files here \# ATY writes a command into your shell input find . -type f -exec du -h {} + | sort -hr | head -n 5 ATY uses your recent commands and their output as context (running clear clears context), so you can just ask it to fix an error: ./some\_script.sh \# -\> permission denied: ./some\_script.sh ? fix chmod +x some\_script.sh && ./some\_script.sh Thinking mode Use ?? for more complex commands (reasoning mode): ?? rename photos in the current folder by date taken Agent mode Use ??? for tasks that take several steps (agent mode): ??? start a Postgres container, create test db, table and few records Agent mode can also use MCP tools . Query options Skip terminal context By default, ATY includes recent commands, their output, and conversation with each request. Add x to omit terminal context from a request: ?x create a tar.gz archive of dist ??x write a command to batch-convert webp images to png YOLO mode Add ! to execute commands automatically: ?! show what is listening on port 8080 ???! find why the local server is unhealthy and restart it ATY presses Enter when each complete command is ready. In agent mode, it also approves MCP tool calls. ATY does not sandbox commands. Use ! only when you trust the request, model, and context. Combine it with x as ?!x , ??!x , or ???!x . Start automatically To auto launch ATY for all your terminal sessions, add this to your ~/.zshrc or ~/.bashrc : \# Launch ATY only for interactive shells if \# The shell is interactive. \[\[ $- == \* i \* \]\] && \# Input and output are connected to a terminal. \[\[ -t 0 && -t 1 \]\] && \# ATY is not already running. \[\[ ${ATY\_ACTIVE :- } != 1 \]\] && \# The aty command is available. command -v aty \> /dev/null 2\>&1 then exec aty fi Configuration On first launch, ATY asks for your provider, endpoint, API key, model, and reasoning effort. Configuration files are stored in ~/.config/aty . If XDG\_CONFIG\_HOME is set, it uses $XDG\_CONFIG\_HOME/aty instead. Restart ATY after changing the configuration. File Purpose config.toml Model connection, color, and limits shared by all modes. think\_config.toml Optional separate model configuration for ?? and ??? . default\_prompt.sh System prompt for normal and thinking modes. agent\_prompt.sh System prompt for agent mode. mcp/mcp.json Extra tools available in agent mode. Configuration parameters Set your provider, model, and full endpoint URL in config.toml . P...

**来源信息**
- **来源**:Hacker News:AI 热帖
- **分类**:ai-products
- **发布时间**:2026-09-20 11:55(北京时间)
- **原文**:[打开原文](https://github.com/TheR1D/aty)