Build with Orthese.
Everything you need to run modular Pieces in WebAssembly or Desktop GPUI, pipe typed context payloads, load progressive SKILL.md files, and route across 44 models.
Quickstart
Orthese compiles from one Rust + GPUI core to both a zero-install WebAssembly browser dashboard and a native 120fps Desktop binary. Pick your target runtime and package manager below:
# Create a new WASM-compatible Piece
pnpm create orthese-piece my-piece --target wasm32
cd my-piece
# Install dependencies & launch local WASM canvas
pnpm install
pnpm dev:wasmScaffolds a standard Piece with zero elevated permissions and runs the wasm32 preview canvas locally.
Monorepo & Manifest Tree
Explore how crates/, apps/, and skills/ fit together. Click any file in the Tree View to inspect its piece.json, SKILL.md, or Rust entrypoint.
{
"id": "orthese.website-builder",
"version": "0.1.0",
"extends": "orthese.base-harness",
"defaultModel": "gemini-4-neon",
"permissions": {
"standard": ["ai:generate", "context:send", "context:receive"],
"elevated": []
},
"context": {
"accepts": ["orthese/spec", "text/markdown"],
"emits": ["orthese/html-bundle"]
},
"monetization": {
"purchaseType": "free",
"priceUsd": 0,
"tokenRevShare": true
}
}Empty elevated[] array makes this Piece immediately eligible for zero-install WebAssembly execution.
Piece SDK (piece.json)
Every Piece declares its capabilities, accepted/emitted context contracts, default real model, and optional tokenRevShare in a single manifest. Free Pieces with tokenRevShare: true earn 20% of token margin automatically.
Inherits streaming, checkpoints, model switching, and SKILL.md loading.
Leaving elevated empty unlocks instant zero-install WebAssembly execution.
Keep community Pieces free while earning Polar creator attribution.
Shared Context Bus
Pieces never force copy-pasting between tabs. Any Piece emitting a typed contract publishes directly onto bus://workspace.default so downstream panes receive structured state immediately:
Structured architecture & UI specs drafted by AI Prompt Box.
Live previewable HTML/Tailwind artifacts rendered in Website Builder.
Folder-scoped patches & test reports verified in Software Engineer.
Progressive SKILL.md
Skills stay indexed as lightweight frontmatter metadata and stream their full instruction body into the active context window only when triggered, keeping token usage lean.
---
name: landing-page-architect
description: Calm BoardUI dark layouts with crisp surface contrast.
triggers: ["landing page", "hero", "marketing site"]
---
# Landing Page Architect
1. Start from an optically centered hero on #121212.
2. Alternate hairline borders with elevated #161618 / #171717 surfaces.
3. Emit valid orthese/html-bundle payloads directly onto the Shared Context Bus.Scoped MCP Hub & Tiered Permissions
Every capability must be explicitly listed in piece.json. Inspect each permission scope below:
Grants access to streaming completions through orthese.base-harness. Requests are metered transparently against the user's non-expiring credit balance (Cloudflare Edge) or routed at zero cost through Desktop CLIProxyAPI OAuth.
Restricted exclusively to folders explicitly mounted into the current workspace on Native Desktop. Write operations surface an interactive unified diff preview before touching files on disk.
Orthese Router & Desktop GPUI Runtime
Select any of 44 real models across 13 providers (including Claude Opus 5.5, GPT-6.2 Astra, Gemini 4 Neon, and Meta Muse), or let Auto and Max route dynamically per turn. On Desktop, toggle the local CLIProxyAPI sidecar or Ollama to run at zero credit cost.
Cloudflare Edge Credits
- 28ms average edge dispatch
- One non-expiring balance across all Pieces
- Zero external API keys or billing portals
Local CLIProxyAPI Sidecar
- 4ms local dispatch on Native Desktop
- Reuses Claude Code, Codex & Gemini CLI OAuth
- Live per-provider quota bars & failover
GitHub Repo Auto-Import & Manual Approval Queue
Anyone can import a public GitHub repository at /marketplace/import. The inspector scans the repository tree and pinned commit SHA to automatically classify piece.json (Pieces), SKILL.md (Skills), orthese.pack.json (Starter Packs), and multi-asset monorepos.
Private Canvas Testing (No Approval Needed)
Click Test Privately on Dashboard to snap any detected repo onto your local /dashboard immediately. Every Piece adapts across 5 sizes: XS (1/6 · 1:1 mini square), S (1/4 · 1:1), M (1/3 · 1:1), L (2/3 wide), and XL (full split canvas).
Public Marketplace Approval Gate (@LukaG712)
Submitting to the public Marketplace opens a pinned-SHA GitHub Issue labeled marketplace-submission with a validated orthese-submission payload. When @LukaG712 applies the approved label, GitHub Actions validates the payload and opens a pull request that updates src/data/community-registry.json. The listing goes live when that pull request is merged.
Frequently Asked Questions
Any Piece whose permissions.elevated array in piece.json is empty compiles directly to wasm32 and launches inside app.orthese.com in under 10 seconds. Pieces requesting fs:write or shell:exec automatically show a sandbox preview on Web and unlock full execution on Native Desktop.