feat: add OpenClaw multiplexing demo#177
Conversation
af8e8cb to
a18fcc3
Compare
a18fcc3 to
99c2217
Compare
| console.log(`[ClawAgent] Identity ${this.actorId} initialized.`); | ||
| } | ||
|
|
||
| public async performTask(durationMs: number) { |
There was a problem hiding this comment.
Will we consider to let /task actually invoke a real Google Claw/LLM in the image this PR builds, otherwise the workload is more like a stub rather than a real agent?
| // The base path. This is both the path of the root shared folder on the | ||
| // host filesystem, and when it is mounted into ateom and atelet containers. | ||
| BasePath = "/run/ateom-gvisor" | ||
| BasePath = "/var/lib/ateom-gvisor" |
There was a problem hiding this comment.
Is this change related to this PR?
| - name: run-ateom | ||
| hostPath: | ||
| path: /run/ateom-gvisor | ||
| path: /var/lib/ateom-gvisor |
There was a problem hiding this comment.
Is this change related to this PR? Why are we changing this and NOT calling it out in the PR text? Should we do this in a separate PR and land that first if it is intentional?
| RUN npm install | ||
|
|
||
| # Copy source code | ||
| COPY src/ ./src/ |
There was a problem hiding this comment.
Does this work?
There was a problem hiding this comment.
i needed to do
--- a/demos/openclaw/Dockerfile
+++ b/demos/openclaw/Dockerfile
@@ builder stage @@
# Copy source code
-COPY src/ ./src/
+COPY workload/ ./workload/
+COPY ui/ ./ui/
# Build zero-dependency bundles
-RUN ./node_modules/.bin/esbuild src/agent.ts \
+RUN ./node_modules/.bin/esbuild workload/agent.ts \
--bundle --platform=node --target=node22 \
--outfile=dist/agent.js --external:node:*
-RUN ./node_modules/.bin/esbuild src/demo-ui.ts \
+RUN ./node_modules/.bin/esbuild ui/demo-ui.ts \
--bundle --platform=node --target=node22 \
--outfile=dist/demo-ui.js --external:node:*
|
|
||
| ## **Metadata** | ||
| * **Environment**: `http://<YOUR_DASHBOARD_IP>` | ||
| * **Logical Identities**: Claw-Luna (Blue 🟦), Claw-Mars (Pink 🟪), Claw-Nova (Gold 🟨) |
There was a problem hiding this comment.
Who creates these 3 actors? is there a missing script?
|
|
||
| A high-density demonstration of three stateful **OpenClaw** agents (`Claw-Luna`, `Claw-Mars`, `Claw-Nova`) sharing two physical **Agent Substrate** worker pods. This PoC showcases **Liquid Hardware**: Substrate automatically suspends idle agents and rehydrates them on-demand, allowing a cluster to host significantly more logical agents than physical compute slots. | ||
|
|
||
| **Live Demo URL:** [http://136.119.224.22](http://136.119.224.22) (Internal/GCP) |
There was a problem hiding this comment.
Let's drop these?
Overview
This PR introduces a high-fidelity demonstration of Google Claw (v2026.3.14) running on Agent Substrate. It showcases the platform's ability to handle 1.5x hardware oversubscription (3 logical agents on 2 physical pods) while preserving in-memory reasoning state across migration cycles.
Key Features Demonstrated
taskCounterin the Node.js process memory survives multiple suspend/resume cycles.Migration & Portability
demos/openclaw/.ui/andworkload/subfolders.package.jsonand Dockerfile.Verification
Demo Recording
Will be added soon.
Tests pass
Appropriate changes to documentation are included in the PR