Skip to main content

An LLM agent from the comfort of your command line

Project description

Overview

q is a lightweight, flexible, multi-provider LLM-agent framework for the terminal.

I built this before Claude Code ever existed, and it remains useful to me for quick CLI interactions or prototyping multi-agent experiments. However, for most complex coding tasks, Claude Code is unquestionably superior.

Installation

Install using any pip-compatible package manager (e.g. pip, pipx, uv, etc.):

pipx install q-bot

Requires Python 3.12+.

CLI Usage

q uses a simple paradigm where each character from a-z is mapped to a single flag representing a command or option. This enables concise combinations of flags to achieve complex behavior.

Flag Reference

Flag Name Arg Description Type
-a agent [reserved for future use] Command
-b batch [reserved for future use]
-c code str generate code Command
-d directory - / str add a directory to context Option
-e explain - / str explain code or text Command
-f file str read input from file Option
-g
-h help - / str help message / help agent Command
-i image str generate/edit an image Command
-j json - output as JSON Option
-k api key str [reserved for future use] Option
-l load - / int list all / load session by id Command
-m model str set model and/or provider Option
-n
-o output str output file Option
-p
-q
-r rag - / str [reserved for future use] Command
-s shell - / str generate a shell command Command
-t text str generate text Command
-u user command str [reserved for future use] Command
-v verbose - debug logging Option
-w web search str search the web Command
-x execute - execute a shell command Option
-y
-z undo - / int undo exchanges (default 1) Option

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

q_bot-2.0.0.dev1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

q_bot-2.0.0.dev1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file q_bot-2.0.0.dev1.tar.gz.

File metadata

  • Download URL: q_bot-2.0.0.dev1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for q_bot-2.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 eacf630d94e3726bcbf63f03f90fb1494227f11357068352b7be70f6c440669e
MD5 7d912cddf40e0b1b8b307df5f348c46b
BLAKE2b-256 708b3f0ad068ab03559f89c3928aef929340d4a1d6e97c0dc8186b8ad19b34b2

See more details on using hashes here.

File details

Details for the file q_bot-2.0.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: q_bot-2.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for q_bot-2.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 03824fb7c06e8cd2800a2dab7cc7dc965c083ed354f5f9ae7d666924bfc01844
MD5 069e934b81cc6b598b212974bb0ee1be
BLAKE2b-256 85e7203a6cf4190b9daf1874b3c68f65da79ff660cb97c9c1b2cd40c84a207f9

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