Each Responsibility in the Environment Best Suited to It
Polyglot architecture is not permission to create unnecessary complexity. It is a controlled method for placing each responsibility in the environment best suited to it.
Responsibility Matrix
Native Core
Rust for protocol handling, secure runtime, and deterministic automation.
AI & Models
Python for experimentation, training, embeddings, and agent frameworks.
Web Interface
TypeScript and SvelteKit for typed web applications and control planes.
Desktop Shell
Tauri combining Rust native core with modern web UI.
Browser-Local AI
TypeScript with WebLLM and WebGPU for client-side inference.
Boundary Rules
Each cross-language boundary must define schema, version, timeout, error format, authentication, authorization, logging, retry behavior, ownership, and test method.