The invisible cognitive layer & local-first AI copilot for macOS, Linux, and Windows terminals.
4
stars
66
commits
Shell
primary language
Sep 1, 2026
updated
curl -fsSL https://raw.githubusercontent.com/Luizhcrs/powerai/main/install.sh | bash
irm https://raw.githubusercontent.com/Luizhcrs/powerai/main/install.ps1 | iex
The installer is self-healing: missing dependencies (curl, jq — Zero Python required) and the recommended local Ollama model (qwen2.5-coder:1.5b) are configured automatically.
| Command | Description |
|---|---|
ai <query> | Natural language terminal query |
? <query> | Fast shorthand alias |
ai commit | Generate Conventional Commit from git diff with confirmation |
ai explain <cmd> | Break down and explain flags of any CLI command |
ai update | Self-update to latest release from GitHub |
ai version | Check installed and remote version |
ai language <pt|en|es> | Change assistant language |
ai config | Display current configuration |
ai uninstall | Completely uninstall PowerAI |
# Network & Processes
? list all open TCP ports listening for connections
? kill all hung node processes
# Files & Logs
? find all .log files larger than 100mb
? search for ERROR in the last 500 lines of app.log
# Git Operations
? undo last commit while keeping local changes
? clean local branches that were deleted on remote
ai <query> or ? <query> in your shell.Enter to run, Esc to cancel).{
"Mode": "Auto",
"LocalType": "Ollama",
"LocalEndpoint": "http://127.0.0.1:5151/v1",
"LocalApiKey": "",
"LocalModel": "qwen2.5-coder:1.5b",
"OllamaEndpoint": "http://localhost:11434",
"CloudEndpoint": "https://api.openai.com/v1",
"CloudApiKey": "",
"CloudModel": "gpt-4o-mini",
"Language": "pt-BR",
"AutoSuggestOnErrors": true,
"AutoHealingRetries": 2,
"TimeoutSeconds": 25
}
tests/PowerAI.Tests/tests/test_harness.shRun locally:
./tests/test_harness.sh
PowerAI is distributed under the PolyForm Noncommercial License 1.0.0.
Author: Luiz Henrique (@Luizhcrs)
Repository: github.com/Luizhcrs/powerai
66 commits
Shell
47.1%
PowerShell
29.4%
C#
22.5%
The invisible cognitive layer & local-first AI copilot for macOS, Linux, and Windows terminals.
4
stars
66
commits
Shell
primary language
Sep 1, 2026
updated
curl -fsSL https://raw.githubusercontent.com/Luizhcrs/powerai/main/install.sh | bash
irm https://raw.githubusercontent.com/Luizhcrs/powerai/main/install.ps1 | iex
The installer is self-healing: missing dependencies (curl, jq — Zero Python required) and the recommended local Ollama model (qwen2.5-coder:1.5b) are configured automatically.
| Command | Description |
|---|---|
ai <query> | Natural language terminal query |
? <query> | Fast shorthand alias |
ai commit | Generate Conventional Commit from git diff with confirmation |
ai explain <cmd> | Break down and explain flags of any CLI command |
ai update | Self-update to latest release from GitHub |
ai version | Check installed and remote version |
ai language <pt|en|es> | Change assistant language |
ai config | Display current configuration |
ai uninstall | Completely uninstall PowerAI |
# Network & Processes
? list all open TCP ports listening for connections
? kill all hung node processes
# Files & Logs
? find all .log files larger than 100mb
? search for ERROR in the last 500 lines of app.log
# Git Operations
? undo last commit while keeping local changes
? clean local branches that were deleted on remote
ai <query> or ? <query> in your shell.Enter to run, Esc to cancel).{
"Mode": "Auto",
"LocalType": "Ollama",
"LocalEndpoint": "http://127.0.0.1:5151/v1",
"LocalApiKey": "",
"LocalModel": "qwen2.5-coder:1.5b",
"OllamaEndpoint": "http://localhost:11434",
"CloudEndpoint": "https://api.openai.com/v1",
"CloudApiKey": "",
"CloudModel": "gpt-4o-mini",
"Language": "pt-BR",
"AutoSuggestOnErrors": true,
"AutoHealingRetries": 2,
"TimeoutSeconds": 25
}
tests/PowerAI.Tests/tests/test_harness.shRun locally:
./tests/test_harness.sh
PowerAI is distributed under the PolyForm Noncommercial License 1.0.0.
Author: Luiz Henrique (@Luizhcrs)
Repository: github.com/Luizhcrs/powerai
66 commits
Shell
47.1%
PowerShell
29.4%
C#
22.5%