Deterministic 4 MiB chunking, a signed binary Merkle manifest, and parallel fetch with per-chunk verification. Weft is what lets MARS-anchored artifacts and Sigil-committed datasets cross the P2P fabric without trusting any single peer. Records the DHT serves: /weft/v1/manifest, /weft/v1/chunk, /weft/v1/availability.
use weft::{Node, ManifestBuilder, FetchConfig};
let node = Node::open(".weave/weft").await?;
// Shred a multi-GB dataset, sign the manifest, publish to the DHT.
let manifest = ManifestBuilder::new()
.chunk_size(4 * 1024 * 1024)
.from_stream(tokio::fs::File::open(&path).await?)
.await?
.sign(&keypair);
let root = node.publish(manifest).await?;
// Anywhere on the network — parallel fetch, per-chunk verify.
let bytes = node.fetch(&root, FetchConfig::parallel(8)).await?;Start with the SDK or load the agent context. Every library is independently documented and versioned.