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.3.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.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: steerable_sidecar-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1ff651ca08085a2826e392f4d97340dc45e676554119e82098690a4a4a3e2acc
MD5 27f55ff8265bf08155e9335e8e52dc6b
BLAKE2b-256 4adf89aa1d8aed990afbca1b07f89eeb0446d6940c1419ec42d7df52b00fdccc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for steerable_sidecar-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c08c5fd5efe8a92ebd34e2a02abac81c8122bbad7a3897d6fa46f7a638c9f7b
MD5 5d58d3c9d074d710f85f810c31b7d097
BLAKE2b-256 d33bee5fc9c16bfa7ca13633bcccec1992489e0cd22ce9c43a92e8dd62305102

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