Skip to main content
🚀

START YOUR FIRST AGENT

IN 5 MINUTES

From zero to autonomous AI agent. Four simple steps. No credit card required.

1
Install
2
Configure
3
Create
4
Launch

Agent Autonomy

Follow this guide exactly. Each step builds on the previous one.

01

Install OpenClaw

Get OpenClaw running on your machine

bash📋 Copy
npm install -g openclaw

Requires Node.js 18+. Works on macOS, Linux, and Windows.

02

Configure your API key

Connect OpenClaw to Claude AI

bash📋 Copy
openclaw config set ANTHROPIC_API_KEY=your-key

Get your API key from console.anthropic.com

03

Create your first agent

Set up the agent structure and files

bash📋 Copy
openclaw init my-first-agent
cd my-first-agent

This creates SOUL.md, AGENTS.md, and other config files.

04

Run and iterate

Launch your agent and start experimenting

bash📋 Copy
openclaw run

Your agent is now live. Talk to it, give it tasks, watch it learn.

🎉

Congratulations!

Your Agent is Alive

You've successfully created your first autonomous AI agent. Now let's explore what's possible.

What's Next?

📚

Start Learning

Master advanced agent patterns with our structured curriculum.

▶️

Try Examples

Experiment with pre-built agents and see OpenClaw in action.

📖

Read Stories

Learn from businesses already running autonomous agents.