# Wago documentation > A wonderfully quick, compact, and extensible WebAssembly runtime for Go Canonical documentation: https://docs.wago.sh/ Project website: https://wago.sh/ Source repository: https://github.com/wago-org/wago Use the Markdown links below for low-noise technical content. Canary tracks the newest successful changes, beta tracks the newest qualified prerelease, and stable versioned documentation appears after an official release. ## Canary channel - [Getting started](https://docs.wago.sh/raw/canary/getting-started.md): Install Wago, select a runtime, and run a real WebAssembly module from a clean terminal. - [Use the CLI](https://docs.wago.sh/raw/canary/guides/cli.md): Run and inspect Wasm, build standalone executables, and diagnose Wago workloads from the terminal. - [Configure and manage Wago](https://docs.wago.sh/raw/canary/guides/cli/configuration.md): Choose Wago runtime profiles, pin a revision, and keep project and user defaults separate. - [Profile and debug a workload](https://docs.wago.sh/raw/canary/guides/cli/profiling.md): Reproduce a Wasm trap, build the opt-in profiler, validate a workload, and distinguish elapsed timings from native CPU samples. - [Run and inspect modules](https://docs.wago.sh/raw/canary/guides/cli/running-modules.md): Choose exports, pass typed arguments, inspect module metadata, rerun changed Wasm, and save trusted native artifacts. - [Build a standalone executable](https://docs.wago.sh/raw/canary/guides/cli/standalone.md): Package WebAssembly as a native executable with Go or TinyGo, with tested prerequisites and platform limits. - [Run a WebAssembly component](https://docs.wago.sh/raw/canary/guides/components.md): Invoke a typed Component Model export from Go and run a WASI Preview 2 command through a scoped service lease. - [Cache compiled code](https://docs.wago.sh/raw/canary/guides/embed/artifacts.md): Serialize compiled WebAssembly, load trusted native code, and adopt it into a Wago runtime. - [Work with calls and state](https://docs.wago.sh/raw/canary/guides/embed/calls-and-state.md): Pass typed values, choose an instance lifetime, and access guest memory and globals. - [Exchange bytes with a guest](https://docs.wago.sh/raw/canary/guides/embed/guest-memory.md): Pass strings through a pointer-length host import, reject invalid ranges, and read and write guest memory from Go. - [Let Wasm call Go](https://docs.wago.sh/raw/canary/guides/embed/host-functions.md): Bind Go functions as WebAssembly imports and safely exchange data through guest memory. - [Add limits and cancellation](https://docs.wago.sh/raw/canary/guides/embed/limits-and-policy.md): Bound compilation and instance resources, apply guest policy, and cancel WebAssembly calls. - [Run WebAssembly from Go](https://docs.wago.sh/raw/canary/guides/embed/runtime-and-modules.md): Compile a WebAssembly module, create an isolated instance, and call an export from Go. - [Run Wago in a service](https://docs.wago.sh/raw/canary/guides/embed/services-and-concurrency.md): Reuse compiled code across concurrent calls and shut a long-lived Wago runtime down cleanly. - [Author Wago plugins](https://docs.wago.sh/raw/canary/guides/plugin-authoring.md): Build Wago plugins with explicit providers, exact Authorities, host imports, lifecycle hooks, configuration, and typed Contracts. - [Use plugins](https://docs.wago.sh/raw/canary/guides/plugins.md): Add, review, run, and update a Wago plugin step by step. - [Configure a plugin](https://docs.wago.sh/raw/canary/guides/plugins/authoring/configuration.md): Add strict JSON configuration to a Wago plugin and read it during registration. - [Contracts and dependencies](https://docs.wago.sh/raw/canary/guides/plugins/authoring/contracts.md): Connect Wago plugins through typed, major-versioned Contracts. - [Add a custom instruction](https://docs.wago.sh/raw/canary/guides/plugins/authoring/custom-instructions.md): Define a custom imported operation with portable semantics and an optional native compiler lowering. - [Add a custom compiler type](https://docs.wago.sh/raw/canary/guides/plugins/authoring/custom-types.md): Define an expression-scoped compiler value with a standard Wasm carrier and target-specific native representation. - [Definitions and providers](https://docs.wago.sh/raw/canary/guides/plugins/authoring/definitions-and-providers.md): Define immutable Wago plugin metadata, explicit provider factories, and side-effect-free register catalogs. - [Write your first plugin](https://docs.wago.sh/raw/canary/guides/plugins/authoring/first-plugin.md): Scaffold, register, and execute a Wago plugin that provides one host import to a WebAssembly guest. - [Call a plugin from guest code](https://docs.wago.sh/raw/canary/guides/plugins/authoring/guest-languages.md): Call the same Wago plugin import from WAT, AssemblyScript, and TinyGo. - [Add host imports](https://docs.wago.sh/raw/canary/guides/plugins/authoring/host-imports.md): Add reflection-free host imports to a Wago plugin and handle values and guest memory safely. - [Lifecycle and hooks](https://docs.wago.sh/raw/canary/guides/plugins/authoring/lifecycle-and-hooks.md): Start and stop plugin state at the correct boundary, then add scoped runtime observers or interceptors. - [Test a plugin](https://docs.wago.sh/raw/canary/guides/plugins/authoring/testing.md): Test a Wago plugin's Go code, registration plan, provider catalog, lifecycle, and clean installation. - [Plugin FAQ](https://docs.wago.sh/raw/canary/guides/plugins/faq.md): Short answers about Wago plugin trust, builds, scopes, lockfiles, configuration, Contracts, testing, and publishing. - [Review the install](https://docs.wago.sh/raw/canary/guides/plugins/grants-and-lockfiles.md): Review the installed plugin, its requested access, and the generated lockfile. - [Add a plugin](https://docs.wago.sh/raw/canary/guides/plugins/install-and-scope.md): Create a local Wago project and add its first plugin interactively. - [Publish a Wago plugin](https://docs.wago.sh/raw/canary/guides/plugins/publish.md): Initialize, review, authenticate, and publish an open-source Wago plugin package. - [Run and maintain the plugin](https://docs.wago.sh/raw/canary/guides/plugins/update-and-rebuild.md): Run with the plugin, review updates, and reproduce its runtime from the lockfile. - [Run a WASI command](https://docs.wago.sh/raw/canary/guides/wasi.md): Run a WASI Preview 1 command, pass arguments and environment, configure streams and mounts, and choose the Preview 2 path. - [Welcome to Wago](https://docs.wago.sh/raw/canary/index.md): A wonderfully quick, compact, and extensible WebAssembly runtime for Go - [Configuration](https://docs.wago.sh/raw/canary/reference/configuration.md): Configure Wago globally, override it per project, and control deterministic automation with manifests and flags. - [Configure CI, shells, and the Go API](https://docs.wago.sh/raw/canary/reference/configuration/automation-and-go.md): Isolate Wago state, use automation flags and shell completions, and configure the Go runtime API. - [Configure `wago.json`](https://docs.wago.sh/raw/canary/reference/configuration/project-manifest.md): Configure Wago runtime features, optimizations, workers, and plugins in wago.json. - [Configure global and project settings](https://docs.wago.sh/raw/canary/reference/configuration/scopes-and-settings.md): Inspect and edit Wago settings in global or project scope, including experimental previews. - [Troubleshooting](https://docs.wago.sh/raw/canary/troubleshooting.md): Diagnose Wago installation, runtime, module, plugin, compilation, and Go API failures from the outside in. - [Fix Go API and guest memory problems](https://docs.wago.sh/raw/canary/troubleshooting/go-api-and-memory.md): Diagnose Wago Go API host signatures, guest memory access, cancellation, and instance concurrency. - [Fix installation and runtime selection](https://docs.wago.sh/raw/canary/troubleshooting/installation-and-runtimes.md): Fix Wago PATH, missing runtime, wrong variant, cache, and stale precompiled artifact problems. - [Fix module, import, export, and call errors](https://docs.wago.sh/raw/canary/troubleshooting/modules-and-calls.md): Diagnose Wago module decoding, validation, imports, exports, arguments, and WebAssembly feature sets. - [Fix plugin resolution and standalone builds](https://docs.wago.sh/raw/canary/troubleshooting/plugins-and-builds.md): Diagnose Wago plugin resolution, Authority Grants, Contract bindings, lockfiles, offline mode, and standalone builds. - [Using plugins](https://docs.wago.sh/raw/canary/using-plugins.md): Install the WASI plugin, review its access, and run a WASI module with Wago. ## Beta channel - [Getting started](https://docs.wago.sh/raw/beta/getting-started.md): Install Wago, select a runtime, and run a real WebAssembly module from a clean terminal. - [Use the CLI](https://docs.wago.sh/raw/beta/guides/cli.md): Invoke, inspect, develop, debug, and precompile WebAssembly modules with the Wago CLI. - [Configure and manage Wago](https://docs.wago.sh/raw/beta/guides/cli/configuration.md): Configure CLI defaults and select, update, or pin Wago runtimes. - [Cache compiled code](https://docs.wago.sh/raw/beta/guides/embed/artifacts.md): Serialize compiled WebAssembly, load trusted native code, and adopt it into a Wago runtime. - [Work with calls and state](https://docs.wago.sh/raw/beta/guides/embed/calls-and-state.md): Pass typed values, choose an instance lifetime, and access guest memory and globals. - [Let Wasm call Go](https://docs.wago.sh/raw/beta/guides/embed/host-functions.md): Bind Go functions as WebAssembly imports and safely exchange data through guest memory. - [Add limits and cancellation](https://docs.wago.sh/raw/beta/guides/embed/limits-and-policy.md): Bound compilation and instance resources, apply guest policy, and cancel WebAssembly calls. - [Run WebAssembly from Go](https://docs.wago.sh/raw/beta/guides/embed/runtime-and-modules.md): Compile a WebAssembly module, create an isolated instance, and call an export from Go. - [Run Wago in a service](https://docs.wago.sh/raw/beta/guides/embed/services-and-concurrency.md): Reuse compiled code across concurrent calls and shut a long-lived Wago runtime down cleanly. - [Author Wago plugins](https://docs.wago.sh/raw/beta/guides/plugin-authoring.md): Build Wago plugins with explicit providers, exact Authorities, host imports, lifecycle hooks, configuration, and typed Contracts. - [Use plugins](https://docs.wago.sh/raw/beta/guides/plugins.md): Add, review, run, and update a Wago plugin step by step. - [Configure a plugin](https://docs.wago.sh/raw/beta/guides/plugins/authoring/configuration.md): Add strict JSON configuration to a Wago plugin and read it during registration. - [Contracts and dependencies](https://docs.wago.sh/raw/beta/guides/plugins/authoring/contracts.md): Connect Wago plugins through typed, major-versioned Contracts. - [Add a custom instruction](https://docs.wago.sh/raw/beta/guides/plugins/authoring/custom-instructions.md): Define a custom imported operation with portable semantics and an optional native compiler lowering. - [Add a custom compiler type](https://docs.wago.sh/raw/beta/guides/plugins/authoring/custom-types.md): Define an expression-scoped compiler value with a standard Wasm carrier and target-specific native representation. - [Definitions and providers](https://docs.wago.sh/raw/beta/guides/plugins/authoring/definitions-and-providers.md): Define immutable Wago plugin metadata, explicit provider factories, and side-effect-free register catalogs. - [Write your first plugin](https://docs.wago.sh/raw/beta/guides/plugins/authoring/first-plugin.md): Scaffold and test a Wago plugin that provides one host import to WebAssembly guests. - [Call a plugin from guest code](https://docs.wago.sh/raw/beta/guides/plugins/authoring/guest-languages.md): Call the same Wago plugin import from WAT, AssemblyScript, and TinyGo. - [Add host imports](https://docs.wago.sh/raw/beta/guides/plugins/authoring/host-imports.md): Add reflection-free host imports to a Wago plugin and handle values and guest memory safely. - [Lifecycle and hooks](https://docs.wago.sh/raw/beta/guides/plugins/authoring/lifecycle-and-hooks.md): Start and stop plugin state at the correct boundary, then add scoped runtime observers or interceptors. - [Test a plugin](https://docs.wago.sh/raw/beta/guides/plugins/authoring/testing.md): Test a Wago plugin's Go code, registration plan, provider catalog, lifecycle, and clean installation. - [Plugin FAQ](https://docs.wago.sh/raw/beta/guides/plugins/faq.md): Short answers about Wago plugin trust, builds, scopes, lockfiles, configuration, Contracts, testing, and publishing. - [Review the install](https://docs.wago.sh/raw/beta/guides/plugins/grants-and-lockfiles.md): Review the installed plugin, its requested access, and the generated lockfile. - [Add a plugin](https://docs.wago.sh/raw/beta/guides/plugins/install-and-scope.md): Create a local Wago project and add its first plugin interactively. - [Publish a Wago plugin](https://docs.wago.sh/raw/beta/guides/plugins/publish.md): Initialize, review, authenticate, and publish an open-source Wago plugin package. - [Run and maintain the plugin](https://docs.wago.sh/raw/beta/guides/plugins/update-and-rebuild.md): Run with the plugin, review updates, and reproduce its runtime from the lockfile. - [Welcome to Wago](https://docs.wago.sh/raw/beta/index.md): A wonderfully quick, compact, and extensible WebAssembly runtime for Go - [Configuration](https://docs.wago.sh/raw/beta/reference/configuration.md): Configure Wago globally, override it per project, and control deterministic automation with manifests and flags. - [Configure CI, shells, and the Go API](https://docs.wago.sh/raw/beta/reference/configuration/automation-and-go.md): Isolate Wago state, use automation flags and shell completions, and configure the Go runtime API. - [Configure `wago.json`](https://docs.wago.sh/raw/beta/reference/configuration/project-manifest.md): Configure Wago runtime features, optimizations, workers, and plugins in wago.json. - [Configure global and project settings](https://docs.wago.sh/raw/beta/reference/configuration/scopes-and-settings.md): Inspect and edit Wago settings in global or project scope, including experimental previews. - [Troubleshooting](https://docs.wago.sh/raw/beta/troubleshooting.md): Diagnose Wago installation, runtime, module, plugin, compilation, and Go API failures from the outside in. - [Fix Go API and guest memory problems](https://docs.wago.sh/raw/beta/troubleshooting/go-api-and-memory.md): Diagnose Wago Go API host signatures, guest memory access, cancellation, and instance concurrency. - [Fix installation and runtime selection](https://docs.wago.sh/raw/beta/troubleshooting/installation-and-runtimes.md): Fix Wago PATH, missing runtime, wrong variant, cache, and stale precompiled artifact problems. - [Fix module, import, export, and call errors](https://docs.wago.sh/raw/beta/troubleshooting/modules-and-calls.md): Diagnose Wago module decoding, validation, imports, exports, arguments, and WebAssembly feature sets. - [Fix plugin resolution and standalone builds](https://docs.wago.sh/raw/beta/troubleshooting/plugins-and-builds.md): Diagnose Wago plugin resolution, Authority Grants, Contract bindings, lockfiles, offline mode, and standalone builds. - [Using plugins](https://docs.wago.sh/raw/beta/using-plugins.md): Install the WASI plugin, review its access, and run a WASI module with Wago. ## Optional authoring reference - [Documentation components](https://docs.wago.sh/raw/components.md): Author rich Wago documentation with synchronized tabs, cards, steps, API blocks, file trees, and WAT highlighting. ## Machine-readable resources - [Complete documentation in one file](https://docs.wago.sh/llms-full.txt): Every indexed page concatenated as Markdown. - [Structured documentation index](https://docs.wago.sh/data/docs.json): Canonical URLs, Markdown mirrors, descriptions, and headings as JSON. - [XML sitemap](https://docs.wago.sh/sitemap.xml): Search-engine discovery with Git-backed modification dates.