Pa

Pair: Open Tool for Coding with GPTs, Built by Coding with GPTs

Hacker News

Pair: Open Tool for Coding with GPTs, Built by Coding with GPTs

Github Copilot is a great tool for leveraging GPTs while coding, but I find that it is too “open loop” for more complex tasks that require Q&A, feedback to guide it in a particular direction, iteration on code execution errors, etc. There is a large class of tasks that are better accomplished in an iterative, stateful chat-like interface. I have been experimenting with a local command line chat interface to GPT-4 and my mind was blown once again a few days ago when I copied documentation for a pretty involved API into the model context and managed to chat-guide GPT-4 to implement the API in under 30 minutes, complete with a ridiculous amount of unit test coverage. This involved a lot of manual copy and pasting back and forth and other friction points that could be removed by a streamlined REPL interface optimized for code interactions. It occurred to me that it would be fun to build such a tool, and as the ultimate act of dogfooding, try to build it with GPT! So PAIR is the starting point here. You can see a recent commit message has a log of my interactions with the model that produced that commit. Next step is to add better mechanisms to manage the model input context (e.g. make it easy for the model to see the latest version of a source file when needed) followed by mechanisms for allowing the model to suggest changes via diffs that are quickly reviewed and accepted by the human in the loop before being applied to the file and tested. I would love to hear from others who have experimented with GPT pair programming in a chat-style interface and any feedback you might have on your experience with it.

Share card

Actual performance

27points
16comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, context, tasks · Missing: mac, agents, macos
97%97% 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 · Missing: supports, reddit linkedin, podcasting
76%76% 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
66%66% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface · Missing: plus, platform, intuitive
48%48% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
33%33% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat · Missing: web3, crypto, cryptocurrency
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Co
Coding WebIDE53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coding WebIDE

Hacker News5
Co
Coding with girls53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coding with girls

Hacker News2
Co
Coding Monkey53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coding Monkey

Hacker News15
Th
The 2017 NESdev coding competition34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The 2017 NESdev coding competition

Hacker News2
gi
gitdown - prevents you from coding drunk53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

gitdown - prevents you from coding drunk

Hacker News60
Go
Golang Coding Experiment39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Golang Coding Experiment

Hacker News3
Ja
Java Coding Contest39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Java Coding Contest

Hacker News1
Co
Coding Scriptures55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coding Scriptures

Hacker News3
Ro
Rosetta Stone of Coding53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rosetta Stone of Coding

Hacker News7
I
I built a recreational coding website for all ages57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built a recreational coding website for all ages

Hacker News5