A command-line tool that converts natural language queries into shell commands using Claude API.
Aido takes your plain English request and generates a shell command to accomplish the task. You can then run it, copy it, or refine it further through conversation.
gum- for interactive UIjq- for JSON processingcurl- for API calls- An Anthropic API key
-
Install dependencies:
brew install gum jq
-
Set your API key:
export ANTHROPIC_API_KEY="your-api-key-here"
-
Add an alias for your shell:
- ZSH:
alias aido='noglob ./aido.sh' - Bash:
alias aido='./aido.sh' - Fish:
alias aido './aido.sh'
- ZSH:
3a. Setup .zshrc:
# comments arent evaluated as commands in interactive shell
setopt interactive_comments
alias aido='noglob command aido/aido.sh# Direct query
aido find all python files modified today
# Interactive mode (opens text editor)
aidoAfter getting a response:
- Enter - Run the command
- Up/Down Arrow - Run/Copy/Regenerate selection
- Input - Continue the conversation with additional details