Introduction
Quick Start
From zero to agent in 5 minutes
Installation
Install the VM0 CLI globally:
bash npm install -g @vm0/cli bash pnpm add -g @vm0/cli bash yarn global add @vm0/cli Login
Authenticate with your VM0 account:
vm0 auth loginCreate Your First Agent
Create a new directory and initialize a VM0 agent:
mkdir my-agent && cd my-agent
vm0 initThis creates two files:
- vm0.yaml - Agent configuration file that defines the agent's provider, image, and environment settings
- AGENTS.md - Instructions file that describes what the agent should do and how it should behave
Initialize Token
Set up your Claude Code OAuth token:
claude setup-token
echo "CLAUDE_CODE_OAUTH_TOKEN=<your-token>" > .envYou can also use other LLM providers instead of Claude, like Moonshot (Kimi), MiniMax, DeepSeek, Z.AI (GLM), or OpenRouter. See Model Selection for configuration options.
Run Your Agent
Start the agent with a prompt:
vm0 cook "let's start working."This command displays the agent's execution logs in real-time. When the agent finishes, any files it created or modified will be downloaded to the artifact directory in your project.