Agent Integration
Integrate Kite with OpenClaw, MCP, and HTTP-based agent runtimes to give your agents real-time webhook awareness.
Kite is designed first for autonomous agents. This guide covers integrating Kite with the major agentic orchestration platforms so your agents can react to real-world events in real time.
// 01Overview
Agents live in ephemeral environments — they don't have static IPs, they can't expose ports, and they restart often. Traditional webhooks don't work in this model. Kite bridges the gap by maintaining a persistent relay that agents connect to on demand.
// 02OpenClaw
OpenClaw agents can use the Kite skill plus a socket or MCP manifest sink.
Install the Kite skill
kite skill install kite
This installs SKILL.md into your agent's skill directory and exports the Kite skill definition.
Stream to an OpenClaw agent
kite listen --socket /tmp/kite.sock --source github
Events are written to the socket as structured CloudEvent JSON, ready for an agent adapter to consume.
Export skills to agent directories
kite skill export --format openclaw
// 03MCP (Model Context Protocol)
Kite can expose an in-process Model Context Protocol server from a manifest:
{
"name": "mcp-agent",
"subscriptions": [{ "source": "github" }],
"sink": { "type": "mcp_server", "buffer_size": 100 }
}Run it with kite run --manifest kite.json. The MCP server exposes a small in-memory event buffer for local model tooling.
// 04Generic HTTP agents
Any agent that can make HTTP requests can consume Kite events via the proxy sink:
kite proxy --target http://localhost:9000/events
The agent polls or listens on port 9000. Each incoming request body is the event data payload, with Kite and CloudEvent metadata headers.
// 05Persistent cursor tracking
For agents that restart frequently, set a stable --client-id so the subscriber identity is consistent across reconnects:
kite stream --source github --client-id "my-agent-prod"
Server-side cursor ACK and missed-event replay are not yet wired for all CLI paths, so handlers should remain idempotent.
// 06Dead letter queue for agents
If your agent fails to process an event (crashes, times out, returns non-2xx/non-3xx), the event lands in Kite's local queue. Replay it when the agent recovers:
kite queue replay --target http://localhost:9000/events