Skip to content

jsclaw integration — agent containers on Solid pods #199

@melvincarvalho

Description

@melvincarvalho

Summary

jsclaw is a pure JavaScript ESM library for running Claude agents in isolated Docker containers with streaming output, filesystem IPC, and built-in MCP tools. Zero dependencies, no build step — same philosophy as JSS.

Why it fits

  • Same stack — both are pure ESM JavaScript, zero dependencies, no transpilation
  • Container isolation — each agent runs sandboxed but can authenticate to the pod via NIP-98
  • Filesystem IPC — agents co-located with a pod can coordinate without network overhead
  • MCP tools — jsclaw's built-in MCP server can expose pod operations as agent tools
  • Concurrency control — per-group queuing means multiple agents can share a pod safely

Integration concept

A JSS pod + jsclaw = self-hosted data and self-hosted agents:

  1. Pod provides data storage, auth, and API endpoints
  2. jsclaw spins up agent containers with nostr keypairs
  3. Agents authenticate via NIP-98 and interact with pod REST endpoints
  4. Filesystem IPC for fast local coordination when co-located

Possible MCP tools for pod access

  • pod-read / pod-write — CRUD on pod resources
  • pod-inbox — check and respond to messages
  • pod-pay — interact with payment endpoints
  • pod-query — search/filter pod data

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions