---
title: "Discussion on \"Making a safe, sandboxed OpenCode\" | Hashnode"
description: "Discussion on \"Making a safe, sandboxed OpenCode\". I’ve wanted to make AI coding agent that is both useful and safe for a while, and I’ve finally found some success. I made an OpenCode plugin called opencode-daytona that spawns each coding session in"
url: "https://hashnode.com/posts/making-a-safe-sandboxed-opencode/6991e2f401392154826b46aa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Making a safe, sandboxed OpenCode](https://blog.jamesmurdza.com/making-a-safe-sandboxed-opencode?utm_source=hashnode&utm_medium=feed)

I’ve wanted to make AI coding agent that is both useful and safe for a while, and I’ve finally found some success. I made an OpenCode plugin called opencode-daytona that spawns each coding session in

Feb 15 · 9 min read · blog.jamesmurdza.com  
Updated Nov 11  
Read the article

-   [#ai-coding](https://hashnode.com/tag/ai-coding)
-   [#opencode](https://hashnode.com/tag/opencode)
-   [#llm](https://hashnode.com/tag/llm)
-   [#ai](https://hashnode.com/tag/ai)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[James Murdza](https://hashnode.com/@jamesmurdza)

@jamesmurdza

  
[View profile](https://hashnode.com/@jamesmurdza)

## Responses 3

Markdown supported · ⌘↵ to post

[Tiffany Spark](https://hashnode.com/@markupandmatcha)

[Feb 15](https://hashnode.com/posts/making-a-safe-sandboxed-opencode/6991e2f401392154826b46aa/comment/699242aa86bd7f83698557ca)

interesting take. I think the key with AI tooling is knowing when to trust it and when to double-check. it's brilliant for boilerplate but you still need to understand what it's generating

[Tiffany Spark](https://hashnode.com/@markupandmatcha)

[Feb 15](https://hashnode.com/posts/making-a-safe-sandboxed-opencode/6991e2f401392154826b46aa/comment/69923d87280055fa0147a188)

interesting read. practical approaches like this are way more useful than the theoretical overviews you usually find. bookmarking.

[Tiffany Spark](https://hashnode.com/@markupandmatcha)

[Feb 15](https://hashnode.com/posts/making-a-safe-sandboxed-opencode/6991e2f401392154826b46aa/comment/699206f859d0758c8426ab8a)

sandboxing AI coding agents is something I think about a lot. I let AI tools help with client sites but the idea of giving them unrestricted file access still makes me nervous. the Firecracker approach is smart.
