Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
import { sandboxTest } from './setup'
sandboxTest('open with default app', async ({ sandbox }) => {
// TODO: Implement
// Create a new text file
const filePath = '/home/user/testfile.txt'
await sandbox.commands.run(`echo "This is a test file." > ${filePath}`)
// Open with a default app
await sandbox.open(filePath)
})