stateset-agents studio) is a browser-based WebGL2 weight
and circuit workbench paired with a persistent SQLite WAL run ledger, a Live RL Cockpit,
an autonomous self-healing/red-team/canary autopilot, and full MCP + @stateset/agents
TypeScript SDK parity.
Weight Studio runs locally over HTTP (
127.0.0.1:8765 by default) and works without a GPU
using local fixtures or zero-download Hugging Face HTTP-Range .safetensors streaming.
Live endpoint probing (--live-endpoint / serve-ab) requires a reachable OpenAI-compatible
or vLLM server.Launch the workbench
http://127.0.0.1:8765/studio in any WebGL2 browser.
Core capabilities
Connect a live RL trainer to the cockpit
AttachStudioTelemetryCallback to stream step metrics, OnlineRewardHackingGuard
verdicts, and live Pause/Rollback enforcement:
on_step telemetry post returns the operator’s current control state (running,
paused, or rollback), allowing StudioControlMixin.enforce_studio_step(...) to pause
cleanly or restore the best weight snapshot in place.
TypeScript / Node SDK (@stateset/agents)
The zero-runtime-dependency @stateset/agents npm package exposes typed client.studio.*
and client.mcp.* resources alongside /v1/messages and /v1/chat/completions:
Security posture for shared deployments
When exposing Weight Studio or its Streamable HTTP MCP endpoint (/api/weight-studio/mcp)
beyond loopback:
- Set
STATESET_MCP_TOKEN(full read/write Bearer auth) and optionallySTATESET_MCP_READONLY_TOKEN(read-only Bearer auth). - Workspace file operations are fail-closed confined to the configured
--workspaceroot. - Run
stateset-agents doctor --jsonto audit MCP authentication, ingress guards, and SQLite ledger health.