Documentation
TotalFusion extends Total.js with other runtimes. These pages explain how to use it. The README of the project is the short version.
Start here#
| Getting started | Install it, call your first function, and make it an action of Total.js. |
| Tutorials | Step by step, with an application that is tested on every change. |
| Use cases | What it is good for, with the numbers that were measured. |
| How it works | The pool, the workers and the protocol. |
The runtimes#
| Python | Machine learning and any Python library. Available. |
| Rust | Speed, threads and a small footprint. Available. |
| Go | Network and infrastructure code, many calls at once, easy to build for any system. Available. |
| WebAssembly | Functions in a sandbox, in one file that runs on any system. Available. |
Features that every runtime shares#
| Total.js 5 | Actions, validation, permissions, API routes, MCP tools and Server-Sent Events. |
| Flow | Seven components for Total.js Flow: call a function, stream chunks, watch the workers and read the stats. |
| Binary data | Buffers and typed arrays without base64. |
| Streaming | Generators as async iterables, with backpressure and cancellation. |
| Working with the workers | Concurrency, recycling, the health check, events and retrying. |
| Errors and cancellation | The error codes and how a call is cancelled. |
| Development and diagnosis | Reload when the code changes, and the doctor. |
| AI assistants | The files for models and agents, the schemas, and your functions as tools. |
| Security | What it protects and what it does not. |
| Reference | Every option, method and command. |
About the project#
Changelog · Contributing · The Rust crate · The Go module
Edit this page on GitHub