A conversational AI assistant that executes shell commands and edits files in a Cloudflare Sandbox.
Create a .env file with your OpenAI API key:
OPENAI_API_KEY=your-api-key-here
Then start the development server:
npm startEnter natural language commands in the chat interface. The assistant can:
- Execute shell commands
- Create, edit, and delete files
All conversations are saved in your browser's localStorage.
npm run deployThis example auto-approves all AI operations without human review. The AI can:
- Execute ANY shell command
- Create, modify, or delete ANY file in /workspace
- No safety limits beyond the container itself
Do not use in production without proper approval flows and rate limiting.