cd /news/ai-agents/your-coding-agent-cli-may-approve-it… · home › topics › ai-agents › article
[ARTICLE · art-158815] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Your coding agent CLI may approve its own tool calls by default

A developer building Styx, a multi-agent coding tool, found that coding agent CLIs differ sharply in their default tool-call approval behavior: Goose's default mode auto-approves tool calls unless a wrapper explicitly sets the approval mode per process, while Amp keeps approvals inside its own terminal because its streaming output offers no documented external approval channel. The developer also found Goose's chat-only mode disables all tools including file reads, and recommends running any new agent CLI once in an empty directory to observe its default tool-call behavior before wiring it up.

by read1 min views2 publishedOct 27, 2026

I added Goose and Amp to a tool that runs several coding agents. The most useful thing I learned wasn't about the protocol. It was the defaults.

Goose's default mode approves tool calls automatically. If you start it through a wrapper that doesn't set a mode, it runs commands without asking anyone. So I set the mode per process instead of relying on whatever is in the user's Goose config. Default, accept-edits and auto all use Goose's approval mode, so tool calls ask. Only the permission mode literally called bypass picks automatic approval, and none of it touches the user's own Goose configuration.

The second surprise was Goose's chat-only mode. It disables all tools, reads included. A plan mode you'd expect to still read your files doesn't, so mapping 'plan' to it means the agent can only talk.

Amp went the other way. Its streaming output has no documented way to answer an approval from outside, so approvals stay in its own terminal. Its plan and don't-ask modes reject every tool, reads included, and only bypass asks for automatic approval.

What I do with any new agent CLI now: before wiring up anything else, run it once in an empty directory and see what it does with a tool call by default. Two agents gave me two very different answers, and neither was in the first page of the docs.

Which of your agent CLIs would run a command without asking, if you started it the way you usually do? I'm building Styx, where this came from.

── more in #ai-agents 4 stories · sorted by recency
── more on @goose 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/your-coding-agent-cl…] indexed:0 read:1min 2026-10-27 · —