Skip to main content

A useful command-line agent help you work with your favorite tools

Project description

cliz

🤖 Hello human, my name is cliz (cli + z), A useful command-line agent help you work with your favorite tools!

Table of Contents

Features

  • 🚀 Lightweight & Fast: cliz is just 10M+ and run extremely fast.
  • 🌟 CLI Agent: cliz is a command-line agent, help you work with your favorite cli tools!
  • 📚 Chat History: cliz can remember chat history, and continue the conversation.
  • 🛡️ Secure: all tool-call requests need to be approved by user, We also has auto mode.

Enjoy your cliz!

Examples

Help me download video https://www.bilibili.com/video/BV1GJ411x7h7 to local folder videos/.

example

Fetch deepseek-v3 github homepage, and save to deepseek-v3.md.

example

Install

Step 1: install from pip:

pip install cliz

Step 2: make config file:

mkdir -p ~/.cliz
vim ~/.cliz/cliz.yaml

This is a template yaml, write your LLMs provider, and add any tools you like. This is my config:

auto: false # disable auto mode
chat_history: true # enable chat history
respond_language: "English" # you can switch language to "中文"
llm: # set your favorite LLMs
  base_url: "xxx"
  api_key: "xxx"
  model: "xxx"
tools: # add more tools you like!
  - name: "zstd"
    description: "Zstandard - Fast real-time compression algorithm"
    help_arg: "-h"
  - name: "rsync"
    description: "Rsync is a fast and extraordinarily versatile file copying tool for both remote and local file"
    help_arg: "-h"
  - name: "uv"
    description: "An extremely fast Python package and project manager, written in Rust"
    help_arg: "help"

Step 3: Run cliz!

cliz "build a operation system for me. :D"

Also run auto mode with --auto or set auto: true in config file:

cliz --auto "build a operation system for me. :D"

Roadmap

  • Add agent memory
  • Release to homebrew

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

cliz-0.1.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

cliz-0.1.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cliz-0.1.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for cliz-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7905e100467a20a9a500d049fbd54288933bf1350f4d37c6bcaa6ae661a6edab
MD5 1cbee610d365e5b7eda1bac20306c043
BLAKE2b-256 617555673c0d4115e33f6fcb2c65b654c31e295f219032f989cea0754bab4905

See more details on using hashes here.

File details

Details for the file cliz-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cliz-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for cliz-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 117ce88923dc043ddf7057ec0e90cef748ede8c8970b868beaf603fa9d63c3af
MD5 4f3a35987e5f488c7017b632e4349083
BLAKE2b-256 a9cf47448297ad28d3f28ba75f0f80686e27a3bfbbd77e47119f5c8f7b785eaa

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