Library / SDK
open-gitagent/clawless avatar
open-gitagent/clawless

ClawLess: the browser runtime whose keys live in localStorage under a clawchef_ prefix

ClawLess — A serverless browser-based runtime for Claw AI Agents powered by WebContainers

545 stars98 forksTypeScriptMIT

At a glance

What is it?
ClawLess runs Node.js agents inside a WebContainer so no backend is needed, and ships as an npm package called clawcontainer. Its isolation claims are real inside the sandbox, but the provider key handling, the dependency list, and the packaging metadata each tell a different story than the feature list.
Who is it for?
ClawLess fits experiments where the agent's work is disposable, the machine is the user's own browser, and the point is to watch the run: the sandbox is real, the audit trail is the interesting part, and no install is required to try it.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 140 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • open-gitagent/clawless545 ★ · +11
Star history
Repository2026-09-112026-11-25
open-gitagent/clawless534545

11 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Four names for one runtime, starting with the repository and ending at clawchef_

The repository is `open-gitagent/clawless`. The heading in the README is ClawLess. The package you install is `clawcontainer`, the import specifier is `clawcontainer`, and the console class is `ClawContainer`. The badge row links to the npm page for `clawcontainer` while the clone instructions point at the clawless repository.

That is three names in one code sample. The fourth arrives later and is the strangest, because all runtime state is said to be persisted to `localStorage` under a `clawchef_` prefix, a name that belongs to neither the repository nor the package.

bash
# Run locally
git clone https://github.com/open-gitagent/clawless.git
cd clawless
npm install
npm run dev

Then there is the second install path, which does not mention the project at all:

bash
# Install as a dependency
npm install clawcontainer

Nothing is broken by this, but it costs a reader a lookup, and it matters for anyone writing a policy or an audit export that keys off a name. The roadmap checkbox for a template marketplace and the SDK's `template: 'gitclaw'` value add two more strings to keep track of.

The provider key is passed into browser-side state and kept under clawchef_

The SDK example hands the API key straight to the constructor as environment state.

typescript
import { ClawContainer } from 'clawcontainer';

const cc = new ClawContainer('#app', {
  template: 'gitclaw',
  env: { ANTHROPIC_API_KEY: 'sk-...' }
});

await cc.start();
cc.on('ready', () => console.log('Container ready!'));

Three separate claims in the documentation meet here. Runtime state persists to `localStorage` under the `clawchef_` prefix so sessions survive page reloads. The audit trail records network requests and responses and masks sensitive headers such as API keys. And the project advertises a hosted playground at `play.clawless.io` alongside a build-it-yourself local run.

So the key lives in browser-side state, is written to a storage area that survives reloads, and is passed to the model provider from the page rather than from a server. Browser storage on an origin is readable by any script running on that origin, so the security of the key is the security of the origin you loaded the page from. The masking in the audit log protects the log, not the storage area.

The configuration table adds that a single `CLAWLESS_MODEL` string selects the model, with examples `claude-sonnet-4-20250514` and `gpt-4o`, across three provider keys. One global model selector means the agent, the summariser, and any sub-task all share it.

A YAML policy engine with no YAML parser declared, and three AI providers with no AI SDK

The runtime dependency list has five entries: `@webcontainer/api`, `@xterm/addon-fit`, `@xterm/xterm`, `jszip`, and `monaco-editor`. The development dependencies are typescript, vite, and a Monaco plugin for vite.

Now line that up against the feature list. There is a YAML-based policy engine with glob patterns, and no YAML library in that list. There is GitHub integration for clone, commit and push through the GitHub API, and no API client library. There is multi-provider support for Anthropic, OpenAI and Google out of the box, and no provider SDK. The architecture table names seven components, from `ContainerManager` and `PolicyEngine` through `AuditLog`, `GitService`, `PluginManager` and `UIManager`.

Every one of those capabilities is therefore built on direct calls rather than on a library, and the missing SDKs explain the key handling in the previous section: with no provider SDK in the bundle, the request the provider expects has to be assembled in the page, which is why the key is handed to browser-side environment state in the first place.

