Skip to main content

Autonomous AI Bot Developer (Auto Code Edit & Create)

Project description

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:

pip install longcat-ai

🛠️ Usage

1. Launch the Tool

Open your terminal in any project folder and type:

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. 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


📄 License

MIT License - Feel free to use and extend!

Project details


Download files

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

Source Distribution

longcat_ai-1.1.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

longcat_ai-1.1.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file longcat_ai-1.1.2.tar.gz.

File metadata

  • Download URL: longcat_ai-1.1.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for longcat_ai-1.1.2.tar.gz
Algorithm Hash digest
SHA256 9e7b401dbf10766291f4d34e41ce4deefd87fb90ccc0d2cce197cdc74cb67556
MD5 6c851f48bcb89662692a683435001871
BLAKE2b-256 7c5ff84312865ea33a8fac1391f19fd215982ed0221075ecbd6c9d513fc29ac0

See more details on using hashes here.

File details

Details for the file longcat_ai-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: longcat_ai-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for longcat_ai-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e740ee197fc563c6dceac4a2bef248c01cdc3f6ed97fcb30e027c092d5d41176
MD5 e6ee4360355fc14123096541cd41940c
BLAKE2b-256 5b2b2f1d065bd88ab097531958f0fc4c37e80bdd2c2acd755b488d4f43059166

See more details on using hashes here.

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