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: {spent, byAgent} carries the whole turn tree's bill, always present — it is a display figure and compares against nothing.
  • budgetTokens no longer bounds the turn tree. It keeps its older job of capping the parent run's own loop. The tree-wide limit was removed: it stopped tasks partway through and left children at budget_exhausted waiting for a human to resume, which costs more than the tokens it saves. The spend figure above is what a host shows instead.
  • 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.

Upgrading from 0.10

Peer messaging and a shared task board ride the orchestration opt-in. Nothing changes for a host that does not enable it.

  • orchestration.team (default true) — with enabled: true, the turn also creates a spawn tree and a shared task board, and advertises four board tools (team_task_create, team_task_claim, team_task_complete, team_task_list) to every agent in the job. team: false keeps the six-tool family without them, for a host that does not want the extra tools in the prompt.
  • agent_send reaches the whole job. Any live lineage id is addressable — 0 (the turn's root), a sibling, a child — not just this executor's own children. A message to the root steers the parent loop, so a worker's report arrives as a user turn. agent_list now also returns members (live addresses with depth and profile) and self.
  • Depth no longer gates messaging. A child at the depth wall, and a delegate_subagent child, are advertised agent_send + agent_list and nothing else from the family. A host that counts child tools sees two more.
  • The tree and board are per turn. They do not outlive the root run; agent.children.list remains the durable record. A message to an id that belonged to an earlier turn is not resumable through the tree — that is what agent_send's registry path handles.

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.12.1

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.12.1
File Size Uploaded Provenance Actions
steerable_sidecar-0.12.1.tar.gz 380.1 kB Without provenance Details for steerable_sidecar-0.12.1.tar.gz

Built distribution (wheel)

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

Total release size: 605.4 kB

Release files / steerable_sidecar-0.12.1.tar.gz

Download URL steerable_sidecar-0.12.1.tar.gz
Size 380.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3e4269647cef2d81c257a698eef06f03de3c17e3432a8e75ce10cf6412ba38f1
BLAKE2b-256 checksum
How to use checksums
d9c11d30b34391075507fea87acfea12c331be169683ac1673a3aa6ef515ffdf
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.12.1-py3-none-any.whl

Download URL steerable_sidecar-0.12.1-py3-none-any.whl
Size 225.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6cb1c510a3dbf0c4062718992f0d87d44e2663bf0072859324f397e5cbc3c33
BLAKE2b-256 checksum
How to use checksums
3615468577c1daa6014fa66d250e4a8d729e94856fa9523be5619cf789bceee9
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.12.1

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.12.1 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