I built a simple CLI helper integrating with GPT-3
Hi all! I don’t think CHATGPT has gone unnoticed by anyone here on Hackernews. I’ve myself played around a bit with it, but felt it was annoying to always have to log into their GUI to ask the questions. To scratch my own itch and at the same time learn more about how to write my own command line interface, I created 'askai'. 'askai' is a simple CLI integration with OpenAI’s GPT3 models. I’ve primarily used it to get quick answers to technical questions, like: > askai "How to mock user input when writing a Python pytest test?" > askai "How do I remove a conda environment?" As I've found it…
In plain words
askai is a command-line tool that lets users query OpenAI's GPT-3 models directly from the terminal without accessing a web interface. Designed for developers and technical users seeking quick answers to programming questions, it allows users to type queries and receive responses in their terminal. The tool is configurable for different models and parameters, installable via PyPI, and available on GitHub.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
Hi all! I don’t think CHATGPT has gone unnoticed by anyone here on Hackernews. I’ve myself played around a bit with it, but felt it was annoying to always have to log into their GUI to ask the questions. To scratch my own itch and at the same time learn more about how to write my own command line interface, I created 'askai'. 'askai' is a simple CLI integration with OpenAI’s GPT3 models. I’ve primarily used it to get quick answers to technical questions, like: > askai "How to mock user input when writing a Python pytest test?" > askai "How do I remove a conda environment?" As I've found it quite helpful, I decided to spend some time to package it in a nicer way to share it with all of you. I've also uploaded it to PyPI to simplify the installation process. 'askai' enables you to: * Ask questions and get the answers straight into your terminal * Configure which model and model parameters you want to use * Overwrite saved configurations when you ask questions Currently, it only supports OpenAI’s models, but my plan is to integrate more endpoints as soon as new capable NLP endpoints are popping up. I hope some of you find it useful :)
More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 17d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 18d ago · company-app.joinastute.com


Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…
AI · 26d ago · cactuscompute.com


Launched alongside, December 2022
the whole month →
- OC
Life & fun · 2022 · obsidian.md
- PS
Commerce · 2022 · mprimi.github.io

Use generative AI to create future-facing videos
AI · 2022 · studio.d-id.com

- IW
Dev tools · 2022 · sqlfordevs.com