Skip to main content

Aye Chat: Terminal-first AI Code Generator

Project description

Aye Chat: AI-powered terminal workspace

Your terminal, but with AI. Edit files, run commands, chat with AI - all in one session.

Install in 30 seconds

$ pip install ayechat
$ aye chat          # Start in any project

macOS (Homebrew):

brew tap acrotron/aye-chat
brew install aye-chat

Windows (Installer):

Download and run aye-chat-setup.exe

Aye Chat: The AI-powered terminal workspace

What it does

$ aye chat
> 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

No copy-pasting. No context switching. AI edits your files directly.

Why developers love it

  • Zero config - Automatically reads your project files (respects .gitignore)
  • Instant undo - restore command reverts any AI changes immediately
  • Real shell - Run git, pytest, even vim without leaving the chat
  • 100% local backups - Your code is safe, changes stored in .aye/
  • No prefixes - Just type. Commands run, everything else goes to AI

Instant undo with Aye Chat's Restore

Aye Chat's restore command provides an instant and reliable safety net for any changes made by the AI. Developers can forge ahead and experiment knowing that application restore is just one simple command away.

Restore offers fine-grained control:

  • restore <ordinal>: Lets users revert to a specific historical snapshot (e.g., 001). This is useful for stepping back through multiple AI interactions.
  • restore <ordinal> <file>: Allows restoring a specific file from a particular snapshot. This is incredibly powerful for selectively reverting changes without affecting other files that might have been correctly updated.

Restore works best when used alongside other commands:

  • history: to view available snapshots
  • diff: to compare current files with previous versions

These commands provide a comprehensive system for reviewing, managing, and reverting code changes, keeping you in control.

Quick examples

# In your project directory:
aye chat

> refactor this to use dependency injection
> pytest
> fix what broke  
> git commit -m "refactored DI"

Get started

  1. Install: pip install ayechat
  2. Start chatting: aye chat in any project folder

Get started - Windows Installer

For Windows users, the recommended way to install Aye Chat is with the official installer. It provides a standalone application that requires no manual setup.

Installation

  1. Download the latest aye-chat-setup.exe from the GitHub Releases page.
  2. Run the downloaded installer.
  3. During setup, it is highly recommended to keep the following options enabled:
    • Add the application directory to your PATH
    • Add 'Open Aye Chat here' to folder context menu

Usage

After installation, you can launch Aye Chat by:

  • Typing aye in any terminal.
  • Right-clicking a project folder and selecting Open Aye Chat here.

📚 Full command reference

Core Commands

Authentication

Does not require authentication

Starting a Session

aye chat                          # Start chat with auto-detected files
aye chat --root ./src             # Specify a different project root
aye chat --include "*.js,*.css"   # Manually specify which files to include

In-Chat Commands

Your input is handled in this order:

  1. Built-in Commands (like restore or model)
  2. Shell Commands (like ls -la or git status)
  3. AI Prompt (everything else)

Session & Model Control

  • new - Start a fresh chat session
  • model - Select a different AI model
  • verbose [on|off] - Toggle verbose output on or off
  • exit, quit, Ctrl+D - Exit the chat
  • help - Show available commands

Reviewing & Undoing AI Changes

  • restore, undo - Instantly undo the last set of changes made by AI
  • history - Show the history of changes made by AI
  • diff <file> - Compare current version against last change

Shell Commands

  • Run any command: ls -la, git status, docker ps
  • Interactive programs work: vim, nano, less, top
⚙️ Configuration & Privacy

Configuration

  • Aye Chat respects .gitignore and .ayeignore - private files are never touched
  • Change history and backups stored locally in .aye/ folder
  • Configure default model and preferences in ~/.ayecfg

Privacy & Security

  • All file backups are local only
  • API calls only include files you explicitly work with
  • No telemetry or usage tracking
  • Open source - audit the code yourself
🤖 AGENTS.md (repo instructions)

AGENTS.md inclusion

Aye Chat can automatically include AGENTS.md as extra system context for a repo — perfect for team conventions, architecture notes, and "how we do things here".

Discovery (first match wins):

  • ./.aye/AGENTS.md (highest precedence)
  • then walking up from the current directory: .aye/AGENTS.md or AGENTS.md

Tip: keep it short and actionable — it’s treated as instructions for the assistant.

See more details on https://agents.md/

🧩 Plugins & Extensions

Extensible via Plugins

The core experience is enhanced by plugins:

  • Shell execution plugin
  • Autocompletion plugin
  • Custom command plugins
  • Model provider plugins
🐧 NixOS/Nix Installation
# Run directly without installing
nix run github:acrotron/aye-chat

# Or install to your profile
nix profile install github:acrotron/aye-chat

Contributing

Aye Chat is open source! We welcome contributions.

License

MIT License - see LICENSE file

Disclaimer

review the DISCLAIMER before using this software.


Ready to code with AI without leaving your terminal?

pip install ayechat && aye chat

WikiDiscordGitHub

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ayechat_dev-0.45.1.20260424143547.tar.gz (387.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ayechat_dev-0.45.1.20260424143547-py3-none-any.whl (205.7 kB view details)

Uploaded Python 3

File details

Details for the file ayechat_dev-0.45.1.20260424143547.tar.gz.

File metadata

File hashes

Hashes for ayechat_dev-0.45.1.20260424143547.tar.gz
Algorithm Hash digest
SHA256 3b9bc027397e90a7ce33079e61072a89ec532eee2d13889c02d62939e80f23f9
MD5 9a56ba2adf6a9b9997eae33a90d55fc1
BLAKE2b-256 1de259e886790092d995c82a0f04204425520bb415e421d4069234fb5d7d92fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for ayechat_dev-0.45.1.20260424143547.tar.gz:

Publisher: python-publish-dev.yml on acrotron/aye-chat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ayechat_dev-0.45.1.20260424143547-py3-none-any.whl.

File metadata

File hashes

Hashes for ayechat_dev-0.45.1.20260424143547-py3-none-any.whl
Algorithm Hash digest
SHA256 de7d197dc3623992a0eb73e5630585f6206c9623c58a46986ac3bb5d112a6324
MD5 a06e6f7f3bd46cd7b29b3a08e46b4c9a
BLAKE2b-256 0f6c26c67668868142a877e06ecbb4e04d212fc0af1e12d4a95abac950dde76f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ayechat_dev-0.45.1.20260424143547-py3-none-any.whl:

Publisher: python-publish-dev.yml on acrotron/aye-chat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page