clio  by gptscript-ai

CLI tool for AI-assisted DevOps via command-line programs

Created 1 year ago
281 stars

Top 92.7% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Clio is an AI-powered CLI copilot designed to assist users with DevOps tasks across various cloud platforms and services. It targets developers and operations engineers seeking to streamline command-line interactions with tools like kubectl, aws, az, gcloud, and gh, offering an interactive and safe way to manage infrastructure and workflows.

How It Works

Clio leverages OpenAI's capabilities to interpret natural language commands and translate them into executable CLI operations. It operates by invoking specialized "agents," which are essentially GPTScripts that define how to interact with specific tools or services. This agent-based architecture allows for easy extensibility, enabling users to create custom agents for new tools or workflows without modifying Clio's core code. The system prioritizes safety by requiring user confirmation before executing any potentially impactful commands.

Quick Start & Requirements

  • Installation:
    • macOS/Linux: brew install gptscript-ai/tap/clio
    • Windows: winget install gptscript-ai.clio
    • Manual: git clone https://github.com/gptscript-ai/clio.git && cd clio && make build
  • Authentication: Requires OpenAI API key (via environment variables) or GitHub authentication.
  • Dependencies: Access to relevant CLIs (kubectl, aws, az, gcloud, doctl, exo, eksctl, gh) for the desired integrations.
  • Docs: https://clio.gptscript.ai/

Highlighted Details

  • Supports Kubernetes, AWS, Azure, GCP, DigitalOcean, Exoscale, and GitHub integrations.
  • Extensible via custom GPTScripts placed in user-specific agent directories.
  • Prioritizes safety with explicit user confirmation for command execution.
  • Provides examples for creating custom agents, including adding context tools for richer interactions.

Maintenance & Community

  • Project maintained by gptscript-ai.
  • Community links not explicitly provided in the README.

Licensing & Compatibility

  • License: Apache License 2.0.
  • Compatibility: Permissive license suitable for commercial use and integration with closed-source projects.

Limitations & Caveats

The effectiveness of Clio is dependent on the user having the necessary CLIs installed and configured for the target services. Custom agent creation requires understanding GPTScript syntax and structure.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
4 stars in the last 30 days

Explore Similar Projects

Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Addy Osmani Addy Osmani(Head of Chrome Developer Experience at Google), and
23 more.

goose by block

0.8%
20k
Open-source AI agent for automating complex engineering tasks
Created 1 year ago
Updated 20 hours ago
Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

composio by ComposioHQ

0.1%
26k
Toolset for AI agent integrations via function calling
Created 1 year ago
Updated 12 hours ago
Feedback? Help us improve.