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.4.tar.gz (50.8 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.4-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.4.tar.gz
  • Upload date:
  • Size: 50.8 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.4.tar.gz
Algorithm Hash digest
SHA256 50e4ed0f222e56c7d726ca9623a61f8923d8e48a866563f145335890d9817dfa
MD5 e2bb1960ba76a77b0389dafe73025fb8
BLAKE2b-256 c3b790a483ebb93000247ac7cff4062ca77a15ebff0c91dee8500f2049fa5bba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 44.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 49ddd3a8944657b3c2b0bb7cc3a97a7646a90102fe952a23570cffc1ab0690d2
MD5 57a4a0d1ddde908ed24a7801403237a5
BLAKE2b-256 9b080ecc94052956ecf0e3fce8115343798833e2b9c841d8fdaafdcc556c0177

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