Modules

A module is a folder. Drop it into modules/ and the app finds it, shows its status, and adds its page to the navigation.

Pick and place

Built in

Uses a calibrated camera to find an object on the table, pick it up and drop it into a bowl. It follows safety rules learned on real hardware, like carrying objects high enough to clear the rim.

Needs
A follower arm and a camera

Hello module

v1.0.0

The smallest possible module: one page and one tiny backend. Copy this folder to start your own.

By
SO-101 Suite contributors
Licence
AGPL-3.0-or-later
Pages
Hello
Has
a backend

Browse the modules folder on GitHub · See the Modules page in the demo

Make your own

A module is a folder and a small file.

  1. Create modules/my-module/ with a module.json.
  2. Optional: add a backend.py with a handle(method, path, body, ctx) function that returns a status and a payload. The app serves it at /api/m/my-module/….
  3. Optional: add a ui.js page that follows the same rules as the built-in pages.
  4. Restart the app. The Modules page shows it, or tells you why it did not load.

Rather not write it by hand? Ask your coding agent. The prompt below points it at the right files.

Read AGENTS.md, then use the add-module skill to add a module to this project that shows the follower arm’s joint angles as a live table.

{
  "id": "hello",
  "name": "Hello module",
  "description": "A tiny example page.",
  "version": "0.1.0",
  "author": "You",
  "license": "AGPL-3.0-or-later",
  "requires": [],
  "pages": [{ "id": "hello", "title": "Hello", "icon": "sparkles", "script": "ui.js" }],
  "backend": null
}