🐜 Ant — High-ratio lossless compressor + Agent Mode that saves 70–90% AI tokens on code repos
Project description
🐜 Ant v0.3.0
High-ratio lossless compressor + Agent Mode that saves 70–90% tokens when feeding repos to AI coding tools.
pip install antcompress[agent]
Commands
ant compress <path>→ tiny .ant file (95–99% smaller)ant decompress <file.ant>→ restore exact originalant pack-ai <folder>→ Agent Mode (JSON for IDEs or MD for phone)ant unpack-ai <edited.md>→ AI changes → new .ant
Quick Start
ant pack-ai . --stdout --model claude
Phone Workflow (no Termux)
ant pack-ai my-repo/- Send
my-repo.ai.mdto phone. - Paste into Claude/Grok/ChatGPT.
- Save AI reply as
edited.md. - Send back →
ant unpack-ai edited.md→ant decompress updated.ant
Agent Mode in IDEs
Cursor / Continue.dev
Add to ~/.continue/config.json:
"context": [{
"provider": "command",
"params": {
"command": "ant pack-ai . --format json --model claude --max-tokens 120000 --stdout",
"name": "ant-repo"
}
}]
Type @ant-repo in chat.
Aider
aider --context-cmd "ant pack-ai . --format json --model claude --max-tokens 128000 --stdout"
Google Antigravity
Add as a custom MCP tool.
Made with ❤️ by Okediya Ayobami Oluwaseunfunmi
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file antcompress-0.3.0.tar.gz.
File metadata
- Download URL: antcompress-0.3.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
520e8309d8b96ba598c74b794508a6d09f36f58758a82c03321c3a47572f341e
|
|
| MD5 |
623e91f5aeeea862f5d8f6134e9d6c75
|
|
| BLAKE2b-256 |
2f42f030e35e7b559ddcb9193c27c631df42aa1abe496f1cb8e19c41dd078238
|
File details
Details for the file antcompress-0.3.0-py3-none-any.whl.
File metadata
- Download URL: antcompress-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd4765a4fc7f7bf5c5422cd4dacc72cdeb40ca215ec4a7c9c49b0b29eab62070
|
|
| MD5 |
9bf6f3b36ddcabd1582c524b1a6fc971
|
|
| BLAKE2b-256 |
4134faa69031047ea946188ddf93c017d8500953df126efc9303f49ac3ec208f
|