The peer-to-peer agentic OS.
Agentic frameworks give you a platform for running agents. Wetware gives your agents an operating system. It provides primitives (processes, networking, storage, identity) and gets out of the way. Processes are network-addressable, capability-secured, and peer-to-peer by default.
Where agentic frameworks rely on ambient authority — any code can call any API, read any secret, spend any resource — Wetware replaces this with capabilities. A process can only do what it's been handed a capability to do.
Read github.com/wetware/ww/.agents/prompt.md, check if we're in a wetware environment, and help me get started.
ww run boots an agent:
- Starts a libp2p swarm on the configured port
- Loads
bin/main.wasmfrom the merged image - Spawns the agent with a Membrane — the capability hub that grants access to host, network, IPFS, and identity services via Cap'n Proto RPC
Agents call membrane.graft() to receive epoch-scoped
capabilities. When the on-chain epoch
advances (new code deployed, configuration changed), all capabilities
are revoked and the agent must re-graft, picking up the new state
automatically.
Glia is a Clojure-inspired language where capabilities are first-class values. The design blends three traditions:
- E-lang: capabilities as values you can pass, compose, and attenuate
- Clojure: s-expression syntax, immutable data, functional composition
- Unix: processes, PATH lookup, stdin/stdout, init.d scripts
rustup target add wasm32-wasip2 # one-time
make # build everything (host + std + examples)
cargo test # run testsRequires Rust with wasm32-wasip2 target. Optional:
Kubo for IPFS resolution.
make container-build # build with podman (default)
CONTAINER_ENGINE=docker make container-build # or with docker
podman run --rm wetware:latest # boots kernel + shell- Architecture — design principles and capability flow
- Capabilities — the capability model and Cap'n Proto schemas
- Image layout — FHS convention, mounts, and on-chain coordination
- CLI reference — full command-line usage
- Shell — Glia shell details
- Platform vision — roadmap and design