AIToday
Large Language ModelsAI Coding AssistantsHacker NewsPublished: Jun 20, 2026, 06:00 JST1 min read

slash-agent brings LLM coding help directly to your terminal

slash-agent brings LLM coding help directly to your terminal

3 Key Points

  1. What happened

    slash-agent is a lightweight shell integration that lets you type /agent in Bash to invoke an LLM (via Ollama, OpenAI, or Azure OpenAI) to diagnose errors, edit files, and run commands. It captures your recent terminal history or tmux scrollback automatically, executes proposed commands in an interactive pseudo-terminal where you can confirm, edit, or refuse each action, and syncs directory changes and environment variables back to your parent shell when done.

  2. Why it matters

    Most AI coding tools run in isolated subshells and cannot modify your current working directory or environment. slash-agent solves this by using a state synchronization protocol so the agent's changes (cd, export) carry back into your active session—keeping you in your terminal without breaking workflow. It consumes zero CPU or memory when not in use (no daemons or background processes), and supports both private local models (Ollama) and cloud services.

  3. What to watch

    Installation is a single curl command; the tool supports Bash, Zsh, Ksh, and Fish, plus WSL2 on Windows. You can preview agent actions with --dry-run, auto-confirm safe tasks with --yes, or steer each command interactively by typing y/n/e/c at a confirmation prompt. Critical commands (rm -rf, sudo) are not auto-confirmed by default to prevent accidental damage.

Ask the AI about this article →

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • Visko raises $10M, launches live AI video model OrbisSiliconANGLE AI · 2h ago
  • Runway unveils Solaris, an AI that generates app interfaces in real timeTHE DECODER · 2h ago
  • Google AI Search flags Facebook users as dangerTHE DECODER · 2h ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleTrump blocks Anthropic's Fable model in U.S