Skip to content
K Kashif Ullah
← All projects
2025 Sole developer

AI Chatbot Terminal

A Flet-based desktop app that interprets natural-language requests, drafts a shell command, asks for confirmation on destructive operations, and runs it.

The problem

The shell is the most powerful tool on a developer’s machine — and the most intimidating one for newcomers. I wanted a guarded entry point: describe intent, see the command, then run it.

The approach

  • LangChain prompt builds the command from intent + environment context (OS, shell, cwd).
  • A classifier flags destructive actions (rm -rf, drop, force-push…) and forces an explicit confirmation step.
  • Flet renders a clean two-pane UI: chat on the left, live terminal on the right.

Outcome

  • Safe-by-default: every destructive command requires a typed confirmation.
  • Useful as both a learning aid and a productivity layer for one-off DevOps tasks.

Need something similar?

If this is the kind of problem you're working on, I can help.

Get in touch →