Th

Think, CL tool that makes AI your command line copilot (written in Go)

Hacker News

Think, CL tool that makes AI your command line copilot (written in Go)

Hi HN, I'm thrilled to share with you think, a command-line tool that I developed while diving back into the programming scene. For the past few years, my focus had shifted from hands-on programming to managerial roles, my last one being at Affirm (I started Affirm's Polish office). However, I recently left my job to revisit my passion for coding and see if I could still write code that works. Not to mention that with what is currently going on in AI if you are a developer this probably the best possible time for a sabbatical in human history :) My first attempt was with LangChain, but I found it too abstract and elusive for my liking. I knew that Python was the go-to for serious ML research, but as I was primarily dealing with API calls, I wasn't bound to it. So I picked Go for its simplicity, performance, and to spare myself from the notorious Python dependency issues. Over the last few weeks, I've been hacking on Agency (github.com/ryszard/agency), a framework for writing agents backed by AI. Agency provides an idiomatic interface to various LLM providers (currently OpenAI works and Hugging Face is experimental/brokenish). It simplifies the creation and management of Language Learning Model-based agents, aiding the implementation of autonomous agent systems. It also offers features for production deployment, like caching, retrying, or rate limiting. The idea was to allow managing how data flows between different AI agents without sacrificing my sanity. With Agency as my foundation, I was able to write think over the course of a weekend. Most of that time was spent figuring out the right UX (and how to use the readline library, whose documentation is... sparse). Today, I'm presenting you with think – a utility that uses OpenAI's AI models to assist in crafting shell commands. Simply describe what you want to do in your own words, and think generates the relevant shell commands.

Share card

Actual performance

14points
2comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, model · Missing: mac, macos, cursor
93%93% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
92%92% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
58%58% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
44%44% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface, calls · Missing: plus, platform, intuitive
34%34% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Id
Identicon library + command line tool written in Golang48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Identicon library + command line tool written in Golang

Hacker News3
Ne
Neofetch – A command-line system information tool written in bash 3.2+58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Neofetch – A command-line system information tool written in bash 3.2+

Hacker News7
Te
Teleport: Simple command line app tutorial written in Haskell66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Teleport: Simple command line app tutorial written in Haskell

Hacker News76
OC
OCaml Bindings to Brotli and Command Line Tool41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OCaml Bindings to Brotli and Command Line Tool

Hacker News2
Hy
Hyperfine – a command-line benchmarking tool56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hyperfine – a command-line benchmarking tool

Hacker News126
Hy
Hyperfine – a command-line benchmarking tool56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hyperfine – a command-line benchmarking tool

Hacker News96
Ar
Argsearch – A composable tool for sweeping over command-line arguments56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Argsearch – A composable tool for sweeping over command-line arguments

Hacker News6
Sl
Slap - A command line tool for pasting49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Slap - A command line tool for pasting

Hacker News3
A
A Command-Line Sentence Tokenizer Written in Golang52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Command-Line Sentence Tokenizer Written in Golang

Hacker News6
Ts
Tsv2csv Clojure Powered Command Line Tool55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tsv2csv Clojure Powered Command Line Tool

Hacker News2