Skip to content

Python Sidecar

A sidecar service starts a Python process beside an applet, with a version handshake, a cache version that triggers a rebuild and a synthetic-data mode.

Field Value
ID SPC-19
Status Planned
Scope Core
Pillar Builder and Specs
Sprint None
Depends On None
Unblocks None
Docs None
Branches None
Design Platform candidates, Candidates

Coverage Ledger

  • design/applet-builder.md, under Three ways an agent could build an applet. Embedded script runtime (Lua, WASM or a Python sidecar) for custom logic.
  • design/hosted-runs.md, under Process Contract. The model runner starts a workspace script as a managed run with a fixed set of environment variables.
  • design/hosted-runs.md, under Commands. Five run commands join the command layer and the MCP tool table.
  • design/hosted-runs.md, under Run Start. The command run.start starts a script of the workspace as a managed run.
  • design/hosted-runs.md, under Run Fork. The command run.fork starts a new run from a checkpoint of a run, with changed parameters.
  • design/hosted-runs.md, under Run Stop. The command run.stop stops a managed run at its next checkpoint, and ends its process after a limit.
  • design/hosted-runs.md, under Run List. The command run.list lists the managed runs and the attached script with their states.
  • design/hosted-runs.md, under Run Logs. The command run.logs returns the last output lines of a managed run.
  • design/hosted-runs.md, under Model Runner. The model runner of the app owns the child processes and the table of runs.
  • design/hosted-runs.md, under Child Processes. One small interface starts and ends the child processes on POSIX and on Windows.
  • design/hosted-runs.md, under Runner Connection. The runner keeps its own viewer connection to each managed run for its state, actions and series.
  • design/hosted-runs.md, under Attachment. The app attaches to a new managed run, and the run commands take the run they act on.
  • design/hosted-runs.md, under Run Sources. The catalog sources run:<id>/<view> carry the series of managed runs, so two loss curves draw side by side.
  • design/platform-candidates.md, under Candidates. Python sidecar over pipes: starts a Python process with a version handshake, a cache version and a synthetic-data mode; a sidecar service.
  • design/platform-candidates.md, under Order. The order: 1 sidecar service, 2 layout grid and text scale, 3 tour service, 4 automation and capture, 5 viz components, 6 quiet job kind.
  • design/roadmap.md, under Phase 2: promote proven features. Promotion 4: the Python sidecar.

Roadmap Graph Feature in Graph