Skip to main content

Host-side integration for OpenCOAT Runtime — joinpoint emitter, injection consumer, and first-party framework adapters (openclaw, hermes, langgraph, autogen, crewai, custom).

Project description

opencoat-runtime-host

Host-side integration for the OpenCOAT Runtime — the library you embed inside an agent framework so it can emit joinpoints to OpenCOAT and consume concern injections back.

This package ships:

Module Role
opencoat_runtime_host_sdk joinpoint emitter, injection consumer, transports (inproc, socket, http)
opencoat_runtime_host_openclaw OpenClaw adapter (events, tool guard, memory bridge, install hooks)
opencoat_runtime_host_hermes Hermes adapter
opencoat_runtime_host_langgraph LangGraph adapter
opencoat_runtime_host_autogen AutoGen adapter
opencoat_runtime_host_crewai CrewAI adapter
opencoat_runtime_host_custom scaffold for a fully custom host

Pulls in opencoat-runtime-protocol (the wire contract) and opencoat-runtime (for the HostAdapter protocol type and the joinpoint catalog the adapters import at module load). You do not need to run a daemon process just to use the SDK — the transports talk to whichever daemon is live, but importing the package only requires the wheels above.

Install

pip install "opencoat-runtime-host[openclaw]"
pip install "opencoat-runtime-host[langgraph]"   # pulls langgraph itself
pip install "opencoat-runtime-host[hermes,autogen,crewai]"
pip install "opencoat-runtime-host[http]"        # SDK with httpx transport

Quick start

from opencoat_runtime_host_sdk import Client, joinpoint

client = Client.from_env()          # picks transport from OPENCOAT_TRANSPORT

@joinpoint("before_response", client=client, level=1)
def generate(ctx: dict) -> str:
    return llm.complete(ctx["prompt"])

For framework-specific adapters see the per-module READMEs and https://github.com/HyperdustLabs/OpenCOAT/tree/main/docs.

License

Apache-2.0.

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

opencoat_runtime_host-0.1.3.tar.gz (50.6 kB view details)

Uploaded Source

Built Distribution

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

opencoat_runtime_host-0.1.3-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.3.tar.gz
  • Upload date:
  • Size: 50.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for opencoat_runtime_host-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d9a71842a80385f02f785ec6d94789be20698af3cc709d14a29e4aa37f3acdb5
MD5 70533879e59b115784c0800756eba3f6
BLAKE2b-256 389a8f35302ab91de78d88b496e4ddca179d0e3e7fefac169a283e28c8c84121

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for opencoat_runtime_host-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3bff147e1bc1f17a48dafe25f12369715e8b8931c7f4efca45e80b0899e76642
MD5 25da22a924e23b767ce973e02d4fb79a
BLAKE2b-256 6a464f79dbb95ee97320ced175bef2d8ca69a5dce2239445260a5b8625fa2520

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