Build your own An agent like Gemini agent
Build an orchestrator that plans and delegates work to sub-agents.
Choose the environment
Build an orchestrator that plans and delegates work to sub-agents.
Give each task an isolated sandbox with its own working directory, dependencies, and preview. Track the run separately so its events and results can be inspected.
Create the workspace
Choose a workspace and a name for this product’s environment. The example updates when these parameters change.
Make the example yours
const sandbox = await miosa.sandboxes.create({
workspaceSlug: "my-workspace",
name: "hello-world",
templateId: "miosa-sandbox",
});These fields update the example. They do not send a request.
Run, observe, and publish
- Authenticate your user and choose the environment that belongs to the task.
- Start the agent, stream its events, and keep the produced files with the run.
- Expose a preview for review. Give a human control when the task needs a decision.
- Save a snapshot before a risky change. Publish a verified version as a separate deployment.
Continue building
Read the environment guide · Agent runs and events · Publish a version

