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.0.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.0-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 34246d495cc4d1fa29624e1a7834a4f8e9aa0b877ae35acd2ec560b690c14118
MD5 db04cb49062900a54296d1b130826b8a
BLAKE2b-256 049bd3eea81e33d4cb6e5db2cd49e4696aac51e1d0e0849500c899b37ef47f73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21ed15ffe763700e8d6a86321c0149bcd40237a0887d1f3d5e7cdb4e046b2578
MD5 bae09817bc8dff5b7c2d2294c5789eb7
BLAKE2b-256 201cd498f37933942b903d945c35bdcac9080acd3dc21c93be097c73a785db4b

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