magi-cli

command module
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: BSD-2-Clause Imports: 1 Imported by: 0

README

magi

A powerful AI-assisted CLI for developers that enhances productivity

Latest Release Downloads Stars Forks Issues
Downloads


Installation | Documentation | Contributing


Demo

magi-cli animation

magi-cli is a command-line interface tool designed to enhance programmer productivity by leveraging AI capabilities. Built with Go, it provides a suite of commands that help automate and streamline common programming tasks.

Key Features

  • AI-assisted code generation
  • Smart code analysis
  • Project scaffolding
  • Documentation assistance
  • Code review suggestions
  • And more...

Installation

Windows

go install github.com/MagdielCAS/magi-cli@latest

macOS

curl -sSL https://raw.githubusercontent.com/MagdielCAS/magi-cli/main/scripts/install.sh | bash

Linux

curl -sSL https://raw.githubusercontent.com/MagdielCAS/magi-cli/main/scripts/install.sh | bash

Quick Start

  1. Set up your OpenAI API key:
magi config set api-key your-api-key
  1. Verify installation:
magi --version

Usage

magi [command] [flags]

For detailed documentation of all available commands:

magi --help

Configuration

magi uses a configuration file located at $HOME/.magi/config.yaml. You can modify settings using:

magi config [key] [value]

You can also create a local configuration file for project-specific settings:

magi config init

Support

Acknowledgments

  • Built with Cobra
  • Configuration managed by Viper
  • Powered by OpenAI compatible APIs

Documentation

Overview

*

  • Copyright © 2025 Magdiel Campelo <github.com/MagdielCAS/magi-cli>
  • This file is part of the magi-cli

*

Directories

Path Synopsis
*
*
internal
*
*
cli/pr
Package pr hosts reusable helpers for the pull request workflows that power the `magi pr` command.
Package pr hosts reusable helpers for the pull request workflows that power the `magi pr` command.
pkg
agent
Package agent provides a simple agent orchestration framework.
Package agent provides a simple agent orchestration framework.
git
llm
*
*

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL