cd /news/ai-agents/set-agy-instead-of-gemini-as-agent-o… · home › topics › ai-agents › article
[ARTICLE · art-134468] src=gist.github.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Set agy instead of gemini as agent - OMARCHY

A developer published a shell script for the Omarchy Linux setup that swaps the Gemini CLI for a tool called agy as the default coding agent. The script uninstalls gemini via mise, installs agy, and writes a compatibility shim at ~/.local/bin/gemini that translates legacy flags such as --yolo into agy's --dangerously-skip-permissions before exec'ing the new binary. It also sets the default agent by writing "gemini" to ~/.config/omarchy/defaults/agent.

by read1 min views21 publishedAug 28, 2026

| | #!/bin/bash | | | set -e | | | cd | | | mise uninstall gemini | | | mise install agy | | | cat << 'EOF' > ~/.local/bin/gemini | | | #!/bin/bash | | | # Shim translating legacy gemini CLI flags to agy |

|  | args=() | 
|  | while (($#)); do | 

| | case "$1" in |

|  | --yolo) | 
|  | args+=(--dangerously-skip-permissions) | 

| | shift | | | ;; | | | *) | | | args+=("$1") | | | shift | | | ;; | | | esac | | | done | | | exec agy "${args[@]}" | | | EOF | | | chmod +x ~/.local/bin/gemini | | | mkdir -p ~/.config/omarchy/defaults | | | echo "gemini" > ~/.config/omarchy/defaults/agent |

── more in #ai-agents 4 stories · sorted by recency
── more on @omarchy 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/set-agy-instead-of-g…] indexed:0 read:1min 2026-08-28 · —