Toolsforai ships as a practical toolchain: compiler, formatter, test runner, docs index, MCP server, browser renderer, and fullstack RPC path.
CLIOne command surface for format, type-check, tests, running, building, docs, interfaces, and MCP.
fai fmt fai check fai test fai run fai build fai doc fai mcp
FORUIA function-based UI layer for forai apps. Compose views with stacks, signals, routing, and HTML rendering.
use { VStack, Label } from Forui.view VStack do Label('Hello forai') end
MCPThe built-in server exposes official forai commands and docs to AI tools without creating a separate workflow.
fai mcp
Project Workflow
WASM + HTML`target = "wasm-html"` produces a browser bundle with runtime JavaScript and forui CSS.
NATIVE`target = "native"` packages the compiled wasm with the runtime for host executables.
RPCFullstack apps use `remote def`, generated client proxies, and a server RPC dispatcher.