Skip to main content

Viby Agent

Project description

viby

GitHub Repo Python Version License: GPL v3 UV

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

pip install viby

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


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.1.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

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

viby-0.0.1-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file viby-0.0.1.tar.gz.

File metadata

  • Download URL: viby-0.0.1.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for viby-0.0.1.tar.gz
Algorithm Hash digest
SHA256 06dd11b6743ecc96a5675fcbb36d4cd34d7b302f85a0e3ea69a5d9f5ba2957c2
MD5 70ba0369d6a36d89b55f77e2a285f43e
BLAKE2b-256 f2c4856b82f60c36d6d6b97cf2c7a945d9997de7ddb23aaceaf5f07f04ed4d2e

See more details on using hashes here.

File details

Details for the file viby-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: viby-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for viby-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be5ba2c2bb0ba2fb72b1927798374f3b894b98ef1f2a337535b7f58a1f9c1418
MD5 9644aaaf560e8441fd8d9be2440db724
BLAKE2b-256 7d5b40b87732861fdeec196dd859112c3b7d4a0aff93747fe4127e7d8f06c443

See more details on using hashes here.

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