HTML / SSR
Pre-rendered pages plus hydration. Wiki ships as 128 typed pages today.
Flagship - now in production
GaiaLang is the authoring substrate underneath everything Gaia ships. Write a source once. The compiler can emit the web page, terminal UI, agent prompt, policy row, typed clients, services, workers, or runtime modules. The same compact source stays readable for humans and token-efficient for LLMs.
Targets
GaiaLang syntax
GaiaLang pages use a small, highlighted authoring grammar: page metadata, section blocks, lists, tables, wiki links, and embedded script only where logic is needed.
That keeps wiki pages, product specs, prompts, and policy rows understandable to people before
the compiler emits them for Gaia services.
Language backends
GaiaLang is not tied to one output language. The source stays human-readable while emitters can generate TypeScript for apps, Python for workflow glue, Go for services, Rust for runtime modules, or another target when the platform needs it.
Built for LLMs
GaiaLang gives agents compact structure instead of dumping loose docs into the prompt. Stable sections, typed metadata, tables, and explicit links let Gaia load only the slice a task needs, preserve cache-friendly prefixes, and turn the same source into prompts, policies, UI, and code.
Why this exists
Documentation drifts from code. Policies drift from the kernel that enforces them. The UI string differs from the agent prompt that explains it. GaiaLang treats this as a category error. The component, the rule, the prompt, and the page are not separate things that need to stay in sync. They are one source the compiler lowers into whatever target the job needs.
Emit targets
Pre-rendered pages plus hydration. Wiki ships as 128 typed pages today.
JSON render tree consumed by Gaia terminal clients; other runtime backends can be emitted from the same source.
The same source the humans read becomes the system prompt the agents use.
Policies become rows. Decisions cite the same lines humans see.
Emit TypeScript, Python, Go, Rust, or another target when a workflow needs a different runtime.
Compact structure, typed metadata, and stable sections keep prompts small and cache-friendly.
Hard and soft tiers
Not every diff carries the same weight. A typo in a policy paragraph is not a behavior change. A new rule on the kernel is. GaiaLang classifies every change and routes it accordingly. The compiler is the gatekeeper, not a meeting.
Live-patch broadcast. No image rebuild. No deploy. Clients pick up the signed patch and hot-swap.
PR + database ratification. CI lockstep check flags it. Nothing runs until it is signed off.
The four principles
The compiler owns the lowering. The wiki page, agent prompt, terminal UI, policy row, typed client, worker, and service adapter can all come from the same source.
Docs and code do not drift because they are the same artifact. A diff to a policy paragraph either ratifies as soft text or fails the lockstep check.
Soft overrides may narrow a rule, never loosen it. The compiler enforces the direction.
Gaia owns the authoring substrate. Product specs, wiki pages, prompts, policies, and emitted artifacts move together under one compiler.
Shipping today
Try GaiaLang
The same compiler powering the page you are reading powers every product Gaia ships. Start a project and you are on it from the first line.
Request alpha access