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.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.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_council-0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4d3bfc3f8bb080bfa19dd4a2f59ca6b43dcb062f0cb6bd246aa8d0b810b0ede1
MD5 543f1b6d3f1d0979f3ff015421d7c59c
BLAKE2b-256 f05d97a99f03169ba6317587f804daf1479a49d41032e0529f1470b998a31819

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llm_council-0.1.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a55bbe9bc05583765f4d71a259a0c61178139c801396ac9f91830e2c16df1b3a
MD5 54ba5dc6fbf4678ec6489de50a76e87a
BLAKE2b-256 fa58c693f05086b6fa3099f04831da605588757c406387bcb7823cdd563e9b69

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