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.

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.11.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.11.0
File Size Uploaded Provenance Actions
steerable_sidecar-0.11.0.tar.gz 379.4 kB Without provenance Details for steerable_sidecar-0.11.0.tar.gz

Built distribution (wheel)

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

Total release size: 604.3 kB

Release files / steerable_sidecar-0.11.0.tar.gz

Download URL steerable_sidecar-0.11.0.tar.gz
Size 379.4 kB
Tags Source
SHA-256 checksum
How to use checksums
22be00b1b6b09a8cb6b9369efb0ffbc4e3658ec288143a809c9dc35c6d952c82
BLAKE2b-256 checksum
How to use checksums
25b2b61a46aba4972cd212ed72b268236556baf8fcabd71eb014ad84f51dc148
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.11.0-py3-none-any.whl

Download URL steerable_sidecar-0.11.0-py3-none-any.whl
Size 224.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e75eddf6d39b190e8a427e6ce0f81c015db01ef8c04e13dc8a0fb891704ced33
BLAKE2b-256 checksum
How to use checksums
8147d128fcbd269d08764c618b6233c7eb31c4f264cca7e569087b9b887b8c93
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.11.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.11.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