@moru-ai/core
v0.1.0
Published
Moru SDK that gives agents cloud environments
Downloads
258
Readme
Moru JavaScript SDK
Moru SDK for JavaScript/TypeScript provides cloud environments for AI agents.
Installation
npm install @moru-ai/coreQuick Start
1. Set your API key
export MORU_API_KEY=your_api_key2. Create a sandbox
import { Sandbox } from '@moru-ai/core'
const sandbox = await Sandbox.create()
await sandbox.runCode('x = 1')
const execution = await sandbox.runCode('x+=1; x')
console.log(execution.text) // outputs 2Acknowledgement
This project is a fork of E2B.
