Not available in the current pilot
The current Python image contains the standard library, not JupyterLab. Each job is a fresh process with a short deadline and no exposed port or file-transfer API. Use an independent notebook service for interactive sessions; cpuOS has no persistent kernel or pause/resume.
The current cpuOS interface is REST: POST /v1/jobs, GET /v1/jobs, GET /v1/jobs/:id and DELETE /v1/jobs/:id. Python and Node standard-library jobs run on your connected Docker worker. No cpuOS SDK package or framework adapter is published.
The supported HTTP contract
For supported short Python and JavaScript tasks, use the jobs API. Browser and notebook workflows need additional capabilities beyond this contract.
Set limits and retain ownership
- Keep the API key in your application, never in model context or job code.
- Fix resource ceilings and deadline in your tool handler; do not accept arbitrary workspace or worker selection from the model.
- Store the job id before polling, bound retries and avoid resubmitting after an ambiguous network failure.
- Running cancellation is requested through DELETE and applied when the worker observes it; continue inspecting the job and node state.
Validate before connecting an agent
Use trusted team code and a worker machine allocated to this pilot. Docker containers share the host kernel. Test a known successful script, a failing script, a timeout and worker disconnection. Keep external side effects in separate authorized application operations.
The model can be served by gpuOS or another provider. Model inference and CPU jobs are separate calls, with a separate key for each product (one account and workspace can hold both) and no automatic cross-product integration.
Official documentation: jupyter.org