Skip to main content

pi-server

Python port of @earendil-works/pi-server — Agent server (Unix socket + JSONL).

Install

pip install pi-py-server

Import name has no prefix: from pi_server import ...

Quick Start

import asyncio
from pi_server import serve, send_request

# Start server in background
asyncio.create_task(serve())

# Client: list instances
response = await send_request({"type": "list"})
print(response["instances"])

Commands

  • spawn — create new agent instance
  • list — list all instances
  • status — get instance status
  • stop — stop an instance
  • rpc — forward command to agent
  • rpc_stream — open bidirectional event stream

Metadata

Release files for pi-py-server 0.85.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pi-py-server 0.85.1
File Size Uploaded Provenance Actions
pi_py_server-0.85.1.tar.gz 9.6 kB Without provenance Details for pi_py_server-0.85.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pi-py-server 0.85.1
File Interpreter ABI Platform Actions
pi_py_server-0.85.1-py3-none-any.whl Python 3 none any Details for pi_py_server-0.85.1-py3-none-any.whl

Total release size: 18.9 kB

Release files / pi_py_server-0.85.1.tar.gz

Download URL pi_py_server-0.85.1.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c0e7365d8cb20976694b77f3102a211b37c68878bace33fd718a82e300774e3e
BLAKE2b-256 checksum
How to use checksums
9a55dd6924bc9e2910087d4a9c110f7280691645ac5e1f8c3e365d1b98381627
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / pi_py_server-0.85.1-py3-none-any.whl

Download URL pi_py_server-0.85.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
798b187f868be12ebf3377307520af3f3a2cb5ab3d8b1b9b4fc980aa8d170bd5
BLAKE2b-256 checksum
How to use checksums
ba88042faa6f253ba841bf6e746d3b7c67bdd428e7ba9594ea1af236a2cbe4f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for pi-py-server 0.85.1

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.

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