Skip to main content

Human-powered typed RPC endpoints for building systems before the real implementation exists.

Project description

HumanRPC

HumanRPC is a human-powered RPC server for developing distributed systems before the real implementation exists.

Instead of calling an AI agent, microservice, planner, or capability, your application calls a typed endpoint. A human operator receives the request in a web UI, provides a response, and HumanRPC returns the result to the caller.

The goal is to enable rapid development of orchestration, routing, scheduling, memory, and workflow systems without waiting for every component to be implemented.

Features

  • Pydantic-first API
  • Typed request and response models
  • Async and sync clients
  • Human-powered endpoint implementations
  • Exception simulation
  • Timeout simulation
  • Web UI for handling requests
  • No external infrastructure required

Example

from humanrpc import Client

client = Client()

agent = client.endpoint(
    name="agent",
    input_model=ChatRequest,
    response_model=ChatResponse,
    exceptions=[
        ValueError,
        HTTPException,
    ],
)

result = await agent.aask(
    ChatRequest(...)
)

Status

Early development.

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

humanrpc-0.1.4.tar.gz (391.9 kB view details)

Uploaded Source

Built Distribution

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

humanrpc-0.1.4-py3-none-any.whl (416.5 kB view details)

Uploaded Python 3

File details

Details for the file humanrpc-0.1.4.tar.gz.

File metadata

  • Download URL: humanrpc-0.1.4.tar.gz
  • Upload date:
  • Size: 391.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for humanrpc-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ae71c8ebd1c7cb550e397f663f0caf9b01c1b85be3f0f911ef0a8091a115689e
MD5 93f0e9099fa7c4e26f3da1e4434d9b3b
BLAKE2b-256 60a241ff71a28d34b2b32229f106e4f7e79e0164d7a2719da7ba704b85d6b274

See more details on using hashes here.

File details

Details for the file humanrpc-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: humanrpc-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 416.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for humanrpc-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bb2d59a0c333d0cc2daa065f7be915432d7eaafe84b6f4bcd6dda3e5222c261c
MD5 3865124214c4781a43f5e98fed3fe7d2
BLAKE2b-256 e7644ffde7778aebdc81089b89789212628e489dd5a2f9c49c3cae0884c4c31f

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