Skip to main content

steerable-sidecar

The portable Python entrypoint for the steerable framework. Designed to be spawned by an Electron / desktop host (or directly from a CLI) and addressed via stdio JSON-RPC 2.0.

Quick start

pip install steerable-sidecar
python -m steerable_sidecar

Or use the console script:

steerable-sidecar

The process:

  1. Initializes the in-memory storage and a default tool router.
  2. Prints the ready signal on stderr as a single line: __SIDECAR_READY__:<json> matching spec/sidecar/SidecarHealth.
  3. Begins reading JSON-RPC frames from stdin (one frame per line).
  4. Writes responses and notifications to stdout.

See spec/sidecar/README.md for the full method/notification catalog.

Upgrading from 0.9

Sub-agents became persistent objects: they outlive the turn that spawned them, are recorded in a durable index, and can be listed and resumed after a restart. Every change below is additive except where noted.

  • New RPC agent.children.list — every child recorded for a parent session, with a composed status (running from a live handle, interrupted when the row never settled and no handle exists) and resumable. Params: {parentRecordId? | recordId?, prefix?, includeFinished?, answerPreviewChars?}. This is the durable answer the per-turn pool cannot give once the spawning turn ends.
  • New RPC agent.children.interrupt — cooperatively stop one running child of a chat's live turn. Params {chatId, childId}; returns {interrupted, reason?}. interrupted: false means the child is not running in this process, which is the honest answer for a row that settled between render and click.
  • New notification agent.child kinds — child_needs_input (with the child's intro), and usage on the terminal kinds. A host that renders the child list reads the bill from the event instead of walking the index.
  • stream.done gains fields, changes none. usage grows childPromptTokens / childCompletionTokens / childTotalTokens, children[] (per-child split) and unknownUsageChildren (children whose engine reports no tokens at all). treeUsage: {limit, spent, byAgent} is present only when the request carried budgetTokens.
  • budgetTokens now bounds the whole turn tree, not each loop.
  • orchestration accepts an object: {enabled, maxDepth, maxParallel, childMaxRounds, childMaxToolErrors, forkTurns}. A bare boolean still means 1 / 4, so an older client keeps working.
  • Sub-agent profiles accept model / reasoningEffort (both optional; omit to follow the parent) and engine: {kind: "acp", command, …} to run that profile on an external ACP agent instead of a local loop. Any kind other than "acp" fails at load with unsupported_engine rather than running locally.
  • agent_spawn accepts model / reasoningEffort when context: "fork", and reports cacheNote: "cold" plus forkRoute when the child re-reads the parent prefix on a different route. Changing the route without a fork fails closed.

Embedding

import asyncio
from steerable_sidecar import Sidecar

async def main() -> None:
    sidecar = Sidecar()
    sidecar.tools.register(my_tool)
    await sidecar.serve()

asyncio.run(main())

Metadata

Release files for steerable-sidecar 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-sidecar 0.10.0
File Size Uploaded Provenance Actions
steerable_sidecar-0.10.0.tar.gz 377.0 kB Without provenance Details for steerable_sidecar-0.10.0.tar.gz

Built distribution (wheel)

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

Total release size: 600.5 kB

Release files / steerable_sidecar-0.10.0.tar.gz

Download URL steerable_sidecar-0.10.0.tar.gz
Size 377.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dc389185cde72debf8ff4c2331912029e3d4f612a5481afbd69a74fcfcbd8838
BLAKE2b-256 checksum
How to use checksums
53d4a36b208eac17022b28535d1858be07e8cd7b750f9a34297749fe274a443a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL steerable_sidecar-0.10.0-py3-none-any.whl
Size 223.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cda7819f99a16f47d20621b327b04149fca9d5fb5deeb64c1c639fd346bed8b8
BLAKE2b-256 checksum
How to use checksums
7c5b2eabb802d6d33b1d3f35d4f0b4af2e0e410bbfd63b2954aec951ab1e2523
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for steerable-sidecar 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