Draft copy for a future Spanda project website. Use as-is or adapt for static site generators.
Spanda — The Autonomous Systems Platform
Safety-first platform with a dedicated .sd language at its core. Build, verify, simulate, deploy,
and operate autonomous systems.
Brand assets (repo assets/image/):
| Asset | Use |
|---|---|
low_res_logo.png |
README, docs headers, nav |
logo.png |
Website hero |
banner.png |
Website banner strip |
app_favicon.png |
Favicon, VS Code extension icon |
high_res_logo.png |
Print, slides, high-DPI |
simple.png, template.png, files.png |
Social, docs templates |
git clone https://github.com/Davalgi/Spanda.git
npm run build:rust
spanda run examples/showcase/rover_navigation.sd
Build. Verify. Simulate. Deploy. Operate. — for autonomous systems.
The pulse of autonomous intelligence.
Hardware is the body.
Sensors are the senses.
AI models are the mind.
Actuators are the muscles.
Spanda is the intelligent pulse that transforms perception, intent, and safety into action.
Spanda (Pronounced SPUN-duh (/ˈspʌndə/)) is a Sanskrit term meaning the divine pulse — the creative vibration of consciousness and energy that manifests as expansion and contraction in all entities, bridging stillness and movement within consciousness; and the first stir of awareness that creates and sustains the universe.
Safety-first AI
LLMs propose actions. Only safety.validate() unlocks actuators. Compile-time and runtime
enforcement.
Deploy with confidence
spanda verify checks sensors, memory, timing, and power against hardware profiles before you ship.
Robot-native syntax
Sensors, actuators, topics, tasks, and safety zones are language keywords — not framework
boilerplate.
robot Rover {
sensor lidar: Lidar on "/scan";
actuator wheels: DifferentialDrive;
ai_model planner: LLM { provider: "mock"; }
safety { max_speed = 1.0 m/s; stop_if lidar.nearest_distance < 0.5 m; }
agent Navigator {
uses planner;
plan {
let action = safety.validate(planner.reason(prompt: "Navigate", input: lidar.read()));
wheels.execute(action);
}
}
}
Spanda orchestrates AI, robotics, safety, verification, and deployment. Keep your models in Python and drivers in C++.
ai_model, agent, goal, memoryActionProposal → SafeAction safety gaterobot, sensor, actuator, behavior, task every Nmsm, s, rad, m/smax_speed, stop_if, emergency stophardware profiles and deploy targetsspanda verify with matrix and fault injectionmessage, topic, service, actionspanda run / spanda simtwin { mirror pose; replay true; }deadline, jitter <=, priority, critical isolatedmode blocks, recover from, retry/fallback--wall-clockspanda sim --record writes JSON mission traces (v2 with state snapshots)spanda replay --deterministic verifies frame parity against sourcespanda replay --playback applies recorded state without re-running logicRegex / Match / Capture typesvalidate rulesspanda init, build, test, installspanda.toml manifest and lockfileRust core, TypeScript tooling, dual-layer architecture.
.sd → lexer → parser → AST → type checker → interpreter + simulator
Optional: SIR → LLVM (experimental)
| Layer | Technology |
|---|---|
| Language core | Rust (spanda-core) |
| CLI | Rust (spanda-cli) |
| Bindings | N-API, WASM |
| Developer UX | TypeScript, React, LSP |
Link to architecture.md for full diagrams.
| Example | Highlights |
|---|---|
| rover_navigation.sd | AI planning + SafeAction |
| warehouse_robot.sd | Tasks, comm, safety zones |
| ai_safety_violation.sd | Compile-time safety rejection |
| hardware_compatibility.sd | Deploy verification |
| communication_demo.sd | Message, topic, service, action |
| digital_twin_demo.sd | Twin + replay |
| killer_demo.sd | Safety-typed AI + verify + sim (see killer-demo.md) |
| deadline_tasks.sd | Real-time task contracts |
| basic_regex.sd | First-class regex |
spanda run examples/showcase/rover_navigation.sd
spanda verify examples/showcase/hardware_compatibility.sd --json
spanda sim examples/realtime/deterministic_replay.sd --record
spanda replay mission.trace --deterministic