personal lab / renos.tk archive

~/renjfk $ open /artifacts/tash

artifact / active

tash

AI-powered fish shell assistant; type naturally, get commands

Go CLI fish shell middleware with a Bubble Tea TUI. Agentic pipeline with tools for shell history search, Zellij screen capture, conversation memory, and multi-step planning; intercepts unknown commands via fish_command_not_found, queries any OpenAI-compatible endpoint, and places AI-suggested commands into the shell buffer for review. Single binary, zero shell startup overhead.

created
11/03/2026
updated
17/05/2026

> notes

renjfk/tash [stars: 3]

If you frequently use the terminal, fish shell, and especially Zellij, tash may be relevant. Otherwise, this is probably not for you.

Meet tash: Terminal Assistant Shell.

What it is

tash is a lightweight AI middleware for fish shell. You type what you want in natural language, and if fish does not recognize it, tash catches the input, asks an AI, and drops the suggested command directly into your command line buffer.

You still review the command before running it. It does not blindly execute generated shell commands for you.

Why I built it this way

I wanted natural-language help in the terminal without turning the shell into a slow, heavy, always-on assistant. tash keeps the normal shell path fast and only steps in when fish cannot parse what you typed as a command.

What it does

  • Remembers context across sessions.
  • Validates suggested commands against the actual PATH.
  • Handles multi-step tasks with interactive approval.
  • Ships as a single binary.
  • Adds zero shell startup cost.
  • Works with any OpenAI-compatible API.

The core idea is simple: type naturally, get a command back, review it, then decide whether to run it.