Jettison CLI Tool Root (jettison/cli.py)

jettison · jettison/cli.py · python · Apache-2.0
cli, ai, lang:python, tag:tokens, tag:optimization

Root command-line interface for Jettison, helping agents manage and optimize context tokens. Reuse to audit and compress tool outputs or agent instructions.

# Source: https://github.com/jettison-ai/jettison | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""Jettison CLI root. Commands: audit, wrap, unwrap, savings, share."""

from __future__ import annotations

import click

from jettison._version import __version__

CLI_CONTEXT_SETTINGS = {"help_option_names": ["--help", "-h"]}


@click.group(context_settings=CLI_CONTEXT_SETTINGS)
@click.version_option(__version__, "--version", "-v", prog_name="jettison")
def main() -> None:
    """Jettison — dump the context your agent never uses.

    \b
    One command cuts tokens across MCP tools, agent skills, project
    instructions, tool outputs and conversation history — with verified
    ans

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key