# T-Zero
**Give your AI coding assistant only the code it actually needs — spend less, stay safe, and get clearer answers.**
*Free, open-source, and runs locally on your computer for Cursor, Claude, Windsurf, VS Code, Antigravity IDE, Cline, and Zed.*
**[Try Live (Hugging Face Space)](https://huggingface.co/spaces/toprakke4/tzero-token-reducer)** • **[PyPI (`tzero-mcp`)](https://pypi.org/project/tzero-mcp/)** • **[Windows Setup EXE](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/releases/download/v12.4.2/TZero-v12.4.2-Setup.exe)** • **[Windows MSIX](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/releases/download/v12.4.2/TZero-v12.4.2.msix)** • **[Benchmark Hub](https://tzero-indol.vercel.app)** • **[API Reference](https://tzero-docs.octri.dev)** • **[Privacy](PRIVACY.md)** • **[Türkçe](docs/README.tr.md)** • **[日本語](docs/README.ja.md)** • **[简体中文](docs/README.zh.md)**
[](https://pypi.org/project/tzero-mcp/)
[](https://www.npmjs.com/package/tzero-mcp)
[](https://marketplace.visualstudio.com/items?itemName=siber-akademi.tzero-vscode)
[](https://open-vsx.org/extension/siber-akademi/tzero-vscode)
[](https://www.advancedinstaller.com/)
[](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/actions/workflows/ci.yml)
[](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/stargazers)
[](LICENSE)
---
## What Is T-Zero? (Explained Simply)
Imagine asking a friend to fix one sentence on **page 42 of a 500-page book**. Instead of showing them page 42, you hand them the entire 500-page book every single time you ask a question. They would read slowly, get overwhelmed, and might even charge you by the page.
That is what normally happens when you use an AI coding assistant (like Cursor, Claude, Copilot, or Windsurf).
**T-Zero fixes that.** Before your editor sends your project to an AI, T-Zero sits quietly on your computer and prepares a clean package:
1. It keeps **the exact file you are editing** completely intact.
2. It turns the **other files in your project** into a short, tidy outline (just names and summaries — no clutter).
3. It checks for **accidentally pasted passwords or API keys** so sensitive info does not leave your computer.
### Why Use It? (Zero Jargon)
| Benefit | What it means for you |
| :--- | :--- |
| **Your AI limits last much longer** | Instead of feeding thousands of lines of noise to the AI, T-Zero cuts out 85–95% of extra text — saving your plan limits and API budget. |
| **Safer by default** | Scans your files locally for secrets (like API keys or database passwords) before anything reaches an AI model. |
| **Smarter, less confused AI** | With less clutter in front of it, the AI stays focused on your task and stops inventing functions that do not exist. |
| **100% free & runs on your machine** | Core code analysis and secret scanning happen locally on your own computer with no subscription or extra AI account. |
### How It Looks in Practice
```text
Without T-Zero:
You: "Fix the checkout button"
AI reads: 50 files in full (10,000+ lines) --> Slow, expensive, hits usage limits quickly
With T-Zero:
You: "Fix the checkout button"
AI reads: Checkout code in full + a tiny 1-page map of the rest --> Fast, accurate, minimal cost
```
### Get Started in 3 Easy Ways (Pick What Suits You)
1. **Just want to try it in your browser? (No installation)**
Open the **[Hugging Face Live Demo](https://huggingface.co/spaces/toprakke4/tzero-token-reducer)** or **[Web Benchmark Hub](https://tzero-indol.vercel.app)**, paste any code, and watch T-Zero shrink it instantly.
2. **Prefer a clickable installer or desktop app? (Windows)**
Download and run the **[Windows Setup Installer (`TZero-v12.4.2-Setup.exe`)](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/releases/download/v12.4.2/TZero-v12.4.2-Setup.exe)** or the **[Windows App Package (`TZero-v12.4.2.msix`)](https://github.com/toprakahmetaydogmus/TZeroAlgorithm/releases/download/v12.4.2/TZero-v12.4.2.msix)** (built with **[Advanced Installer](https://www.advancedinstaller.com/)**) — or launch the desktop studio anytime with `tzero-gui`.
3. **Already use Cursor, Claude, Windsurf, or VS Code? (2 commands)**
```bash
pip install --upgrade tzero-mcp
tzero init
```
`tzero init` automatically detects your installed AI code editor and connects T-Zero for you in one second.
*Stay updated anytime with SHA-256 verification:* run `tzero upgrade --yes` (or `npx -y tzero-mcp@latest` / `winget upgrade SiberAkademi.TZero`).
> ⭐ **If T-Zero helps you save AI limits or keeps your workflow cleaner, [star the repo on GitHub](https://github.com/toprakahmetaydogmus/TZeroAlgorithm)** — it helps more people find free, local developer tools.