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.2.tar.gz (24.3 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.2-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypith_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 24.3 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.2.tar.gz
Algorithm Hash digest
SHA256 6a28390590fd9520a46b23dea0a8d87272aa846b3b5d1334e984a5abc67e12b3
MD5 2a3e37b941aaf253396b7170e62a3bc7
BLAKE2b-256 f68670173d99a3e4946660a1ef8a4dd53bfee89a12c356c7ec823be8363977b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypith_cli-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: pypith_cli-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f3b86b44ffb22ff0e5449940b650b54ab24db0deca8df24739e0f5ac4ff0347
MD5 2a566c820bc97a9fdb8a9a5542a76f0d
BLAKE2b-256 5cd6c84d3513aaf1cc139da53d51e3418327e4dd76705a7489d15d2e98d3c998

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypith_cli-0.1.2-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