OpenClaw is a free, open-source AI agent you run on your own computer. A single program, the Gateway, connects an AI model of your choice to chat apps such as Telegram, Slack, Discord and WhatsApp, and gives it tools to read files, browse, run commands and act on a schedule. Building an OpenClaw agent therefore means installing the Gateway, connecting a model, and then deciding what the agent knows, what it may touch and when it runs.
Update, 13 November 2026: This guide has been rewritten against OpenClaw’s official documentation. The earlier version described a Python installation (pip install) and a Python programming interface (from openclaw import Agent) that OpenClaw does not have: the project is written in TypeScript and installs through Node.js. A claim sourced to a CNBC article about Chinese technology companies adopting OpenClaw has also been removed because the linked article could not be found.
The steps below follow the project’s getting started guide and apply to the current release line; the latest version on GitHub at the time of writing was v2026.11.3, published on 10 November 2026. Menus and prompts can change between releases, so treat the official pages as the final word.
What this kind of agent is, and what it is not
The project’s GitHub repository is MIT-licensed and describes the project as “the AI that really does things”. It is not a hosted service with an account to sign up for, and it is not a programming library you import into your own code. You install it, point it at a model provider, and talk to the agent through a browser dashboard or a chat app. Behaviour is shaped mostly through configuration, plain-text instruction files and add-ons called skills, rather than code.
That makes it approachable for non-programmers, but it also means the agent acts with whatever access you give it. TSN’s OpenClaw security guide covers the protections in more depth; this guide flags the key ones as they come up.
Step 1: Install OpenClaw and run onboarding
You need Node.js 24.16.0 or later on the 24.x line, or 26.1.0 or later, plus either an existing Claude Code or Codex command-line login or an API key from a model provider. On macOS or Linux, the documented installer is:
curl -fsSL https://openclaw.ai/install.sh | bashWindows users can use the PowerShell installer or the native Windows app. To try OpenClaw without installing it permanently, npx openclaw@latest runs the same onboarding. Choose Quick start: the setup looks for an existing login or API key, checks it with a real request to the model, saves the configuration and opens the web dashboard. Custom setup walks through every option instead.
Step 2: Keep the Gateway running and open the dashboard
Quick start offers to keep OpenClaw running in the background. If you said no, install it as a service and wait for it to be ready:
openclaw gateway install
openclaw gateway start
openclaw gateway statusThe status command should show the Gateway listening on port 18789. On a normal install it listens only on your own machine, which is the safe default. Then run openclaw dashboard to open the Control UI in your browser and send your first message. If the agent replies, the core setup is working.
Step 3: Connect a chat channel
Most people want to reach their agent from a phone. The documentation recommends Telegram as the fastest channel to set up, because it needs only a bot token; Slack, Discord, WhatsApp, Signal, Microsoft Teams, iMessage and others are also supported. By default, most channels answer a message from an unknown sender with a pairing code instead of acting on it, so a stranger who finds your bot cannot simply give it orders. Keep it that way unless you have a clear reason to change it.
Step 4: Give the agent a workspace and skills
Each agent has a workspace, by default ~/.openclaw/workspace, which the workspace documentation calls “the agent’s home”: the folder its file tools work in and where it keeps context and memory. The documentation warns that the workspace “is the default cwd, not a hard sandbox”: an agent can still reach other parts of the computer through absolute paths unless sandboxing is switched on. Configuration, credentials and session history live separately in ~/.openclaw/.
Skills are how you teach the agent new jobs. According to the skills documentation, a skill is a folder containing a SKILL.md file, a short markdown file with a description and instructions that tell the agent how and when to use its tools. It ships with bundled skills, and you can add your own in the workspace’s skills folder, where they take precedence over others with the same name. Community skills are published on ClawHub; check each listing’s files and security scan status before installing, because a skill is effectively an instruction set your agent will follow.
Step 5: Put tasks on a schedule
An agent becomes more useful when it works without being asked. The built-in scheduler, described in the automations documentation, stores jobs, wakes the agent at the right time and can deliver the result to a chat channel or a webhook. Jobs are managed with openclaw automations (the older openclaw cron command still works), for example:
openclaw automations list
openclaw automations runs <job-id>A morning news summary, a weekly file tidy-up or a reminder are typical first jobs. Start with tasks whose output you read, not ones that send messages or change files on their own.
Step 6: Split work across more than one agent
Once one agent works, you can run several, each with its own workspace, conversations and role, managed with the openclaw agents commands. Keeping a research agent separate from one that can send email, for example, limits what a single mistake can do. TSN’s OpenClaw field guide shows how one operator combined several automated jobs.
Building an OpenClaw agent is mostly deciding what it may touch
The technical setup takes minutes. The harder part is judgement. An OpenClaw agent is only as safe as the access around it: the model can misunderstand a request, follow instructions hidden in a web page or email, or act on a message from the wrong person. Researchers have already shown agents leaking data and running destructive commands in test environments, as TSN reported in its piece on rogue AI agents as an insider risk.
The good news is that the defaults lean cautious, and the useful habits are simple. Grow access one step at a time: start with read-only tasks, add skills you have read, switch on sandboxing before letting an agent run code, and keep anything that spends money, sends messages or deletes files behind a human approval. Run openclaw security audit after each change; the security documentation describes it as the one command that tells you if your setup has drifted from the safe defaults. Treated that way, a personal agent is a capable assistant rather than an unsupervised one.
Sources
- OpenClaw documentation: Getting started
- OpenClaw documentation: Agent workspace
- OpenClaw documentation: Skills
- OpenClaw documentation: Automations
- OpenClaw documentation: openclaw agents CLI
- OpenClaw documentation: Security
- OpenClaw on GitHub and release v2026.11.3
Get TSN’s biggest tech stories, explained.
News and insights across AI, tech, crypto and cybersecurity. Every source linked. Unsubscribe anytime.
Get the newsletterRelated stories
- How to Stay Safe with OpenClaw: A Security Guide for AI Agent Users — the natural next read once your first agent is running, covering permissions, ClawHub skills and what to do if an agent misbehaves.
Follow @tsnmediahub on X for breaking AI news as it happens.
Follow on X

