gorilla-cli  by gorilla-llm

CLI tool using LLMs to generate commands

created 2 years ago
1,346 stars

Top 30.5% on sourcepulse

GitHubView on GitHub
Project Summary

Gorilla CLI is a command-line interface tool that translates natural language requests into executable shell commands, supporting approximately 1500 APIs across cloud providers, Kubernetes, Git, and common utilities. It aims to simplify complex CLI interactions for users by providing contextually relevant command suggestions, with explicit user approval required before execution.

How It Works

Gorilla CLI leverages multiple Large Language Models (LLMs), including its own Gorilla LLM, GPT-4, and Claude v1, to generate command candidates. It aggregates responses from these models, filters, sorts, and presents the most relevant options to the user. This multi-model approach aims to improve the accuracy and breadth of command suggestions.

Quick Start & Requirements

Highlighted Details

  • Supports ~1500 APIs including Kubernetes, AWS, GCP, Azure, GitHub, Conda, Curl, and Sed.
  • Prioritizes user control and confidentiality, never collecting command output (stdout).
  • Offers a history feature to revisit and re-execute previous commands.
  • Developed as a research prototype by UC Berkeley.

Maintenance & Community

  • Open to contributions via pull requests on GitHub.
  • Mentions appreciation for the questionary library for UI components.

Licensing & Compatibility

  • Licensed under the Apache 2.0 license.
  • Permissive license suitable for commercial use and integration with closed-source projects.

Limitations & Caveats

The project is described as a research prototype, which may imply potential for breaking changes or evolving functionality. Specific LLM model requirements or API keys for certain models are not detailed in the README.

Health Check
Last commit

1 year ago

Responsiveness

1 week

Pull Requests (30d)
1
Issues (30d)
0
Star History
19 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.