Getting started#

Janux is a fullstack UI framework with two first-class audiences: humans and AI agents. A single component definition projects a view (for people), a typed resource (for agents) and a set of tools (for both) — so your UI and your agent surface can never drift apart.

New here? Take the short path first:

Page What you get
What is Janux? The idea, and what's in the box
Quick start An app running, copilot included
Project structure Every convention, all optional
Mental model The four ideas that carry the framework (and a React map)
Editor setup tsconfig, JSX runtime, troubleshooting

In one command#

bun create janux my-app
cd my-app && bun install && bun run dev

The dev server prints three URLs: your app, /_janux/manifest (what agents see) and /_janux/agent (the copilot endpoint). Open the first two side by side — that's the whole pitch.

Then read this guide in order#

The rest of the guide builds an app the way you actually would: ComponentsSchema typesIntents and guardsStoresapi() as agent toolsThe agent and your copilot.

Prefer learning by doing? The tutorial builds a task board with two faces in three parts, and every example app runs with one command.