`jszip` is the one runtime dependency with no visible use in the documentation. Given the demonstration of an agent building a PowerPoint file and saving it to the virtual filesystem, it is most likely the download path, but the text does not say so.

The isolation covers the WebContainer, not the page that hosts it

The isolation claim is specific and, inside its boundary, defensible. A full sandboxed Node.js environment runs via WebContainers in WASM, with a virtual filesystem for reading, writing and executing, and the feature list puts it as full OS-level isolation in the browser with no access to the host system.

What sits outside that boundary is the page. Network interception is described as covering both browser `fetch` and Node.js `http` calls, which means traffic from inside the container is issued through the hosting page's own network stack. The container is isolated from the host operating system, and it is not isolated from the origin that loaded it, its cookies, its storage, or anything else that origin's scripts can reach.

That distinction matters most for the agent's npm access. The demonstration has an agent install `pptxgenjs` inside the sandbox and reach the wider package registry, described as 3.4 million or more packages. Package installation is code execution by definition, so the trust boundary is not the package list but the policy engine and the audit log.

The stated enforcement point is the container level, with the claim that agents cannot bypass policies. Given that the policies are hot-reloadable, that claim is really about the audit trail being complete enough to show a bypass attempt.

Policies can be applied on the fly, so the audit log is the only record of the change

The policy system is declarative YAML, and the documented controls are concrete: file access rules, allowed processes, port bindings, and runtime limits covering maximum file size, maximum processes, maximum turns, and a timeout.

The capability worth pausing on comes next. Policies can be applied or reset on the fly without restarting the container.

For a research tool that is a convenience, since you can tighten a limit and watch the behaviour change in the same session. For anything you intend to rely on, it means the constraint set is mutable state during a run. A limit that can be raised between turn three and turn four is not a limit the audit log can be assumed to have frozen.

That is why the audit coverage list matters more than usual here. Every process spawn, file write, network request and response, environment configuration change, and policy enforcement event is tracked, filterable by source, level or event type, and downloadable as a full log. If you use this runtime at all, the export is the artefact to keep, because it is the only place the sequence of policy changes and actions appears in order.

Automatic unload is not claimed here, and neither is any statement about what happens to a container that exceeds its limits.

The roadmap says the filesystem does not persist while the features call it a full one

The roadmap is five unchecked boxes: a custom agent template marketplace, multi-agent orchestration, persistent filesystem across sessions, cloud deployment support, and built-in agent debugging tools.

Read the persistence box against the rest of the page. The runtime state section says state is persisted to `localStorage` so sessions survive page reloads, and the feature list claims a full virtual filesystem with reading, writing and executing inside an isolated runtime. Both can be true at once, and the distinction is the one that bites: the session survives, the files do not.

So a page reload keeps your API key, your selected model, and whatever else counts as runtime state, and loses the agent's output. The demonstration of an agent generating a PowerPoint file and saving it to the virtual filesystem is a good example of work that is one reload from gone, unless the file was exported first.

The cloud deployment box is worth reading next to the hosted playground at `play.clawless.io`. A demo site and a product feature are different things, and the roadmap entry suggests the second has not been built. Nothing in the visible text describes what the hosted instance does with a key you paste into it.

Two build scripts in different orders, an ESM-only export map, and no files whitelist

The scripts block has four entries. `dev` runs vite, `preview` runs vite preview, `build` runs `vite build && tsc`, and `build:lib` runs `tsc && vite build --mode lib`. Two of them build, in opposite orders, and the published entry points live under `dist/`.

The exports map is a single condition object:

json
"exports": {
  ".": {
    "import": "./dist/sdk.js",
    "types": "./dist/sdk.d.ts"
  }
}

There is no `require` condition and the package declares `"type": "module"`, so this is an ESM-only package and a CommonJS consumer cannot load it. The `types` condition also sits after `import`, which is the reverse of the order TypeScript resolves conditions in, so type resolution for a bundler that honours the map can end up skipping the declaration file.

