Skip to main content

Wrap any CLI with agent-friendly progressive discovery

Project description

pypith-cli

Wrapper CLI that turns existing tools into agent-friendly experiences.

  • Capture help text, analyze it, and emit Pith schemas
  • Generate Bash/PowerShell/CMD wrappers
  • Optional LLM providers (Anthropic, OpenAI, Ollama) with heuristic fallback

Installation

pip install pypith-cli

# With LLM providers
pip install pypith-cli[anthropic]
pip install pypith-cli[openai]
pip install pypith-cli[ollama]

Quick Start

# Configure LLM provider (optional)
pith init --provider anthropic

# Wrap your tools
pith wrap kubectl terraform docker

# Activate in shell
eval "$(pith activate)"

# Now they're agent-friendly
kubectl                    # Shows progressive discovery tiers

Commands

Command Description
pith init Configure LLM provider and settings
pith wrap <tool> Wrap a CLI with progressive discovery
pith unwrap <tool> Remove wrapper
pith list List all wrapped tools
pith refresh <tool> Re-analyze after tool upgrade
pith activate Print PATH activation command
pith find <query> Semantic search across tools
pith export <tool> Export schema for sharing
pith import <file> Import pre-made schema

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypith_cli-0.1.1.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypith_cli-0.1.1-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file pypith_cli-0.1.1.tar.gz.

File metadata

  • Download URL: pypith_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypith_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4e7bdac3afef61399e54dcfcec9d280331c55b5e31ed80bfd48c7b430e096540
MD5 01b48c47c3df781d042ca3fcee54c92d
BLAKE2b-256 d955ec90beda30db9104643b8e33d6b30d6e5a8f331d57afc0b653b9f49e00a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypith_cli-0.1.1.tar.gz:

Publisher: release.yml on ThomasRohde/pith

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pypith_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pypith_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pypith_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c47b80270998f2013a29e8bce7ff34db6eba476e05120a6cb3bdd2307764436d
MD5 ccd899a3be8bd5bfdcc58e95a45eaf78
BLAKE2b-256 173dfa312d3350813d9b77f4f044380a8230727e230b31d41f40b8b15e7cc647

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypith_cli-0.1.1-py3-none-any.whl:

Publisher: release.yml on ThomasRohde/pith

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page