amelius 1 day ago

Huh, isn't this already built-in, in most chat UIs?

2
bkyan 1 day ago

This is for running locally in the terminal (or in WSL2 if you are on Windows).

Here is an example session from a similar script that I <cough>ChatGPT</cough> wrote in Perl, illustrating the same concept:

$ ~/agentloop.pl

YOUR PROMPT:

Is Python installed on this system? If so, which version?

BASH STDIN:

python --version 2>&1 || python3 --version 2>&1

BASH STDOUT:

/bin/bash: python: command not found

Python 3.6.7

LLM RESPONSE:

Python is installed on this system. The version available is Python 3.6.7. However, it looks like the python executable (python) is not directly available, but python3 (or a direct version path) exists and resolves to Python 3.6.7.

If you need to use Python, you should use python3 as the command.

cheema33 1 day ago

Which chat UI lets me use my local tools? Like git, find, pnpm, curl...?

insin 1 day ago

Has anybody written an Electron app yet which injects tools into existing chat UIs, letting you you expose whatever you want from your machine to them via Node? I was planning to create something like that for the BigCo internal chat UI I work on.

energy123 1 day ago

Someone wrote a browser extension that does that for Gemini web chat

NitpickLawyer 1 day ago

Careful, this might break the ToS on some products. At least for those that offer all you can prompt in a browser vs. API.