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

Uploaded Python 3

File details

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

File metadata

  • Download URL: steerable_sidecar-0.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 ed1f3ca996eef2bafe4de65e44fab28d069f122f471f2adc5fd65340313d13e3
MD5 f35d5acdc4b8fa063e8be0e7316ad2dd
BLAKE2b-256 5ce5601d55b9bb463f7a29577fd18833822fb799e64b0ed7287f62e62379f3ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for steerable_sidecar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54d4352e973d96781fdf20f8ef718e26b01c7e8a72618cdde852cb6f7b294719
MD5 9f330d002740f6057f210f05da744ab8
BLAKE2b-256 c28a63c67dc6dff574be9483591f5114b09806628facb28cc2609948ed6949ed

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