Metadata-Version: 2.4
Name: longcat-ai
Version: 1.1.2
Summary: Autonomous AI Bot Developer (Auto Code Edit & Create)
Home-page: https://github.com/BotMaster/longcat-ai
Author: BotMaster
Project-URL: Bug Tracker, https://github.com/BotMaster/longcat-ai/issues
Project-URL: Telegram Support, https://t.me/WISEMONEYMAKER
Keywords: autonomous,agent,ai,coding,developer,automation
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Build Tools
Classifier: Intended Audience :: Developers
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Longcat AI 🤖🚀

**Longcat AI** is a powerful, autonomous AI-driven coding assistant and web automation tool. It doesn't just give you advice; it **actually writes and edits code directly in your local environment.**

Powered by the **LongCat-2.0-Preview** model, this tool acts as your personal Junior Developer who can read your files, understand your project structure, and perform autonomous updates.

---

## 🔥 Key Features

- 🧠 **Autonomous Coding:** Request a new script, and Longcat will create the file and write the code for you.
- 🛠️ **AI Code Editing:** Ask to fix bugs or add features to existing files. Longcat reads the file, identifies the logic, and applies the changes automatically.
- 📂 **Context Awareness:** Automatically scans your current directory to understand which scripts and files are available.
- 🤖 **Smart File Management:** Uses specialized markers (`[WRITE:]` and `[READ:]`) to interact with your filesystem without manual copy-pasting.
- 🗣️ **Hinglish Support:** Communicates in friendly Hinglish (Hindi + English), making it easy to use for everyone.

---

## 🚀 Installation

Install the package globally via pip:

```bash
pip install longcat-ai
```

---

## 🛠️ Usage

### 1. Launch the Tool
Open your terminal in any project folder and type:
```bash
longcat
```

### 2. Initial Setup
On your first run, the tool will ask for your **Longcat API Key**. You can get your key from [api.longcat.chat](https://api.longcat.chat). The key is stored securely in your home directory (`~/.longcat_config.json`).

### 3. Example Commands
- **Create:** *"Bhai, ek Python script bana de jo Bitcoin ki price track kare."* (Creates a new file)
- **Edit:** *"Mera api.sh check kar aur usme error fix kar."* (Reads and edits existing file)
- **Analyze:** *"Is folder mein kaun-kaun si scripts hain?"* (Lists files with AI analysis)
- **Debug:** *"Ye code error de raha hai, isko solve kar do."* (Fixes bugs in provided or read code)

---

## 🏗️ How it Works
Longcat AI uses a specialized communication protocol:
- **READ:** It can request to read any file in your directory to gain context.
- **WRITE:** It can generate or update files directly. You will see a notification like `✨ Autonomous Update: Maine ye files update kar di hain: filename.py` when it makes changes.

---

## ☕ Support / Buy Me a Coffee

If this tool saved you time or helped you build something cool, feel free to support the developer!

💬 **Telegram:** [@WISEMONEYMAKER](https://t.me/WISEMONEYMAKER)

---

## 📄 License
MIT License - Feel free to use and extend!
