Skip to main content

steerable-agent-runtime

Tier 3 runtime for the Steerable framework.

Provides four orthogonal pluggable adapters:

  • LLMProvider — chat-completion / streaming / tool-call abstraction, with reference implementations for OpenAI-compatible servers (covers OpenAI, Ollama, vLLM, SiliconFlow, etc.) and Anthropic native.
  • ToolRouter — in-process tool registry. Auto-classifies tools into ToolModes using steerable_agent_harness.policy, supports per-tool permission overrides, and dispatches ToolCall → ToolResult.
  • StorageAdapter — persistence interface for AgentSession, ChatMessage, ChatAgent, HarnessTrace + spans + events, the durable history record, and the child-agent index. Reference impls: in-memory (default for sidecar/dev) and SQLite (zero-dependency, the sidecar's own store). SQLAlchemy remains available for hosted backends.
  • TransportAdapter — wire format. FastAPISseTransport exports SSE for hosted setups; StdioJsonRpcTransport powers the steerable-sidecar.

The runtime is Python only by design — frontends never depend on it directly. Browsers/Electron consume runtime output via either the SSE transport (over HTTP) or the stdio JSON-RPC transport (sidecar pattern).

Install

pip install steerable-agent-runtime[all]

Upgrading from 0.9

The multi-agent layer became "sub-agents as persistent objects" in this release. Nothing in the single-agent path changed.

  • SCHEMA_VERSION 1 → 2. The new children table is created with CREATE TABLE IF NOT EXISTS, so an existing database upgrades in place on first open — no migration function, no data rewrite. A database written by a newer build still refuses to open.
  • budgetTokens now bounds the whole turn tree. It used to limit each loop separately; a parent plus three children could each spend the full allowance. Every agent in the tree now debits one counter, and the first to cross it fails there. A host that relied on per-child allowances gets a tighter (correct) limit.
  • New TreeBudget / SessionBudgetExceeded in steerable_agent_runtime. AgentPool(budget=...) shares one counter across the pool; the parent loop's usage is charged to the same counter by the host.
  • provider_factory for sub-agent profiles now takes (model, effort) instead of (model). None for either knob means "inherit the parent's", never "clear it". A profile pinning neither does not rebuild the provider at all.
  • New: AgentPool.spawn(..., engine="acp", acp_engine=...) runs a child as an external process over the Agent Client Protocol instead of a local loop. Such a child has loop=None, reports no token bill (usage unknown, not zero), and refuses a mid-run agent_send (child_not_steerable) — a peer runs one prompt, so there is no round boundary to steer at.
  • HistorySeed.source_model records which model produced a forked prefix. Additive; a seed written before this release simply lacks the key. completed_turn_prefix() remains the fork primitive and now backs agent_spawn's context: "fork".
  • SubagentExecutor.attach_pool() / .pool expose the shared pool so a host can report children's usage alongside the turn's own bill.

Selectively install just the bits you need:

pip install "steerable-agent-runtime[openai]"
pip install "steerable-agent-runtime[anthropic]"
pip install "steerable-agent-runtime[sqlalchemy]"
pip install "steerable-agent-runtime[fastapi]"

CoreLoop execution is the Rust engine. steerable-agent-runtime-native is a required dependency of this package (same lockstep version). A missing wheel fails import or CoreLoop.run(); there is no Python engine fallback.

pip install steerable-agent-runtime-native

Metadata

Release files for steerable-agent-runtime 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for steerable-agent-runtime 0.10.0
File Size Uploaded Provenance Actions
steerable_agent_runtime-0.10.0.tar.gz 616.5 kB Without provenance Details for steerable_agent_runtime-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for steerable-agent-runtime 0.10.0
File Interpreter ABI Platform Actions
steerable_agent_runtime-0.10.0-py3-none-any.whl Python 3 none any Details for steerable_agent_runtime-0.10.0-py3-none-any.whl

Total release size: 1.0 MB

Release files / steerable_agent_runtime-0.10.0.tar.gz

Download URL steerable_agent_runtime-0.10.0.tar.gz
Size 616.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5db76b3c8a448b721a3940c0e10dbbf03fe79ccfc5d1ecdd6d48cd56557da3a9
BLAKE2b-256 checksum
How to use checksums
e5a04f1d64ce99cba6684f444f7cebe64ca6a4be3f6805e87db0b79c25b8ea99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / steerable_agent_runtime-0.10.0-py3-none-any.whl

Download URL steerable_agent_runtime-0.10.0-py3-none-any.whl
Size 423.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e6b9d0bf515b09f617fc77b6eca70c18f76d503e6436d7d1d5bcecbe1e16a16
BLAKE2b-256 checksum
How to use checksums
6e26966df043ea7e9a74da72f5646451ffd58ce1ffe3ba4e005d6631833a6692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for steerable-agent-runtime 0.10.0

Provenance

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

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.

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page