Desktop console for runspec runnables: run, schedule and monitor them locally and across an SSH fleet, with an optional AI agent
pip install runspec-console==0.379.1 Copy PIP instructions
A desktop console for runspec — run, schedule, and monitor runnables from a graphical UI. Built on pywebview with a Vite/React frontend, it discovers every runnable installed in its environment (via runspec local) and can also reach runnables on remote hosts over SSH.
pip install runspec-console # add [windows] on Windows for the runnable pack runspec-console On Windows, pip install "runspec-console[windows]" also installs runspec-windows, so its Windows system-administration and cross-platform web/TLS runnables appear in the UI. The extra is gated to sys_platform == "win32", so it's a no-op on macOS/Linux, and it's not part of [all]. It's an extra rather than a dependency so a white-label console can ship a rebranded copy instead (see the runspec docs, "White-label runnable packages"). The Microsoft 365 runnables are not pulled in automatically — see below.
To add more runnables, just pip install the package that provides them into the same environment (e.g. runspec-linux) — the console picks them up on the next launch.
The console lists whatever runspec local can discover: any installed package that ships a runspec.toml and entry points. There's no registry and no filesystem scanning — pip install (or pip install -e .) is how a runnable becomes visible.
These live in the separate runspec-o365 package (they used to ship in runspec-windows, but the console no longer pulls them in — so a Graph-blocked deployment isn't cluttered with unusable tools). Opt in with pip install runspec-o365 into the console's environment, then restart. They authenticate as the signed-in user via the Microsoft Graph device-code flow (no client secret). The full setup lives in the runspec-o365 README; the short version:
Register an app in your Entra (Azure AD) tenant (App registrations → New registration).
Authentication → "Allow public client flows" → Yes — device-code login needs this.
API permissions → Microsoft Graph → Delegated: add User.Read, Mail.Read, Chat.Read, Calendars.Read, Files.Read.All, then grant consent.
Copy the Application (client) ID and Directory (tenant) ID.
Drop them in %APPDATA%\runspec-o365\graph.toml (the client id is not a secret):
client_id = "00000000-0000-0000-0000-000000000000" tenant = "yourcompany.onmicrosoft.com" For a personal Microsoft account (e.g. trying it at home), register the app for "personal Microsoft accounts" and set tenant = "consumers" (or "common") instead of a tenant domain.
Run graph-login once (it prints a URL + code to authenticate); the token caches and refreshes silently thereafter.
In a managed tenant: Chat.Read (Teams) is typically admin-consent-required, so a tenant admin may need to grant consent on the app registration. The mail/calendar/files scopes are usually user-consentable.
The console can drive runnables through an LLM. Install the provider extra you want:
pip install "runspec-console[anthropic]" # Claude pip install "runspec-console[openai]" # OpenAI pip install "runspec-console[bedrock]" # Claude via AWS Bedrock pip install "runspec-console[langserve]" # corporate LLM gateway (LangServe /invoke) LangServe gateway (no Anthropic/OpenAI account) If your only model access is a corporate LLM gateway that exposes a LangServe /invoke route (commonly Bedrock/Claude underneath), pick the langserve provider. Configure it in Settings → LLM, or hand-edit %APPDATA%\runspec-console\config.toml:
[llm] provider = "langserve" base_url = "https://gateway.corp/my-chain" # /invoke is appended automatically model = "" # the published chain usually pins its model # Static token: api_key = "..." # …or a short-lived token re-fetched on a TTL (rotating corporate creds): # api_key_command = "aws-vend-token --print" # api_key_ttl_ms = 300000 Tool calling is structured — runspec tools are sent to the gateway and the model's tool calls are executed exactly as with the native providers. The two parts that vary per-gateway are knobs under [llm], adjustable once you've seen the endpoint's GET /input_schema:
The assistant turns each fleet runnable into an LLM tool. On a uniform fleet — many hosts running the same package set — the default tool_mode = "dedup" sends one tool per folder/runnable (named group__runnable) with a required host enum listing the hosts that have it, instead of one tool per host×runnable. This keeps the tool list — re-sent on every turn — small (an 18-host × 20-runnable fleet: 20 tools instead of 360). The agent names the host as an argument.
Set it in Settings → LLM → Tool list mode, or in the config file:
[llm] tool_mode = "dedup" # default — collapse identical per-host tools # tool_mode = "per_host" # one tool per host__runnable (the original layout) # tool_mode = "search" # discovery meta-tools only (best for large, multi-package fleets) Use "per_host" if you'd rather the host be encoded in the tool name than chosen as an argument.
"search" goes further for fleets that install many distinct runnables (several packages = 70–100+ tools): instead of listing every runnable, it exposes three fixed meta-tools — search_runnables (find by keyword; returns typed argument rows), run_runnable (execute by id + host, with arguments validated before dispatch), and describe_runnable (full schema on demand). The per-turn tool block stays ~3 tools regardless of fleet size. Same autonomy gate, credentials, and secret handling as the other modes. Agent-mode triggers (which scope to a curated allowlist) keep the dedup layout automatically.
So the agent still knows what exists without paying for every schema, search mode also folds a compact catalog index into each turn — one line per runnable (id — first sentence of its description, no arguments). The agent reads the menu, then calls search_runnables/describe_runnable for the details of the one it wants. The index is bounded by [llm] tool_index_limit (default 300, with an overflow note) and can be turned off with [llm] tool_index = false. Tip: lead each runnable's description with its distinguishing detail — that first sentence is what the agent scans.
When a model gateway is proprietary and its adapter must stay in a private repo, ship it as a plugin instead of forking the console. A plugin implements runspec_console.ModelAdapter (dependency-free, so no SDKs leak in) and is resolved under a [llm] provider name three ways:
A "LangServe-ish but not vanilla" gateway can subclass LangServeAdapter and override only _build_payload / _parse_output. See examples/console-adapter-plugin/ for a ready-to-copy template — it includes an AGENTS.md brief and a Copilot prompt file for building the adapter with an AI agent, and conformance helpers (runspec_console.adapters.testing) to validate it without a live gateway.
runspec-console # production (bundled UI) runspec-console --dev # point pywebview at a running Vite dev server runspec-console --devtools # enable the Chromium inspector in a prod build Version & documentation The installed version is shown at the bottom of the host sidebar. On launch the console checks for a newer release by asking pip — running from the very venv runspec-console is installed in — what the newest available version is. Going through that venv's pip means the check honours its index configuration: an internal PyPI proxy / mirror is queried instead of public PyPI when the venv is pointed at one. It's best-effort — a blocked or offline network (or missing pip) simply shows the version with no update indicator; when a newer release exists, an ↑ chip appears next to it. The toolbar's docs icon (top right) opens the documentation site in your browser.
The docs target defaults to https://runspec.app/ and is overridable per-install in %APPDATA%\runspec-console\config.toml:
[console] docs_url = "https://docs.internal.corp/runspec/" See the main runspec docs for the runspec format, the SSH jump-host model, and logging.
1 file in this release has provenance metadata.
all anthropic bedrock credentials dev git-sync langserve mcp notifications openai otel sandbox schedule voice windows
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
1 file in this release has been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Oct 31, 2026 1 release file Change of provenance




