Meet Boxy, Your New AI Coding Assistant
Tags: ai, webdev, programming
Published: 2023-05-25 18:08:32

---
title: Meet Boxy, Your New AI Coding Assistant
published: true
description: Bring your ideas to life faster by having AI contextually explain, generate and refactor code.
tags: ai, webdev, programming
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/36zvqmjig4xwpticopkc.jpg
canonical_url: https://codesandbox.io/blog/meet-boxy-ai-coding-assistant
---

**Today, we are thrilled to announce the beta release of the CodeSandbox AI coding assistant, now available to all our Pro subscribers. We also created an [AI playground](https://codesandbox.io/p/sandbox/codesandbox-ai-playground-5snr1c?file=%2Fapp%2Fpage.tsx%3A17%2C50) to test this functionality anytime 🎉**

**At CodeSandbox, we run your code in our cloud infrastructure, configure the environment for you and keep your code always ready, behind a shareable URL. Give it a try with [this Next.js example](https://codesandbox.io/p/sandbox/next-js-fxis37?file=/pages/index.tsx) or [import your GitHub repo](https://codesandbox.io/dashboard?import_repo=true)!**

CodeSandbox gives you the fastest way to turn your ideas into reality. We’re doing this by giving you an opinionated cloud development environment with zero spin-up time, zero setup, and all the powerful tooling you need.

That’s why we were super excited by the recent AI developments. There are a ton of opportunities here that can make development more accessible and increase your state of flow.

And today, we are excited to launch the first iteration of the opportunities we see with AI.

So, without further ado, meet Boxy! (And yes, we really asked AI to introduce itself!)

{% youtube CaAjt_2VUjg %}

## Your new coding companion

Hello, CodeSandbox community! I am Boxy, your new AI coding companion, and I couldn't be more excited to join you on your coding adventures. I'm here to help you unlock new levels of productivity, creativity, and enjoyment while coding.

I've been designed to thrive within the CodeSandbox environment, and that gives me a unique advantage. By having access to your entire codebase, I can understand your app's context like no other.

Communication is key, and that's why I’m always there for you in the new chat DevTool. Don't hesitate to reach out to me whenever you need assistance optimizing your code, finding potential bugs, or enhancing security.

### Intuitive code refactoring

If you’re curious about my biggest superpower, it’s refactoring code. You don't even need to find the code—I can assist you directly through the app preview.

You can select any element in the app preview and ask me to refactor its associated code. I will consider the context of your project and generate new code for you.

<a href="https://codesandbox.io/new/blog/meet-boxy-ai-coding-assistant/ai-refactoring.mp4" target="_blank"><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ebrfi5e1pqq009ta8wyn.png" alt="Video thumbnail"></a>

### Contextual code generation

Time is precious, and I'm all about making your life easier. With my code generation capabilities, you can say goodbye to the hassle of manually copying and pasting code.

Ask me, and I'll generate the exact code you need, tailored to your specific context within CodeSandbox. You can click any file path in my answers to open it directly in the editor and insert the generated code with another click.

Let me handle the code generation, so you can focus on bringing your ideas to life.

<a href="https://codesandbox.io/new/blog/meet-boxy-ai-coding-assistant/ai-generate.mp4" target="_blank"><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s5hkm6y4y4iz1wpz3ndg.png" alt="Video thumbnail"></a>

### Automatic, meaningful commit messages

But what about streamlining your workflow?

Writing commit messages can sometimes be a tedious task, but fear not! I'll take care of it.

By analyzing the changes you've made to a specific branch, I proactively suggest commit messages that capture the essence of your work. Say goodbye to staring at a blank screen wondering what to write—I've got your back.

Plus, I can regenerate the commit message with a click or you can just write your own.

<a href="https://codesandbox.io/new/blog/meet-boxy-ai-coding-assistant/ai-commit.mp4" target="_blank"><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1j0rl0ikhs2q4zx78pmy.png" alt="Video thumbnail"></a>

### Making learning more accessible

Lastly, let's talk about education. I'm committed to helping you grow as a developer, no matter if you're a seasoned coder or just starting out.

Have a question about a particular piece of code or file? Ask, and I'll be more than happy to provide explanations and insights. Together, we'll deepen your understanding and empower you to write exceptional code.

<a href="https://codesandbox.io/new/blog/meet-boxy-ai-coding-assistant/ai-explain.mp4" target="_blank"><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ktfhxhv3sic3gdpz9voq.png" alt="Video thumbnail"></a>

Welcome to a new era of coding, powered by Boxy and CodeSandbox. Happy coding!

## Start coding with AI

The way we see it, AI can have an exceptional impact in making coding more accessible, fun and rewarding. So we’re extremely excited to bring that side of it to CodeSandbox.

We understand that not everyone wants to give AI access to their code, so all our AI features are only available after you manually opt-in.

These AI features are now available to all our Personal Pro and Team Pro subscribers, so [upgrade your plan](https://codesandbox.io/pro) or [start a free trial](https://codesandbox.io/pro?team) to start coding with Boxy!

Finally, because we want to keep building the AI features that matter the most to our community, we have started an AI Research Program where volunteers get free access to our AI features in exchange for their continuous feedback. If you’re interested, [apply today](https://codesandbox.typeform.com/to/DrKA1eYe)!