AIToday

Chatnik brings LLM conversations into Unix shell as native building blocks, letting developers pipe AI chat into existing workflows instead of using separate apps

Hacker NewsApr 25, 20262 min read
Chatnik brings LLM conversations into Unix shell as native building blocks, letting developers pipe AI chat into existing workflows instead of using separate apps

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. A Raku package called Chatnik was released that adds CLI (command-line interface) scripts to invoke and maintain conversations with multiple AI language models. Unlike ChatGPT or Claude's web interfaces, Chatnik stores chat history as OS files and integrates directly into Unix shell pipelines, making it composable with grep, awk, sed, and other standard tools.

  2. Instead of locking users into a single app's interaction loop, Chatnik treats LLM calls as Unix primitives—meaning a user can pipe the output of one command (like 'fortune') into an AI prompt, then pipe the result into another tool (like a diagram renderer) in a single shell command. Prompts can be loaded from JSON files and preprocessed using a custom language.

  3. For software engineers and system administrators who already build automation with shell scripts and pipelines, this eliminates the friction of context-switching to separate AI chat apps. A developer can now embed AI-powered copy-editing, code generation, or data transformation directly into existing CI/CD pipelines or daily shell workflows—the same way they already use grep or curl.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →