Strategy & GuidesFIELD NOTE · 15 MIN

4 Jobs Decide OpenClaw vs Claude Code

OpenClaw vs Claude Code, tested on four jobs: shipping code, answering from your phone, remembering, running while you sleep. Costs, security and how to use both.

AITerm 15 min read

OpenClaw vs Claude Code is a choice between a personal agent and a coding agent. OpenClaw, the MIT-licensed project with 394,013 GitHub stars on November 6, 2026, runs as an always-on daemon you message from WhatsApp or Telegram. Claude Code, Anthropic's agent, lives in a repository and ships code. Pick by the job you need done.

Updated November 6, 2026 · by the AITerm team

394K

GitHub stars on openclaw/openclaw on November 6, up from 247,000 on March 2

341 / 2,857

ClawHub skills flagged as malicious in Koi Security's February audit

3

times Anthropic changed the rules for Claude subscriptions in third-party agents in 2026

Key takeaways

  • Writing code in a real repo: Claude Code, clearly. OpenClaw's own docs hand serious coding to external harnesses.
  • Being reachable from chat apps, all day: OpenClaw. Claude Code Channels covers Telegram, Discord and iMessage, but only while a session is open.
  • Memory: a tie now. Comparisons that say Claude Code forgets everything predate auto memory.
  • Running while you sleep: both, with different trade-offs on local files and permissions.
  • You can run both: OpenClaw spawns Claude Code through its ACP runtime.

What is the difference between OpenClaw and Claude Code?

OpenClaw is an open source personal agent created by Peter Steinberger in November 2025 and now stewarded by the OpenClaw Foundation. It runs on your machine as a gateway, talks to you through messaging apps, works with any model, and acts on your email, calendar and files. Claude Code is Anthropic's coding agent: it reads a codebase, edits files and runs commands from the terminal, an IDE or the desktop app.

At AITerm, a native macOS workspace for piloting Claude Code, Codex and other coding agents in parallel panes, we build our app with Claude Code every day: 282 of the 405 commits to our source since July 31, 2026 carry its co-author trailer. We have not run OpenClaw in production, and we will not pretend we benchmarked it. What we did build is a phone remote for agent sessions, which is the exact job that makes people look at OpenClaw.

Here's the thing. Most of the top results for this query were written in February and March, when Claude Code had no chat bridge, no auto memory worth mentioning, and OpenClaw had not shipped 2.0. Four jobs decide this comparison today. On two of them, the gap has closed.

Our take

An agent with your inbox, your calendar and a shell does not need to be always on. Most developers who install OpenClaw want one thing: to answer a blocked coding agent from their phone. That job no longer requires handing a model the keys to everything.

OpenClaw vs Claude Code, side by side

Line them up and the overlap is smaller than the name suggests. OpenClaw wins on reach, model choice and autonomy. Claude Code wins on everything that happens inside a repository. Our AI coding agents comparison puts Claude Code next to Cursor, Codex and Gemini CLI if coding is the only job you care about.

Dimension OpenClaw Claude Code
What it isPersonal agent, gateway daemonCoding agent
Made byOpenClaw Foundation, MIT licenseAnthropic, proprietary
Latest version (Nov 6)v2026.11.1, November 52.1.318, November 4
Where you talk to itWhatsApp, Telegram, Discord, Slack, Signal, iMessage, browser UITerminal, IDEs, desktop, web, phone via Remote Control
ModelsAny: hosted, subscriptions, API keys, localClaude models only
Coding workflowDelegates to harnesses via ACPPlan mode, hooks, subagents, worktrees, CI
MemoryMEMORY.md plus daily notesCLAUDE.md plus auto memory
Runs on its ownAutomation jobs, first check every 30 min/loop, Desktop tasks, cloud routines
PriceFree, you pay the modelIncluded in paid Claude plans, from $20 a month

You're probably thinking the model column settles it. Fair point if you run local models for privacy. In practice, most OpenClaw users who code plug in Claude or GPT anyway, so the real difference is the harness around the model, not the model.

Is OpenClaw good for coding?

For scripts and small automations, yes. For sustained work in a real repository, Claude Code is the better tool, and OpenClaw's own documentation agrees: its ACP runtime exists to route coding to external harnesses such as Claude Code, Codex, OpenCode or Gemini CLI. OpenClaw has no plan mode, no IDE extension, and no worktree sessions.

Claude Code was built for the loop that matters in a codebase: read the code, propose a plan, edit, run the tests, fix what broke. Plan mode makes it stop and wait for approval. Hooks enforce rules the model cannot talk its way around. claude --worktree gives each session its own checkout, which is how we run several agents on one repo without them stepping on each other (our parallel agents guide has the full setup).

Honestly, the strongest argument here is the boring one. A coding agent is only as good as its feedback loop, and Claude Code's loop runs where your compiler and your tests already live. A chat thread on your phone is a great place to say "fix the flaky test". It is a bad place to review the diff.

Job 1 verdict

Shipping code in a repository: Claude Code. If you already use OpenClaw, let it start Claude Code instead of asking it to write the code itself.

Reaching your agent from a phone, OpenClaw's home turf

This is the job OpenClaw was built for. It ships six messaging channels, and its 2.0 release in August added shared sessions that several people can join. Claude Code answered with two features: Channels, a research preview launched in March that bridges Telegram, Discord and iMessage into a running session, and Remote Control, which drives a local session from claude.ai or the Claude mobile app.

Look at the fine print, because it decides who wins. Channels only deliver events "while the session is open", per Anthropic's docs, and each plugin needs Bun. Remote Control works on Pro, Max, Ultra, Team and Enterprise plans, not with API keys. Both keep execution on your machine. OpenClaw, meanwhile, is a daemon you install once and forget.

# Claude Code: Telegram bridge into a running session (research preview)
/plugin install telegram@claude-plugins-official
/telegram:configure <bot-token>
claude --channels plugin:telegram@claude-plugins-official
/telegram:access pair <code>
/telegram:access policy allowlist

# Claude Code: drive the session from the Claude app instead
claude --remote-control "My Project"

We built our own answer to this in August. AITerm's remote access serves a single page from your Mac to your phone over your own network: read the conversation, approve or deny a tool call, send a follow-up, interrupt. Pairing uses a 32-byte token compared in constant time, and nothing leaves the local network. The page weighs 25 KB and the server runs no timer while no phone is connected.

What we got wrong first

Our first remote page showed a title, a model name and a progress bar. You could not read what the agent said or change anything. It supervised without giving you anything to supervise. We rewrote it the same day (commit 898d51b) to carry the full conversation, a mirror of the real screen, and model, effort and permission controls. The trade-off we kept: off your network, it does not reach you. On a train, OpenClaw or Channels win.

One gotcha we hit while testing Channels: the fakechat demo listens on localhost:8787, which is also the first port AITerm's remote tries. AITerm moves to the next free port, up to 8791, so both run. If you build your own bridge, do not hardcode 8787.

Memory, the gap that closed

Both tools now remember across sessions. OpenClaw keeps durable facts in MEMORY.md and working notes in daily files under memory/, then distills the daily notes into long-term memory over time. Claude Code loads your CLAUDE.md files plus an auto memory that Claude writes itself, stored per repository in ~/.claude/projects/<project>/memory/ and shared across worktrees.

DataCamp's February comparison still says "OpenClaw has persistent memory, unlike Claude Code, which resets memory between sessions". That was arguable then. It is wrong now: Claude Code's documentation says auto memory loads at the start of every session, first 200 lines or 25 KB.

OPENCLAW

Memory about you

Preferences, people, decisions, errands. One agent, every channel, across all your projects. Great for an assistant, noisy for a codebase.

CLAUDE CODE

Memory about the repo

Build commands, conventions, past corrections, scoped to one repository. Rules you write sit in CLAUDE.md, in version control, where your team can review them.

Turns out the scope matters more than the feature. Our own CLAUDE.md is short on purpose: the build command, the rule that every UI string goes through L("key") in seven languages, and a ban on pushing without an explicit ask. A personal agent that also remembers your dentist appointment has no business loading that file.

Running while you sleep

OpenClaw runs on its own by design. Its heartbeat became ordinary automation jobs, and the first one checks in every 30 minutes unless you change it, with an activeHours policy to keep it quiet at night. Claude Code has three schedulers, each with a different limit, per Anthropic's scheduled-tasks documentation read on November 6, 2026.

01 · /LOOP

Inside a session

Every minute at most, up to 50 tasks per session. Needs the session open and expires after 7 days.

02 · DESKTOP

On your machine

Survives restarts and reads local files. Your machine has to be on.

03 · CLOUD

On Anthropic's side

Runs with the laptop closed, every hour at most, on a fresh clone with no access to your local files.

So, for code, Claude Code covers the unattended job: a nightly cloud routine that triages failing tests is a better design than a personal agent poking at your repo every half hour. For everything that is not code, such as a morning digest of your inbox or a price alert, OpenClaw's jobs are simpler to set up.

Can OpenClaw be used with Claude Code?

Yes, and for developers who want OpenClaw, this is the setup we would recommend. OpenClaw's ACP runtime spawns external coding harnesses, and claude is one of its harness ids. OpenClaw handles the conversation, the phone and the schedule. Claude Code does the coding with its own permissions, memory and tools. The OpenClaw docs require Claude Code to be installed and logged in on the same host.

# on the OpenClaw host, with Claude Code already logged in
openclaw plugins install @openclaw/acpx
openclaw config set plugins.entries.acpx.enabled true

# then, from a chat with your agent
/acp doctor          # readiness check
/acp spawn claude    # start a Claude Code session through ACP

One warning from the same docs: non-interactive sessions "cannot click native permission prompts", so write-heavy runs need an ACPX permission profile that proceeds without asking. In plain terms, a chat message can end up running shell commands in your repo with nobody approving them. Scope the profile to one working directory and keep secrets out of it.

How safe is OpenClaw compared to Claude Code?

OpenClaw had a rough start on security. On January 30, 2026, version 2026.1.29 fixed CVE-2026-25253, a one-click remote code execution flaw rated CVSS 8.8 that leaked the gateway token through a crafted link. Days later, Koi Security audited 2,857 ClawHub skills and found 341 malicious ones, 335 of them from a single campaign pushing the Atomic Stealer macOS malware.

The project has hardened since. Skills are now scanned on upload, and the October 29 release enforced workspace limits for gateway-built tools. The architecture still carries the risk: an agent that reads untrusted email and can run commands is a prompt injection target, whatever the version. Claude Code has the same class of risk on a smaller surface. It works in a directory you chose and asks before risky actions by default.

01

Gateway off the internet

Bind it to localhost or a private network. Early 2026 installs listened on every interface, and researchers found tens of thousands exposed.

02

Read every skill

A SKILL.md that asks you to paste a "prerequisite" command in Terminal was the ClawHavoc pattern.

03

Separate accounts

Give the agent its own mailbox and calendar, never your main ones. Same for API keys.

04

Code stays in Claude Code

Let OpenClaw start Claude Code through ACP rather than giving the gateway direct write access to your repos.

We applied the same paranoia to our phone page. Model, effort and permission mode can be changed from the phone, and each one ends up typed into a terminal. So the protocol accepts only a closed list of characters, and the app checks that the value is one it offered to that phone before anything reaches the shell. And yes, we know a remote control for coding agents is exactly the kind of feature that needs this.

What does each cost on a Claude plan?

OpenClaw is free and MIT-licensed. You pay for the model behind it. Claude Code is included in paid Claude plans, from Pro at $20 a month to Max from $100. The hard part is using your Claude subscription inside OpenClaw, because Anthropic changed that rule three times in 2026. As of November 6, its help center says third-party app usage draws from your subscription limits.

Jan 30
Clawdbot, briefly Moltbot after Anthropic's trademark complaint, becomes OpenClaw. CVE-2026-25253 is fixed the same day.
Feb 14
Steinberger joins OpenAI. A foundation takes over the project.
Mar 20
Claude Code Channels ships as a research preview: Telegram and Discord into a running session.
Early Apr
Claude subscriptions stop working in third-party harnesses, starting with OpenClaw.
May 13
Anthropic announces a separate monthly Agent SDK credit for programmatic and third-party use, $20 on Pro.
Jun 15
Change paused. Third-party app usage draws from subscription limits again.
Aug 30
OpenClaw 2.0 detects existing ChatGPT or Claude subscriptions, API keys and local models at install.
Oct 7
Max, Ultra and Team plans gain monthly API credits, used only with a Console API key.
OpenClaw and Claude subscriptions in 2026. Sources: support.claude.com (article 15036540), VentureBeat (May 13), Wikipedia, InfoQ.

In practice, the policy moves faster than the price. If OpenClaw is a toy, your subscription is fine. If it runs something you depend on, put it on an API key with a spending cap, so the next policy change costs you money instead of an outage. Our Claude Code alternatives guide covers the tools that bill differently.

Which one should you pick?

Pick Claude Code if most of your day is software and the question is "how do I keep my agents moving when I step away". Pick OpenClaw if you want an assistant for your life outside the repo and you accept running a daemon with broad access. Pick both if you want the chat app front door and Claude Code's discipline on the code.

CLAUDE CODE ALONE

You write software, you already pay for Claude, and you want to unblock agents from your phone. Remote Control or Channels covers it.

OPENCLAW ALONE

Your agent mostly handles email, calendar, research and alerts. Code is occasional, or you want local models.

BOTH, VIA ACP

OpenClaw is your front door, Claude Code does the coding. Budget time for the permission profile.

