DEV Community

Cover image for Meet Boxy, Your New AI Coding Assistant
Ives van Hoorne for CodeSandbox

Posted on • Originally published at codesandbox.io

Meet Boxy, Your New 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 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 or import your GitHub repo!

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!)

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.

Video thumbnail

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.

Video thumbnail

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.

Video thumbnail

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.

Video thumbnail

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 or start a free trial 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!

Top comments (4)

Collapse
 
bkpecho profile image
Bryan King Pecho

Kudos to CodeSandbox for recognizing the importance of education and providing Boxy as a learning resource for developers at all levels. Empowering developers to write exceptional code is a fantastic goal. 🙌

Collapse
 
andresbecker profile image
Andres Becker

Wow

Collapse
 
fruntend profile image
fruntend

Сongratulations 🥳! Your article hit the top posts for the week - dev.to/fruntend/top-10-posts-for-f...
Keep it up 👍