cd /news/ai-agents/show-hn-clam-type-plain-english-in-b… · home › topics › ai-agents › article
[ARTICLE · art-177398] src=duy.run ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Clam – Type plain English in Bash and an agent does it, no prefix

Developer dh1011 released Clam, a single static Go binary that routes plain-English requests typed at a Bash, zsh, PowerShell, Vim or Neovim prompt to an AI agent without a prefix or separate chat mode. Clam works with a built-in agent over any OpenAI-compatible API or with existing tools including Codex, Claude Code, OpenCode and pi, and requires confirmation with a `y` before any file write or command execution; it installs via a curl script that verifies the binary's SHA-256 checksum and runs on Linux, macOS, Windows and FreeBSD.

key takeaway

Clam puts an agent behind the normal shell prompt with no prefix, keeps commands out of the agent's context, and gates every file write or command execution behind a `y` confirmation.

read2 min views2 publishedNov 27, 2026
Show HN: Clam – Type plain English in Bash and an agent does it, no prefix
Image: source

right from your shell_

Use your LLM or coding agent from the same prompt you run commands in. Ask it something, and it answers right in your terminal. Your commands still run as usual, and nothing changes without a y.

~/weather-cli$ ls

~/weather-cli$ what does this project do?

~/weather-cli$ add a help option to the cli

~/weather-cli$ git diff --stat

~/weather-cli$ node index.js --help

~/weather-cli$

SYNOPSIS #

clam init bash | zsh | pwsh****clam [on | off | reset]** clam auto** [on | off]any request for the agent

DESCRIPTION #

Puts an AI agent one Enter away in Bash, zsh, PowerShell and Vim, without getting in the way of the shell: commands run exactly as they would without clam, and there is no separate chat window or mode to switch into. Requests go to the agent, which can read your project; anything that writes a file or runs a command asks first. Use the built-in agent with any OpenAI-compatible API, or one you already have: Codex, Claude Code, OpenCode, pi, or any command. One static binary for Linux, macOS, Windows and FreeBSD.

INSTALL #

$ curl -fsSL https://raw.githubusercontent.com/dh1011/clam/main/install.sh | sh
$ export OPENAI_API_KEY=sk-...
$ echo 'eval "$(clam init bash)"' >> ~/.bashrc

The script picks the right binary for your OS and CPU, checks its SHA-256 checksum and installs it to ~/.local/bin. No runtime to install. For zsh, use clam init zsh in ~/.zshrc; for PowerShell, download the Windows .exe from the latest release and add clam init pwsh | Out-String | Invoke-Expression to $PROFILE. To build from source, run make with Go 1.24+.

PLATFORMS #

Shells: Bash, zsh, PowerShell (with PSReadLine), Vim and Neovim.Systems: Linux (amd64, arm64, armv7, 386), macOS (Intel, Apple silicon), Windows (amd64, arm64), FreeBSD (amd64, arm64).Agents: built-in (OpenAI-compatible), Codex, Claude Code, OpenCode, pi, or any command.

HOW IT WORKS #

The check runs locally and gives up after a second, so the prompt never waits on the network. Commands never reach the agent.

── more in #ai-agents 4 stories · sorted by recency
── more on @clam 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/show-hn-clam-type-pl…] indexed:0 read:2min 2026-11-27 · —