CesiumJS AI Starter App
A ready-to-run starter pairing a CesiumJS 3D globe with an LLM chat interface that drives it via tool calls (e.g. "fly to Paris") — with the API key kept server-side.
Scroll, swipe, or use the arrows — click a slide for details, including tutorials
Cesium Viewer Tools Tutorial
Ask in plain English — "fly to Palm Jumeirah with altitude 8000" — and the LLM calls the flyTo tool to animate the camera there.
Codegen Tool Tutorial
Ask for something not in the tool library — the LLM generates AST-verified CesiumJS code, sandboxed and run only after your approval.
Read the tutorial →
Adding an MCP Server
Connect any Model Context Protocol server via MCP_SERVERS — its tools plug straight into the same agent loop, gated by the same approval flow.
Want to learn more?
Architecture
Component layout, request flow, and Docker topology for the full stack.
Read →Codegen Architecture
How natural-language intents become AST-verified, sandboxed CesiumJS code.
Read →MCP Support Architecture
How Model Context Protocol servers plug external tools into the agent loop.
Read →@cesium-ai/codegen-cesium
Intent-to-code generation pipeline: BM25 skill matching, prompt building, and AST verification (server only).
Read →@cesium-ai/codegen-sandbox
QuickJS-wasm sandbox that safely executes AST-verified code against the live Viewer (frontend only).
Read →@cesium-ai/mcp-tools
Optional MCP client bridge — connect external Model Context Protocol tool servers into the agent loop.
Read →