Padwan CLI
Interactive CLI/TUI for padwan-llm.
[!NOTE] This is a playground for experimenting with
padwan-llmfeatures (streaming, agents, MCP, thinking tokens, batch jobs, realtime voice) — not a production-grade tool. Expect rough edges and breaking changes.
Quick start
export OPENAI_API_KEY=...
uvx padwan-cli
# then /help for commands
Install
pip install padwan-cli
Local Development
uv sync --group dev
uv run padwan-cli
One-shot Mode
uvx padwan-cli "Hello" -m gpt-4o-mini
# attach files (images/audio/text, routed by type)
uvx padwan-cli "What's in this recording?" -m gpt-4o-audio-preview -f clip.mp3
Voice Mode
Real-time speech-to-speech chat (needs the PortAudio system lib, e.g. libportaudio2):
uvx --from "padwan-cli[voice]" padwan-talk
Tracing
Pass --trace <backend> (on the one-shot, chat send, and talk commands) to instrument all LLM calls with padwan-llm's OTel GenAI telemetry:
# Langfuse, using the standard LANGFUSE_* env vars
export LANGFUSE_PUBLIC_KEY=... LANGFUSE_SECRET_KEY=... LANGFUSE_BASE_URL=...
uvx --from "padwan-cli[langfuse]" padwan-cli "Hello" --trace langfuse
# any OTLP collector, using the standard OTEL_EXPORTER_OTLP_* env vars
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 \
uvx --from "padwan-cli[otel]" padwan-cli "Hello" --trace otlp
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file padwan_cli-0.6.0.tar.gz.
File metadata
- Download URL: padwan_cli-0.6.0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10739c3ad67cec3fc9de8c4bfaec58dd7f68226be9efdd5d69b33c65fea9cb08
|
|
| MD5 |
b1223f1ac7feb4c043e609ecbe238c30
|
|
| BLAKE2b-256 |
9458480e0497b37aa6f7971c75be144a5f8671f471d9c48c263d978ad3bd6e75
|
File details
Details for the file padwan_cli-0.6.0-py3-none-any.whl.
File metadata
- Download URL: padwan_cli-0.6.0-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1ef29a41a95ba5b8b35d4b872d43cc2a7cd0474bd87f302e2c3de9f1372560f
|
|
| MD5 |
0d2378fc13ec5bfdfb8ba0587e0e895f
|
|
| BLAKE2b-256 |
4de2b5071da88397d3ad6c4c560908f65afacbcd9558018363b2af667cc223ad
|