Skip to main content

Use LLM to generate and execute commands in your shell

Project description

llm-council

Get a council of LLMs to advise consult for you!

Installation

This plugin should be installed in the same environment as LLM.

llm install llm-council

council

Usage

I usually run every query on all LLMs just to see what they have to say. And I love the llm library. You can now assemble your own council of advisors by simply running llm council like this:

llm council 'whats the california traffic law around double white lines?'

By default, it uses openai and anthropic. But you can specify the providers by:

llm council -p openai -p anthropic 'tell me a joke'

The models themselves are fixed as of now with:

  • openai: gpt-4o
  • anthropic: clause-3-5-sonnet-latest

Press Q or Ctrl + C to exit.

The system prompt

This is the prompt used by this tool:

Keep your answers brief and to the point.

Feel free to modify it by passing the --system arg.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-council
uv venv
source .venv/bin/activate

uv pip install -r pyproject.toml

Now install the plugin with:

llm install -e .

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

llm_council-0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

llm_council-0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file llm_council-0.1.tar.gz.

File metadata

  • Download URL: llm_council-0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for llm_council-0.1.tar.gz
Algorithm Hash digest
SHA256 85097eaf062863f199f9dfb9bc1e1d2aa50e96bc5d97f1f894f5708089963291
MD5 67d29a919415f2f8cd3375f8d2723e64
BLAKE2b-256 3173186166926ec9f03cc8474a39219f2b38427e705e99312a760b53a1da2da8

See more details on using hashes here.

File details

Details for the file llm_council-0.1-py3-none-any.whl.

File metadata

  • Download URL: llm_council-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for llm_council-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 afd5c48756c63d9f92153b44dd62b52ec9de699b2b187243e50bb142032c985c
MD5 928a7bdd9276ca8069b0e01f3497823a
BLAKE2b-256 2069ca204d6d4a8c2c6a57d1e7228fddb4dd3f5003b36d9a04fe6ffcbed6d7ea

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