Tutorials
Step-by-step guides for common tasks in the SID Platform
Tutorial 1: Creating Your First Application
- Sign up for an account at sidai.live
- Get your API key from the API Portal
- Create a new ADL file describing your application
- Use the compile_adl tool to generate your application
- Deploy the generated code
Tutorial 2: Using the Model Context Protocol (MCP)
- Obtain your MCP API key
- Connect to the MCP endpoint at
https://api.sidislab.com/mcp - Use the
recall_memorytool to get relevant patterns - Use the
get_tool_cookbooktool to plan your approach - Write your ADL specification
- Validate with
validate_adl - Compile with
compile_adl - Monitor progress with
task_get - Retrieve results with
task_result
Compiler Targets
The compiler validates the declared target kinds through the live gateway (18 of 22 kind probes pass validate_adl; the 4 un-emitted backends fail loudly at validation, never silently emitting the wrong server). Emission is build-verified end to end: axum, express, and fastapi backends compile and serve real API round-trips, and the react-app, vue-app, svelte-app, solid-app, and leptos-app frontends build into apps that route to their CRUD pages.
Backends (axum + express + fastapi EMIT; actix/hono/fastify/go-gin reject)
axum · express · fastapi · binary
Recognized but rejected at validate_adl until emitters land: actix · hono · fastify · go-gin
Frontends (react/vue/svelte/solid/leptos build today)
react-app · vue-app · svelte-app · solid-app · leptos-app
nextjs-app and drogon-static validate; emission parity tracked in the DIS bug list
Databases (postgresql + sqlite emit correct SQL today)
postgresql · sqlite
clickhouse · mysql · mongodb · redis · none validate; query placeholders still target postgres/sqlite
The engine also emits real C++ for its system/config domains (config types, storage rows, internal tooling) — those are not application backends. Python is a first-class backend via backend: "fastapi".
Tutorial 3: Deploying Generated Applications
- After code generation, navigate to the
generateddirectory - For Docker deployment: run
docker-compose up -d - For direct deployment: build and run the backend binary
- Configure environment variables as needed
- Access your application at the configured ports