Skip to main content

Steerable agent runtime sidecar — JSON-RPC over stdio.

Project description

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.

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())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

steerable_sidecar-0.2.4.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steerable_sidecar-0.2.4-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file steerable_sidecar-0.2.4.tar.gz.

File metadata

  • Download URL: steerable_sidecar-0.2.4.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for steerable_sidecar-0.2.4.tar.gz
Algorithm Hash digest
SHA256 51bb3caba7732002cbc32e52e90b023e963c93c09525ebfe421530d9baead8a7
MD5 448243d37e0ef81e64291dc6ad4a5070
BLAKE2b-256 2e84be84557a770adb2479fe54043954364b88e65655caa1cb81fd3a047782aa

See more details on using hashes here.

File details

Details for the file steerable_sidecar-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for steerable_sidecar-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 db644c23c4fd65d0b83292e59b8f717f94cba8873605fced6b6185f1952c31a3
MD5 91b3b6f3e9819e6a8edb399449c19f6c
BLAKE2b-256 f59f5f8801556d42adce554e737dc32b9a84674d3708de8718f892bd3e370c54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page