Introducing the CodeSandbox Storybook add-on

Bring every story to life.

Learn more
Blog chevron_right News
May 25, 2023

Meet Boxy, Your New AI Coding Assistant

Bring your ideas to life faster by having AI contextually explain, generate and refactor code.

Ives van HoorneBoxy
Ives van Hoorne & Boxy
Meet Boxy, Your New AI Coding Assistant
Ives van Hoorne
Ives van HoorneCodeSandbox Co-Founder

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

BoxyCodeSandbox Coding Assistant

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.

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.

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.

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.

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

Start coding with AI

Ives van Hoorne
Ives van HoorneCodeSandbox Co-Founder

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!

Keep reading about News .

CodeSandbox is Now SOC 2 Compliant
News May 23, 2024

CodeSandbox is Now SOC 2 Compliant

Another milestone that shows our commitment to keeping your code and data secure.

Introducing CodeSandbox CDE
News Jan 30, 2024

Introducing CodeSandbox CDE

CodeSandbox CDE is now live, bringing instant cloud development environments and usage-based billing.

Introducing AI Code Autocomplete Powered by Codeium
News Nov 22, 2023

Introducing AI Code Autocomplete Powered by Codeium

Powerful, accurate code suggestions for every CodeSandbox user.

Introducing a Unified Development Platform
News Nov 21, 2023

Introducing a Unified Development Platform

Our new Devboxes and improved Sandbox editor are here to help you build anything, no matter how big or small.