genie

module
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2025 License: MIT

README ΒΆ

🧞 Genie - Powerful AI for Your Command Line

Go Version Docker Beta

Transform your terminal into an AI-powered workspace. Born from a developer's need for control and transparency in AI assistance.

asciicast

πŸš€ Quick Start

Installation
macOS (Homebrew)
brew tap kcaldas/genie
brew install genie
Direct Download
# Download latest release
curl -L https://github.com/kcaldas/genie/releases/latest/download/genie_$(uname -s)_$(uname -m).tar.gz | tar xz
sudo mv genie /usr/local/bin/
Docker
docker run --rm -it ghcr.io/kcaldas/genie:latest
Build from Source
go install github.com/kcaldas/genie/cmd/genie@latest
Configuration

Get a free Gemini API key:

  1. Generate a key from Google AI Studio
  2. Set it as an environment variable:
export GEMINI_API_KEY="YOUR_API_KEY"
genie ask "hello world"              # CLI mode
git diff | genie ask "commit msg?"   # Unix pipes
genie                                # Interactive TUI mode

πŸ’‘ Tip: The Gemini API provides 100 free requests per day with Gemini 2.5 Pro. Upgrade to a paid plan for higher rate limits.

πŸ“– Full setup guide: docs/INSTALLATION.md

🎭 Personas

Genie supports different personas for specialized tasks:

# Use specific personas
genie --persona engineer ask "review this code"
genie --persona product-owner ask "plan this feature"

πŸ“– Learn more: docs/PERSONAS.md

πŸ’‘ Philosophy

Inspired by Lazygit, Claude Code, and Aider, and built for the Unix philosophy: composable, transparent, and adaptable.

Core beliefs:

  • Give you control - Understand what's happening, not just trust a black box, and is infinitely hackable
  • Integrate naturally - Work with your existing tools, don't replace them
  • Respect the terminal - Embrace the power and flexibility of the command line
  • Stay composable - Pipe, redirect, script, and automate freely

Whether you're coding, managing projects, taking notes, or automating workflows, Genie adapts to your needs.

πŸ“š Documentation

πŸ”— Ecosystem

πŸ™ Acknowledgments

Built with Google Gemini AI β€’ gocui β€’ GoReleaser


Made with ❀️ for developers who love the command line

Directories ΒΆ

Path Synopsis
cmd
cli
genie command
tui
internal
di
pkg
ai
ctx
mcp
persona
Package persona provides persona-based prompt management for Genie.
Package persona provides persona-based prompt management for Genie.
prompts
Package prompts provides prompt loading functionality for Genie.
Package prompts provides prompt loading functionality for Genie.

Jump to

Keyboard shortcuts

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