Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@steerable/agent-runtime

Latest version: v0.12.7

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: deeppath
11 Stars
1 Forks
17 Versions
3.8K Downloads
TypeScript Repo language

Scan summary

@steerable/agent-runtime was last scanned on 24 Nov 2026 at version 0.12.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 17 versions; the latest 2 were published within 7 days (18–24 Nov 2026).
  • Findings: No rules fired in version 0.12.7.
  • Downloads: 3,825 downloads.

Versions

17 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.12.7 LATEST 24 Nov 2026 No rules fired
0.12.5 18 Nov 2026 No rules fired
0.12.4 17 Nov 2026 No rules fired
0.12.3 16 Nov 2026 Not shown
0.12.2 16 Nov 2026 Not shown

No rules fired in 0.12.7

Findings

Findings for v0.12.7. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.12.7; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@steerable/agent-runtime

The official TypeScript production runtime for the Steerable framework.

Python is the only production implementation of the framework's harness and CoreLoop. This package is how a pure-TypeScript product runs it in production: it owns the embedded Python sidecar process (spawn, ready handshake, health ping, bounded auto-restart, graceful drain) and exposes the CoreLoop-level API over the sidecar's JSON-RPC surface. You never write subprocess management, and because the TS runtime drives the same Python CoreLoop the server uses, there is no second implementation to drift.

Install & prerequisites

npm install @steerable/agent-runtime

npm also installs one @steerable/runtime-<target> package for your platform, as an optional dependency of this package. It carries the Python sidecar, the run_code interpreter and the egress proxy, so nothing else has to be installed.

The interpreter resolves in this order:

  1. the python option, then STEERABLE_SIDECAR_PYTHON
  2. the platform package installed above
  3. a framework checkout's .venv (so an example inside the repo runs from source)
  4. STEERABLE_PYTHON, then python3 on PATH

Point at a specific interpreter with the python option when you ship your own runtime. resolveRuntimePython() exposes the same resolution if you need to report it.

Each platform package carries a runtime.json with SHA-256 digests for its files; the interpreter and proxy are verified the first time they are used, and a mismatch refuses to start rather than running a modified binary.

Upgrading from 0.8

  • The interpreter now comes from the platform package instead of STEERABLE_PYTHON or the system python3. Existing overrides still win.
  • engines.node is >=22.19.0; the package no longer requires Node 26.
  • This package is published to npm, so remove any link: specifier pointing at a framework checkout.

Quick start

import { AgentRuntime } from '@steerable/agent-runtime';

const runtime = new AgentRuntime({
  tools: {
    // Host tools the CoreLoop may call back over the reverse channel.
    read_file: async ({ path }) => ({ success: true, result: await readFile(String(path), 'utf8') }),
  },
});
await runtime.start();

const session = await runtime.createSession({ chatId: 'chat-1', userId: 'me' });
const turn = await runtime.chatStream({
  provider: 'openai_compat',
  model: 'deepseek-chat',
  baseUrl: process.env.LLM_BASE_URL,
  apiKey: process.env.LLM_API_KEY,
  messages: [{ role: 'user', content: 'hello' }],
});

for await (const event of turn.events) {
  // content | tool_call | tool_result | usage | orchestration | done | error
}
const { status, cancelled } = await turn.done;

await runtime.close();

API map

Runtime API Sidecar RPC
start() / close() process lifecycle + system.shutdown
ping() system.ping
createSession / resumeSession / listSessions agent.session.*
forkSession / sessionBranches agent.session.fork / agent.session.branches
sessionMessages agent.session.messages
chatStream / cancelChat / steerChat / forkChat agent.chat.*
listTools / invokeTool tool.list / tool.invoke
listSkills skills.list
applyEdits workspace.apply_edits
fetchTrace / exportTrace / exportMetrics trace.fetch / trace.export / metrics.export
getConfig / setConfig config.get / config.set

The full wire contract is docs/spec/sidecar.md. A CI gate (test/surface.test.ts) asserts this surface matches the methods the Python sidecar registers — the two cannot drift.

chatStream defaults useCoreLoop: true on the request: the runtime's API (cooperative cancel, steer, orchestration) only exists on the sidecar's CoreLoop path. Pass useCoreLoop: false to opt into the legacy direct-stream path explicitly.

Testing

Unit tests run against test/fake-sidecar.mjs (a Node script speaking the wire protocol). test/e2e-real-sidecar.test.ts is a true end-to-end gate: it spawns the real Python sidecar from the repo's uv venv and drives a full tool-calling turn — CoreLoop → OpenAI-compatible HTTP → local mock server → reverse-channel tool.invoke → second LLM round — plus a cooperative-cancel run. It self-skips when .venv cannot import steerable_sidecar (run uv sync at the repo root to enable).

React UI

@steerable/agent-ui hooks consume the runtime directly:

import { createChatStreamTransport, createSessionTransport } from '@steerable/agent-runtime';
import { useChatStream, useAgentSession } from '@steerable/agent-ui';

const sessionTransport = createSessionTransport(runtime);
const chatTransport = createChatStreamTransport(runtime, {
  sessionId: () => currentSessionId,
  params: { provider: 'openai_compat', model: 'deepseek-chat' },
});

Lifecycle semantics

  • Ready handshake — start() resolves only after lifecycle.ready and a system.ping round-trip; a half-booted process never answers requests.
  • Auto-restart — an unexpected exit of a fully booted process triggers up to maxRestarts restarts with exponential backoff; boot failures are not retried (they are almost always deterministic). Requests made while down reject fast with SidecarNotReadyError.
  • Graceful close — close() sends system.shutdown, waits, then escalates SIGTERM → SIGKILL. A close during a restart cycle suppresses the pending restart.
  • Cancellation — cancelChat(streamId) is cooperative: the CoreLoop winds down at the next safe point and the terminal done event still arrives with status: 'cancelled'.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @steerable/agent-runtime

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229