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.0.tar.gz (390.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.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: humanrpc-0.1.0.tar.gz
  • Upload date:
  • Size: 390.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.0.tar.gz
Algorithm Hash digest
SHA256 63c7bd091c5d888d8d8e9ab6d6e5aa7cc9b7c7f4b918694503981e0b1c380835
MD5 ddde0b0415f243fe088a2e1b09d05914
BLAKE2b-256 e6301c3b54ebb5f08aca0b255094a2b3233e8ac7003ddda7f8817482b1d01075

See more details on using hashes here.

File details

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

File metadata

  • Download URL: humanrpc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b4dbb6b68bf4f5e9a86477e80790f052237936bda63e853e94abd21de2374e8
MD5 58bd925521d55bf6822fe34a1bb46b0d
BLAKE2b-256 b0973216188b3c3808da570099cc4d52ace4d32c25552ed24b106db65d45f54d

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