MCPcopy Create free account
hub / github.com/bytecodealliance/component-docs

github.com/bytecodealliance/component-docs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
73 symbols 128 edges 29 files 9 documented · 12% 1 cross-repo links updated 9d ago★ 13525 open issues

Browse by type

Functions 59 Types & classes 14
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

WebAssembly Component Model Documentation

This repository contains user-facing documentation for the WebAssembly component model. "User-facing" means it focuses on how to use the component model, not on the internal design and implementation details.

The documentation is published at https://component-model.bytecodealliance.org/.

Documentation on WASI (WebAssembly System Interface) can be found at https://wasi.dev/. See the wasi.dev repository to contribute to that documentation.

Contributions are welcome - see Contributing for more info. Planned work is listed in the Issues section, but if there's content missing that you think would be helpful to gain understanding of the component model, please feel free to add a new issue, or send a PR directly!

Related Projects

The Bytecode Alliance maintains several related projects across different categories:

Runtimes & Frameworks

Name Description
wasmtime Runtime for WebAssembly components
wrpc Wasm component-native RPC framework

Tools

Name Description
wasm-tools WebAssembly tooling
wit-bindgen WIT bindings generator
cargo-component Component tooling

Language Tooling

Name Description
ComponentizeJS JavaScript component tooling
go-modules Go modules support

Templates & Samples

Name Description
sample-wasi-http-js WASI HTTP JavaScript sample
sample-wasi-http-rust WASI HTTP Rust sample

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 42
Method 17
Class 7
Interface 5
Enum 2

Languages

Rust63%
TypeScript18%
Python8%
C5%
Go3%
C#3%

Modules by API surface

component-model/examples/tutorial/calculator/src/bindings.rs12 symbols
component-model/examples/tutorial/command/src/bindings.rs9 symbols
component-model/examples/tutorial/adder/src/bindings.rs7 symbols
component-model/theme/tabs-a11y.js5 symbols
component-model/examples/tutorial/command/src/main.rs5 symbols
component-model/theme/tabs-url-sync.js4 symbols
component-model/examples/example-host/src/state.rs4 symbols
scripts/generate_sitemap.py3 symbols
component-model/examples/example-host/src/main.rs3 symbols
component-model/examples/tutorial/python/app.py2 symbols
component-model/examples/tutorial/go/adder/main.go2 symbols
component-model/examples/tutorial/csharp/adder/Component.cs2 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add component-docs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page