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

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d9c8ab4ec5b111eea518080d1504878605d785506d3994e85f7fe9f9f988a1b8
MD5 045b1bcad859e945f076e2406962869e
BLAKE2b-256 3edee5ef7d6869f8365d7d815ece5001f002ed7760b4d676a1b38ef6116d9a9f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencoat_runtime_host-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b1a07791ef6dcef99fc79a117ccf305532e7c237e51e7b17ef112d921ea6786
MD5 3cedaa4c0c7463e94131f28e601c2808
BLAKE2b-256 a229f0a98c5cd6d756e71b462c088224d57f317437cbcfd28b2741c42de843ee

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