Skip to main content

vexel-cli

Deterministic context pruning for LLM agent loops — zero API dependencies.

Install

uv tool install vexel-cli

Commands

Command Description
vexel prune [file] Prune text from file or stdin
vexel wrap -- <cmd> Run a command and prune its output
vexel hook-post-tool PostToolUse hook (reads JSON from stdin)
vexel install [--target cursor|claude|all] Install IDE configs
vexel stats Show cumulative token savings

Examples

# Prune a noisy build log
vexel prune build.log

# JSON telemetry
cat output.txt | vexel prune --json

# Wrap a noisy test run so the IDE gets clean output
vexel wrap -- pytest -x --tb=long

# Install Vexel hooks into your project
vexel install
vexel install --target cursor
vexel install --global --target claude

How it works

Vexel's pruning is fully deterministic (no LLM calls):

  1. Collapse consecutive duplicate lines
  2. Deduplicate repeated stack-trace frames
  3. Preserve error headers, exit codes, file paths, line numbers
  4. Trim to max lines from the tail, keeping important head lines
  5. Redact secrets (API keys, tokens, passwords)

For conversation arrays (prune_messages):

  • KEEP all user/system/developer messages and anything with errors, paths, or constraints
  • COMPRESS long tool/assistant blocks to their first sentence
  • DROP exact duplicates (content or tool-signature match)

Metadata

Release files for vexel-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vexel-cli 0.1.0
File Size Uploaded Provenance Actions
vexel_cli-0.1.0.tar.gz 10.5 kB With provenance Details for vexel_cli-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vexel-cli 0.1.0
File Interpreter ABI Platform Actions
vexel_cli-0.1.0-py3-none-any.whl Python 3 none any Details for vexel_cli-0.1.0-py3-none-any.whl

Total release size: 19.6 kB

Release files / vexel_cli-0.1.0.tar.gz

Download URL vexel_cli-0.1.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a4b1ae54c9a76be07ccb2ae7e265bc24a23df21a55a471f6ce165141a1eeccf2
BLAKE2b-256 checksum
How to use checksums
0651dfa85632ce0395f522e0377e362bcc06a9b8663cb683fd64e0f65173b5c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

Release files / vexel_cli-0.1.0-py3-none-any.whl

Download URL vexel_cli-0.1.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f7795590e8e77acae171ae430df451d28cfc7f2f0dec73aa6def135679bb144
BLAKE2b-256 checksum
How to use checksums
bf59eab0925268d00a69576600fe53e3c1fb61ad2fe548cffb70a16d049c4ffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

Security for vexel-cli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vexel_cli-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page