Metadata-Version: 2.4
Name: ayechat
Version: 0.14.0
Summary: Aye Chat: Terminal-first AI Code Generator
Author-email: "Acrotron, Inc." <info@acrotron.com>
License: MIT
Project-URL: Homepage, https://ayechat.ai
Project-URL: Repository, https://github.com/acrotron/aye-chat
Project-URL: Issues, https://github.com/acrotron/aye-chat/issues
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer[all]>=0.9.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: keyring>=24.0.0
Requires-Dist: prompt-toolkit>=3.0.0
Requires-Dist: pathspec>=0.12.1
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Requires-Dist: coverage>=7.0; extra == "dev"
Dynamic: license-file

[![Pylint](https://github.com/acrotron/aye-chat/actions/workflows/pylint.yml/badge.svg)](https://github.com/acrotron/aye-chat/actions/workflows/pylint.yml)
[![CodeQL](https://github.com/acrotron/aye-chat/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/acrotron/aye-chat/actions/workflows/github-code-scanning/codeql)
[![Dependabot Updates](https://github.com/acrotron/aye-chat/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/acrotron/aye-chat/actions/workflows/dependabot/dependabot-updates)

# Aye Chat: AI-First development in your terminal

A terminal-native AI assistant that understands your project, edits your files safely, and helps you build faster — without ever leaving your flow.

![Aye Chat demo](https://welcome.ayechat.ai/images/main-flow.gif)

## Conceptual Summary

- 🧭 **Core Philosophy**: Flow first, trust by design, reversibility built-in.
- ⚙️ **Design Model**: Optimistic editing with automatic safety nets.
- 🔒 **Privacy Model**: Developer-defined boundaries (.gitignore/.ayeignore).
- 🧩 **Architecture**: Modular open-source core with plugin-driven extensibility.
- 🖥️ **Interface Model**: Unified CLI + Web experience with conversation continuity.
- 💡 **Goal**: Natural-language-driven coding in the developer’s native environment (the terminal).

## Key Features

- **Terminal-native experience** — built for developers who live in the CLI.  
- **Full-file generation and modification** — no copy-pasting between tools.  
- **Automatic snapshots, diff, and restore** — iterate safely, without Git overhead.  
- **Smart file awareness** — Aye Chat includes relevant project files automatically.  
- **Plugin architecture** — extend Aye Chat with your own commands.  


## Quick Start

1. **Install the tool**:
   ```bash
   pip install ayechat
   ```

2. **Authenticate**:
   ```bash
   aye auth login
   ```
   Visit https://ayechat.ai to obtain your personal access token.

3. **Start Interactive Chat**:
   ```bash
   aye chat
   ```

## Core Commands
### Authentication
```bash
aye auth login    # Configure your token
aye auth logout   # Remove stored credentials
```

### Interactive Chat
```bash
aye chat                          # Start chat with auto-detected files
aye chat --root ./src             # Specify project root directory
aye chat --inclue "*.js"          # Work with JavaScript files
aye chat --include "*.py,*.js"    # Work with multiple file types
```

In chat mode, you can use these built-in commands:
- `new` - Start a new chat.
  - **Tip**: Start a new chat when you move on to a new feature. Also, start a new chat if LLM starts going in circles.
- `history` - Show snapshot history
- `diff <file> [snapshot]` - Show diff of file with the latest snapshot, or a specified snapshot
- `restore [snapshot_id] [file]` - Restore all files from the latest snapshot or a specified snapshot; optionally for a specific file
- `keep [N]` - Keep only N most recent snapshots (10 by default)
- `model` - Select a different model. Selection will persist between sessions.
- `exit`, `quit`, `Ctrl+D` - Exit the chat session
- `help` - Show available commands

Any other command is treated as a shell command or AI prompt depending on context. Note that for the shell commands, you do not need to add '/' or any other special indicators: just type your command (e.g., "ls -la"). Some shell commands cannot be executed and will return an error or fail silently: these include those that alter terminal view (e.g., text editors) or attempt to switch shell context (e.g., "sudo su - ").

Except for Aye Chat own commands, which are matched and executed first, for each prompt, the tool attempts to find a shell command for the first token, and if successful - execute it, if not - the prompt is treated as a message to AI.

## Philosophy

**Aye Chat** reimagines coding as a conversation, not a sequence of commands.

Built for the terminal, it trusts AI to act — not wait for approval, while every change remains safe, transparent, and reversible.

By removing friction from creation, Aye Chat turns natural language into direct action, enabling developers to build software at the speed of thought.

## Configuration & Privacy

- Aye Chat respects `.gitignore` and `.ayeignore` — no unwanted file access.  
- Snapshots are stored locally in `.aye/` folder where `aye chat` command is executed.

## 🤝 Contributing

Aye Chat is open-source — we welcome contributions!
- Fork the repo and submit PRs.
- Open issues for bugs or ideas.
- Join our discussions on Discord [AyeChat](https://discord.gg/ZexraQYH77) server.




### 🔥 Ready to code with AI — without leaving your terminal?
👉 [Get started at ayechat.ai](https://ayechat.ai)





