No description
- Rust 99.4%
- Python 0.4%
- Nix 0.2%
| artifacts | ||
| crates | ||
| docs | ||
| main | ||
| support/scripts | ||
| .dockerignore | ||
| .editorconfig | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
token-reducer
Output-reduction tools for LLM agents, packaged as the ya Rust workspace.
Background
This repository exists to make noisy command output easier for LLM agents to consume without losing the original data. It currently centers on the ya workspace, which combines token reduction, archival, and download helpers behind one CLI.
Install
From the repository root:
nix build
./result/bin/ya --help
For local development:
nix develop
cargo build -p ya
cargo run -p ya -- --help
Usage
From the repository root:
cargo run -p ya -- reduce-tokens run -- cargo test
cargo run -p ya -- reduce-tokens bash 'cargo test --workspace'
cargo run -p ya -- ar --help
cargo run -p ya -- download --help
More detail:
- docs/tools/ — tool docs, comparisons, and architecture notes
- docs/tools/reduce-tokens/ —
reduce-tokensCLI and behavior - docs/contributing/ — setup, build, test, style, and commit guides
Contributing
See docs/contributing/.
License
GPL-3.0 © 2026 kp2pml30