Sign up: Designing Enterprise UI Directly on Production Code

What are best AI tools? Take the State of AI survey

Builder.io
Builder.io
Contact sales

Sign up: Designing Enterprise UI Directly on Production Code

What are best AI tools? Take the State of AI survey

Builder.io
Builder.io
< Back to blog

AI

AI Shell: Convert Natural Language Into Shell Commands

April 6, 2023

Written By Steve Sewell

Are you ever in your terminal and can't remember the syntax for something you need?

Well, now we can use AI to help.

Introducing AI Shell

With our latest project, AI Shell, you can just type what you want in plain English and generate a shell command with a human readable explanation of it.

For example: ai what is my IP address?

You will then get a generated shell command and a human readable explanation like below:

You will then have the options to run the command, revise it (give a prompt explaining in plain English how you’d like to modify the command), or cancel.

This can be useful for a wide variety of tasks, from modifying your filesystem, to working with git.

For instance, we can have AI help us remember how to recursively create a directory with ai make a new file at ./foo/bar/bax.txt

Here it will remind me that it’s the -p flag that I always forget I need.

We can even revise the commands too.

For instance, we can run ai fetch me a joke but then choose revise and ask for changes, like to specify that it’s a Chuck Norris joke that we want instead:

Inspiration

This project was inspired by the Github Copilot CLI.

I have been so eager to get access, and eventually just got impatient and built my own.

How it’s made

In short, anything you can do with ChatGPT you can easily do with OpenAI’s chat completion API.

The process is extremely simple. First, create an account with OpenAI and grab an API key.

Then, in any node.js project, you can install their Node.js library with:

Now you can generate prompts and get responses.

And that’s literally it. You can now send anything to ChatGPT over an API call, and get a reply, like:

With just that, you can transform a natural language ask into a bash prompt, and that’s precisely what we do in the source code to AI Shell.

Pretty cool right?

Imagine all the apps and tools you can build with such a simple yet powerful API…

About Me

Hi! I’m Steve, CEO of Builder.io. I built all of these AI features for us that you see above, so if you think it’s cool and want to follow other interesting stuff we make and write about, you may enjoy our newsletter.

Share

Twitter
LinkedIn
Facebook

Generate high quality code that uses your components & design tokens.

Try it nowGet a demo

Continue Reading
AI8 MIN
Subagents: When and How to Use Them
WRITTEN BY Alice Moore
February 3, 2026
AI9 MIN
Best LLMs for coding in 2026
WRITTEN BY Matt Abrams
January 28, 2026
AI8 MIN
Lovable Alternatives for 2026
WRITTEN BY Alice Moore
January 27, 2026

Product

Visual CMS

Theme Studio for Shopify

Sign up

Login

Featured Integrations

React

Angular

Next.js

Gatsby

Resources

User Guides

Developer Docs

Forum

Blog

Github

Get In Touch

Chat With Us

Twitter

Linkedin

Careers

© 2020 Builder.io, Inc.

Security

Privacy Policy

Terms of Service

Get the latest from Builder.io

By submitting, you agree to our Privacy Policy

  • Fusion

  • Publish

  • Product Updates

  • Design to Code

  • Headless CMS

    Multi-Brand CMS

  • Landing Pages

  • Web Apps

  • Prototypes

  • Marketing Sites

  • Headless Commerce

  • Documentation

  • Fusion Docs

  • Publish Docs

  • Figma AI to Production Code

  • AI Prototyping for Product Managers

  • Figma to Storybook

  • Figma to App Converter

  • Blog

  • Webinars

  • Guides

  • Case Studies

  • Community Forum

  • Partners

  • Affiliate Program

  • CMS Integrations

  • CMS Blueprints

  • Glossary

  • Figma to Code Guide

  • Headless CMS Guide

  • Headless Commerce Guide

  • Composable DXP Guide

  • About

  • News

  • Careers

  • Contact Sales

Security

Privacy Policy

SaaS Terms

Trust Center

Cookie Preferences

YouTube icon
Github icon
Blsky Icon
Twitter "X" icon
LinkedIn icon
Feed Icon