@yesod/openclaw
v0.1.0
Published
OpenClaw runtime adapter for [Yesod](https://github.com/eryv-ai/yesod) — orchestration toolkit that makes AI agents delegate better and lets humans see why.
Readme
@yesod/openclaw
OpenClaw runtime adapter for Yesod — orchestration toolkit that makes AI agents delegate better and lets humans see why.
Translates Yesod's orchestration primitives into OpenClaw gateway calls via WebSocket, handles device identity authentication, event translation, result parsing, and exposes an MCP server for agent-facing tools.
Key Components
- OpenClawAdapter — full
RuntimeAdapterimplementation: spawn, send, kill, status, event translation - GatewayWebSocketClient — WebSocket client with Ed25519 device identity, challenge-response auth, request correlation, and auto-reconnect
- MCP Server — exposes
yesod_create_workflow,yesod_workflow_status,yesod_cancel_workflow,yesod_cost_summaryover stdio - Prompt enrichment — injects ResultSpec formatting instructions and prior step context into child agent instructions
- Output parser — parses child agent output into typed StructuredOutput (summary, diff, review, test, structured)
Supported Runtimes
- Claude Code —
sessions_spawn({ runtime: "acp", agentId: "claude-code" }) - Codex —
sessions_spawn({ runtime: "acp", agentId: "codex" }) - Subagent —
sessions_spawn({ runtime: "subagent" })
Status
Phase 0 complete. Full adapter and MCP server implemented and tested (39 tests).
Links
License
MIT
