shell plugin for zsh & bash

Talk to
your shell

Lacy Shell is a ZSH and Bash plugin for people who already live in a terminal. It reads each line you type and decides where it goes: shell commands execute, questions go to the AI agent you already use. No prefix, no mode switching.

$ curl -fsSL https://lacy.sh/install | bash

Not another AI CLI. Lacy is the layer between your shell and every AI tool you already use.

Green $ = shell. Magenta ? = AI.
>ls -lashell
drwxr-xr-x 12 user staff 384 Feb 3 09:21 .
>what files are hereagent
You have 12 files including package.json, src/, ...
>git statusshell
>fix the build error in src/index.tsagent
>cd .. && npm testshell
>make sure the tests passreroute
No rule to make target 'sure' → @ make sure the tests pass (Tab to send)

works with your tools

Already using an AI CLI? Lacy routes to it. No extra auth, no API keys. Pick your agent:

lash run -c "query"
recommended
claude
claude -p "query"
Claude Code
opencode
opencode run -c "query"
gemini
gemini --resume -p "query"
Google
codex
codex exec resume --last "query"
OpenAI
custom
your-command "query"
anything

how it works

You type.
Lacy decides.

Lacy draws one small mark in front of what you type: a green $ when it will run, a magenta ? when it will go to your agent. Your PS1 is never touched, so p10k and starship keep working. The current mode sits on the right prompt. Commands run locally, questions go to your agent. Works on your laptop, on a VPS over SSH, anywhere you have a shell. Toggle between auto, shell-only, and agent-only with Ctrl+Space.

Zero footprint

Nothing changes about your existing shell. Same config, same aliases, same workflow. Lacy just watches and routes.

Runs anywhere

Local terminal, remote server, SSH session. If you have ZSH or Bash, Lacy works. No GUI, no account, and nothing listening outside your own machine.

Stays local

Lacy runs on your machine. Your commands and queries never leave it unless you send them to your agent. Anonymous install, update, uninstall and first-load events, off with DO_NOT_TRACK=1. MIT licensed, open source.

Stop context-switching.
Start shipping.