Distributed Multi-Agent Coordination
Starweft is a P2P CLI that coordinates principal, owner, worker, and relay nodes to decompose visions into tasks and execute them with OpenClaw-powered AI agents.
Architecture
Submits visions (goals) and issues stop commands to the network.
Decomposes visions into tasks and distributes them to available workers.
Executes tasks via the OpenClaw bridge and reports progress and results.
Forwards messages between nodes that cannot communicate directly.
Features
No central server. All nodes communicate directly via libp2p or local mailbox transport.
Every message is cryptographically signed with Ed25519. Canonical JSON ensures deterministic verification.
Principal, Owner, Worker, and Relay roles collaborate to decompose visions into executable tasks.
Workers execute tasks via OpenClaw bridge, enabling autonomous AI agent execution with progress reporting.
All events are persisted to a local SQLite database with WAL mode for reliable, append-only storage.
Runs on Linux, macOS, and Windows with platform-aware defaults for transport and data directories.
Full lifecycle from vision submission through planning, assignment, execution, evaluation, and completion.
Everything runs on your local machine. No cloud services, no databases to manage, no monthly bills.
Installation
Quick Start
FAQ
Starweft is a distributed multi-agent task coordination CLI built in Rust. It enables multiple AI agents to collaborate on complex tasks using a P2P architecture.
No. Starweft is fully peer-to-peer. Nodes communicate via local Unix sockets or libp2p TCP. There is no central server.
OpenClaw is an autonomous AI agent execution framework. Starweft workers use OpenClaw to execute tasks by spawning it as a subprocess.
Linux (x86_64), macOS (x86_64, aarch64), and Windows (x86_64). The Rust toolchain handles cross-compilation.
Yes. Starweft is open source under the MIT license. The only cost is the LLM API usage from OpenClaw, which is not a Starweft expense.
Nodes are manually registered as peers using the `starweft peer add` command with their multiaddr, actor ID, node ID, and public key.