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:
- Initializes the in-memory storage and a default tool router.
- Prints the ready signal on stderr as a single line:
__SIDECAR_READY__:<json>matchingspec/sidecar/SidecarHealth. - Begins reading JSON-RPC frames from stdin (one frame per line).
- 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 (runningfrom a live handle,interruptedwhen the row never settled and no handle exists) andresumable. 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: falsemeans 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.childkinds —child_needs_input(with the child'sintro), andusageon the terminal kinds. A host that renders the child list reads the bill from the event instead of walking the index. stream.donegains fields, changes none.usagegrowschildPromptTokens/childCompletionTokens/childTotalTokens,children[](per-child split) andunknownUsageChildren(children whose engine reports no tokens at all).treeUsage: {limit, spent, byAgent}is present only when the request carriedbudgetTokens.budgetTokensnow bounds the whole turn tree, not each loop.orchestrationaccepts an object:{enabled, maxDepth, maxParallel, childMaxRounds, childMaxToolErrors, forkTurns}. A bare boolean still means1 / 4, so an older client keeps working.- Sub-agent profiles accept
model/reasoningEffort(both optional; omit to follow the parent) andengine: {kind: "acp", command, …}to run that profile on an external ACP agent instead of a local loop. Anykindother than"acp"fails at load withunsupported_enginerather than running locally. agent_spawnacceptsmodel/reasoningEffortwhencontext: "fork", and reportscacheNote: "cold"plusforkRoutewhen 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.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| steerable_sidecar-0.10.3.tar.gz | 377.0 kB | Without provenance | Details for steerable_sidecar-0.10.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| steerable_sidecar-0.10.3-py3-none-any.whl | Python 3 | none | any | Details for steerable_sidecar-0.10.3-py3-none-any.whl |
Total release size: 600.5 kB
Release files / steerable_sidecar-0.10.3.tar.gz
| Download URL | steerable_sidecar-0.10.3.tar.gz |
|---|---|
| Size | 377.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
606e5109755c89dfab570d6504ec043c4434f73c800bda57ff7c9022465c0e87
|
|
BLAKE2b-256 checksum How to use checksums |
182c680895eb1f47920696881ddf0c24907e4eb849e9e6f572e51f48fa372861
|
| 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.3-py3-none-any.whl
| Download URL | steerable_sidecar-0.10.3-py3-none-any.whl |
|---|---|
| Size | 223.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87c63cd1499b6d429632df34a55f93892df33408edd58fe472b5a3c37bf21fe2
|
|
BLAKE2b-256 checksum How to use checksums |
cc7be1a156c9bb5ebad744b96984325fd5ba0f0a3aae5ef0fc3a1e986f084160
|
| 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.3
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.