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.3.tar.gz (392.0 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.3-py3-none-any.whl (416.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: humanrpc-0.1.3.tar.gz
  • Upload date:
  • Size: 392.0 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.3.tar.gz
Algorithm Hash digest
SHA256 fff0f6bb44fe95b32a928545bc2357b710ead8138ec710eac3d354ae68662500
MD5 f1826b0a9cc34dffc31e8c6838b96999
BLAKE2b-256 df155acd76fde92f85c8ffdb5057d0c51192be05c86607699647433dcc11739c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: humanrpc-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3e03069fe87687da144d1430b672374e41c26693ac3e56325abcb84f335d8ae4
MD5 317e7877e2e041fa629fe0f64cda8990
BLAKE2b-256 565c309322ecf64a2eef2e0af6d5c48c912dfebd4c5658222a6684f822863d6f

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