If you came here comparing Anthropic's own options, our Claude vs Claude Code and Cowork vs Claude Code guides cover the chat app and the desktop agent. AITerm sits on the Claude Code side of this choice: every agent session in a native pane on your Mac, with a phone page served by the Mac itself. If you try the ACP setup above, tell us what breaks: hello@aiterm.app.

Going further

Sources

  1. openclaw/openclaw, GitHub, read via the API on November 6, 2026: 394,013 stars, MIT license, created November 24, 2025, release v2026.11.1 on November 5.
  2. OpenClaw, Wikipedia: names and dates, 247,000 stars on March 2, 2026, foundation, Steinberger joining OpenAI on February 14.
  3. OpenClaw 2.0 Releases with Simplified Setup and Collaborative Agents, InfoQ, September 1, 2026.
  4. ACP agents quickstart, Heartbeat and Install, OpenClaw docs, read November 6, 2026.
  5. Push events into a running session with channels, Claude Code docs: research preview, Telegram, Discord and iMessage plugins, Bun requirement.
  6. Continue local sessions from any device with Remote Control, Claude Code docs: plans, commands.
  7. Run prompts on a schedule, Claude Code docs: /loop, Desktop and cloud scheduling compared.
  8. How Claude remembers your project, Claude Code docs: CLAUDE.md and auto memory.
  9. Use the Agent SDK with your Claude plan, Claude Help Center, updates of June 15 and October 7, 2026.
  10. Anthropic reinstates OpenClaw and third-party agent usage on Claude subscriptions, with a catch, VentureBeat, May 13, 2026.
  11. OpenClaw bug enables one-click remote code execution, The Hacker News, February 2026 (CVE-2026-25253).
  12. Researchers find 341 malicious ClawHub skills, The Hacker News, February 2026.
  13. OpenClaw Weekly, Big Hat Group, November 2, 2026: releases of October 27 and 29.
  14. OpenClaw vs Claude Code, DataCamp, February 16, 2026.

Frequently asked questions

What can OpenClaw do that Claude Code can't?

OpenClaw lives in your messaging apps and runs as a daemon: WhatsApp, Telegram, Discord, Slack, Signal and iMessage are built in, it starts jobs on its own schedule, and it touches email, calendars and the rest of your digital life. It also runs any model, including local ones. Claude Code has narrowed the gap with Channels, Remote Control and scheduled tasks, but it stays a coding agent tied to Claude models and a working directory.

Can OpenClaw be used with Claude Code?

Yes. OpenClaw's ACP runtime drives external coding harnesses, and claude is one of its harness ids. Install the plugin with openclaw plugins install @openclaw/acpx, enable it, check it with /acp doctor, then start a session with /acp spawn claude. Claude Code must already be installed and logged in on the same machine, and headless runs need a permission profile because nobody is there to click the prompts.

Is OpenClaw good for coding?

For small scripts and automations around your projects, yes. For sustained work inside a real repository, it is the weaker tool: no plan mode, no IDE extensions, no worktree sessions, and coding quality depends on whichever model you plug in. The OpenClaw docs themselves route serious coding to external harnesses such as Claude Code, Codex or Gemini CLI through ACP. That is a good sign of where each tool is strong.

Is OpenClaw better than Claude Code?

Not for code. They do different jobs. OpenClaw is a general personal agent that is always on and reachable from chat apps. Claude Code is Anthropic's coding agent that reads a repository, edits files and runs your tests. If most of your day is software, Claude Code is the better tool, and OpenClaw is worth adding only for the work around the code: inbox, calendar, alerts, errands.

Can I use my Claude subscription with OpenClaw?

As of November 2026, Anthropic's help center says third-party app usage draws from your subscription limits, per its June 15, 2026 update. The policy moved three times this year: subscriptions were blocked in third-party harnesses in early April, a separate Agent SDK credit was announced on May 13, and that change was paused on June 15. Check support.claude.com before you depend on it, and keep an API key as a fallback.

Is OpenClaw safe to run?

It can be, with care. In early 2026 it had a one-click remote code execution flaw (CVE-2026-25253, CVSS 8.8, fixed in 2026.1.29) and a malicious-skill campaign on ClawHub: 341 of 2,857 audited skills were malicious. Run the latest release, keep the gateway off the public internet, install skills only after reading them, and give the agent a dedicated account rather than your main email.

Does Claude Code remember things between sessions?

Yes. Older comparisons say Claude Code resets between sessions, which is no longer true. CLAUDE.md files hold the rules you write, and auto memory stores notes Claude writes itself in ~/.claude/projects/<project>/memory/, shared across worktrees of the same repository. The first 200 lines or 25 KB load at the start of every session. You toggle it from /memory.

Related articles