Urgent.News

What's breaking now, across hundreds of outlets.

AI

12 Claude Code and Codex CLI Flags for Running AI Agents From Scripts on Your Mac (2026)

If your agent scripts still pass --full-auto to codex exec , they're out of date. OpenAI's non-interactive mode docs now say the flag is no longer supported. Both big coding agents have quietly grown a solid set of flags for running without a chat window: in a shell alias, a git hook, a cron job or CI. Here are the 12 I'd learn first, all checked against the official docs this month. Claude Code…

As you read through the 12 Claude Code and Codex CLI flags for running AI agents from scripts on your Mac, keep in mind that some of these flags have already found their way into your shell aliases. The remaining flags offer powerful features that could streamline your workflows, but they may require some additional setup or configuration. Take a moment to review each flag and consider which ones would be most beneficial to incorporate into your scripts.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

Show DEV: Twistavo, AI character swap for real videos

Twistavo is an AI video studio for character swap. It runs in the browser on phone or computer, with nothing to install. No mobile app or public API yet.

  • Twistavo is an AI-powered video editing platform with Scene Recast feature.
  • Three pricing plans: Mini at $3.99/month, Standard at $39.99/month, and Agency at $499/month.

More from Wednesday 25 November →