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.2.tar.gz (50.4 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.2-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.2.tar.gz
  • Upload date:
  • Size: 50.4 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.2.tar.gz
Algorithm Hash digest
SHA256 3c0d8d1714c28203398c73a56a7bd81e6ef09e719508e60fa50310c750cf6c27
MD5 95ea996fa2fe2dff91b0e15ce5c6b9d5
BLAKE2b-256 a6f616d70ec5a14ee2a9a3edca5894771bca1eabe22028204861b33a312af7a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c840c46afd7b4fde91c7e949e2c9b5643665406735d9b68f2ae176ae4cdd70c6
MD5 c05feb3a70d4d739d0c6d4aeeee97f92
BLAKE2b-256 810e36ede0f99ce29e2d023014fd65293faa204f56fb51a9053fe3c0a2f7ba3f

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