Viby Agent
Project description
viby
English | 中文
A multifunctional command-line tool for interacting with large language models.
Features
- Ask questions and get AI-generated answers
- Generate shell commands and explanations
- Process piped input (e.g., content from
git diff) - Support for OpenAI-compatible API interfaces
Installation
# Recommended: install with uv
uv pip install -e .
# Or install with pip
pip install -e .
Usage Examples
Basic Question
yb "Write a quicksort in python"
# -> Sure! Here is a quicksort algorithm implemented in **Python**:
Process Piped Content
git diff | yb "Generate a commit message"
# -> Added information to the README
yb "What is this project about?" < README.md
# -> This project is about...
Generate Shell Command
yb -s "How many lines of python code did I write?"
# -> find . -type f -name "*.py" | xargs wc -l
# -> [r]run, [e]edit, [y]yank, [q]quit: r
Configuration
Viby reads configuration from ~/.config/viby/config.json. You can set the model and parameters here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
viby-0.0.0.tar.gz
(26.6 kB
view details)
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
viby-0.0.0-py3-none-any.whl
(30.0 kB
view details)
File details
Details for the file viby-0.0.0.tar.gz.
File metadata
- Download URL: viby-0.0.0.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
359a7107021c22290484aae149eb0ebfe538cdfead54917598592f1bfac9cba9
|
|
| MD5 |
bf10c8df875a4ab0104a3dd197072a20
|
|
| BLAKE2b-256 |
901da486a3b05a35debc5b6e1702e059d51757da3b50b1f2d0671b15a7cb838c
|
File details
Details for the file viby-0.0.0-py3-none-any.whl.
File metadata
- Download URL: viby-0.0.0-py3-none-any.whl
- Upload date:
- Size: 30.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fc739dfc95f2fae23073234d182840d248a638e8faa2d26e64ef513df4e2587
|
|
| MD5 |
5f9bd6d9562fa6c3119cbb10a7d162ac
|
|
| BLAKE2b-256 |
73a6df9a7de4ba16c3434eaa9ce3f090f3d5fce4449c66b055e304d5b2785645
|