There is no `files` array in the manifest and no `prepublishOnly` script. Nothing restricts what the registry receives, so the root PNGs for the logo and the four screenshots, `package-lock.json`, and `index.html` are all candidates for publication rather than being excluded by a whitelist.

The version is `1.1.0` while the only published release is `v1.0.0` from 2026-03-19, and the last push to the repository is 2026-07-08. The lockfile is committed, which is good practice for an application and tells you nothing about how the library's own build was reproduced.

An empty Links heading, three empty image blocks, and a sentence cut mid-word

Three structural gaps are visible in the documentation itself.

There is a `## Links` heading with nothing under it, sitting directly before the supported providers table. There are three separate centred paragraph blocks in the demonstration section that hold no text or markup, each sitting where a screenshot would go, and the root of the repository confirms why: `screenshot.png`, `screenshot-ppt.png`, `screenshot-audit.png`, and `screenshot-policy.png` are committed as files rather than embedded in the page. So the images exist and the page has four holes where they belong.

And the visible text ends mid-word. The final line reads as an issues link described as a place to report bugs and request featur, which is where the sentence stops.

None of that is fatal, and a reader can still get the architecture table, the configuration table, the endpoint-style policies, and the four provider families from what is present. But the parts that are missing are the parts a reader needs to verify claims: what the plugin lifecycle hooks can intercept, what the template system accepts, and how the audit export is scoped.

The repository also carries `DOCS.md` at the root, and the navigation row links to it as Documentation, so the detail may well live there rather than in the page that ends mid-word.

Editorial conclusion

ClawLess fits experiments where the agent's work is disposable, the machine is the user's own browser, and the point is to watch the run: the sandbox is real, the audit trail is the interesting part, and no install is required to try it. Do not point it at anything you cannot rebuild, because provider keys are passed into browser-side environment state and persisted under a `clawchef_` prefix, the policy surface can be relaxed mid-session, and the published package is ESM-only with no `files` whitelist. Before you build on it, decide where the key lives, confirm your bundler can resolve the `clawcontainer` exports map, and check whether the 1.1.0 manifest corresponds to anything newer than the single v1.0.0 release.

Frequently asked questions

What is ClawLess and what package do I install?

ClawLess is a browser-based runtime that runs Claw agents inside a WebContainer, a WASM sandbox providing a full Node.js environment with no backend. The repository is open-gitagent/clawless, but the package and import specifier are both clawcontainer.

Where does ClawLess keep its state and its API keys?

Environment values including the provider key are passed to the ClawContainer constructor, and all runtime state is persisted to localStorage under a clawchef_ prefix so sessions survive page reloads. The audit log masks sensitive headers such as API keys when it records them.

Can an agent running in ClawLess bypass its policies?

The documented position is that policies are enforced at the container level so agents cannot bypass them, and they can be applied or reset on the fly without restarting the container. Controls include file access rules, allowed processes, port bindings, and limits on file size, processes, turns, and timeout.

Does ClawLess work without a backend server?

That is its stated purpose. The sandbox runs a full Node.js runtime in the browser through WebContainers, and the demonstration has an agent install a package and generate a PowerPoint file entirely in the browser. The SDK is installed as a dependency with npm install clawcontainer.

Which AI providers does ClawLess support?

Anthropic, OpenAI and Google, selected with a single CLAWLESS_MODEL value and the matching API key variable. The supported model families are Claude Sonnet, Opus and Haiku, GPT-4o, GPT-4 and GPT-3.5, and Gemini Pro and Gemini Flash.

What is the current version of the clawcontainer package?

The manifest declares version 1.1.0, while the only GitHub release is v1.0.0 from 2026-03-19. The last push to the repository is 2026-07-08, and the exports map is ESM-only with no require condition.

Official sources

  1. License: MIT
  2. open-gitagent/clawless on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/open-gitagent-clawless.svg)](https://hysenlabs.com/projects/open-gitagent-clawless)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/open-gitagent-clawless.svg)](https://hysenlabs.com/projects/open-gitagent-clawless)

Was this useful?