TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

27 pointsby wskishabout 2 years ago
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&amp;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.<p>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.<p>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!<p>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.<p>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.<p>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.

9 comments

amy-whyabout 2 years ago
Add a command to pair using pair. I just chatted with pair to add a &#x2F;cd command. It starts with explaining the the code I was loading (pair.py) which was helpful. It helped me to write the code, can show the diff of changes.<p>I tested the code and find an issue, chatting with it and it fixed it. I like the work flow of chatting, and asking questions related to it while coding.
ilakshabout 2 years ago
Were you able to get the diff to work with GPT 3.5? It kept giving me incorrect line numbers. Not sure if I was doing something wrong or if I need GPT-4 for that.
评论 #35256264 未加载
评论 #35255660 未加载
euroderfabout 2 years ago
When the A.I.s take over, you will be treated kindly, for you will tutor them in how to improve themselves.
amy-whyabout 2 years ago
Here is a video for live action: <a href="https:&#x2F;&#x2F;s3.amazonaws.com&#x2F;appforest_uf&#x2F;f1679452821813x808636559172451300&#x2F;pair2.gif" rel="nofollow">https:&#x2F;&#x2F;s3.amazonaws.com&#x2F;appforest_uf&#x2F;f1679452821813x8086365...</a>
评论 #35256491 未加载
amy-whyabout 2 years ago
Join Jiggy Discord for discussions&#x2F;feedbacks&#x2F;feature requests... <a href="https:&#x2F;&#x2F;discord.gg&#x2F;yNNvXuRqjH" rel="nofollow">https:&#x2F;&#x2F;discord.gg&#x2F;yNNvXuRqjH</a>
ilakshabout 2 years ago
I have a hosted system that is so what similar at <a href="https:&#x2F;&#x2F;aidev.codes" rel="nofollow">https:&#x2F;&#x2F;aidev.codes</a>. It will create, edit, host files&#x2F;web pages.
amy-whyabout 2 years ago
We really appreciate any feedback, feature requests and contributions! Let&#x27;s use Pair to pair programming together!
评论 #35257513 未加载
mackatsolabout 2 years ago
Can you give us a walk through of a session?<p>While I think I understand what is going on, seeing it in action will make more sense. Thanks!
评论 #35252922 未加载
amy-whyabout 2 years ago
An immediate benefit is that you can leverage the power of GPT-4 now for coding!