Skip to main content

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

Supported models/providers

The models themselves are fixed as of now with:

  • openai: gpt-4o
  • anthropic: clause-3.5-sonnet
  • google: gemini-1.5-flash-latest

The necessary llm plugins are already installed. But you still need to set the keys

llm keys set openai
llm keys set claude
llm keys set gemini

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'

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 .

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.3.tar.gz (4.0 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.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_council-0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 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.3.tar.gz
Algorithm Hash digest
SHA256 ac19699927432cdc297ada10f124082a3b45a5660aa7b6aa4409d393100406cd
MD5 fda63b9daca5e8e27c9d7007c841d43b
BLAKE2b-256 ae277757ef6d22394088bf17491299d7c65831300586b15e2b58d67777d7b1a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llm_council-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 80779eff9251cbef8f133021a6fd14846b518c77978559f26553f2cc3fd6c504
MD5 d8942d7b1537cfca9ef168dcf89ccf74
BLAKE2b-256 e8ef830875ffab11f2e9e85d4cc24f94d4642cc4d50dd26a906a6a68c6037b13

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page