ZarirDev/tai — reverse-engineered prompt

Reverse engineered prompt

Build me a small Go app called tai that works like a simple terminal AI helper. I want to run it from the command line, ask it a question or give it a prompt, and have it send that to Groq and print back a clean response in the terminal.

Please make it feel easy to use for someone who just clones the repo and wants it working fast. Use an environment file for the API key, include a sensible example config, and make the basic commands clear. If there is already some structure started in cmd, pkg, and groq, keep building on that instead of reinventing it.

I would also like basic error handling for missing keys, bad requests, and network issues, plus a couple of simple tests so the core behavior is not fragile. If it makes sense, add a short README with setup and example usage since there is not much documentation yet. You can look up current Groq API details online if you need to.

Want more depth? Deep Reverse