Send One Webhook Event Into Kheish
This is the shortest user-ready path from a working daemon to one real external ingress event. It uses thewebhook connector from the sibling kheish-connectors repository because that path has the strongest real-daemon smoke coverage today.
If the daemon is not already working, start with Run Kheish first.
What you need first
- one running
kheish-daemon - Python with
pip - the
kheish-connectorsCLI - one session identifier that will own the incoming work
1. Create one fixed target session
If you built the daemon binary on the host:fixed_session_id keeps the first success obvious: every accepted event lands in the same durable session.
2. Generate one webhook connector manifest
.env file beside it.
3. Register the connector in the daemon
4. Inspect the connector state
status combines:
- the desired connector runtime from the manifest
- the daemon runtime view for that connector
- the sidecar
/manifestand/healthendpoints - filtered daemon metrics when available
status until the sidecar health reports ready or degraded, then trigger the ingress probe.
5. Trigger one real ingress probe
webhook, test is not a fake stub. It sends a real ingress probe through the connector route and verifies that the daemon accepts it. The output also includes a probe.run_id when the daemon materializes one run from the event.
6. Verify that the event became daemon work
If you built the daemon binary on the host:webhook-demo.
If the test output includes probe.run_id, wait for that run explicitly:
Important local-only note
The generatedwebhook route is intentionally easy to bring up locally. It is not a safe internet-facing default until you set WEBHOOK_HMAC_SECRET in the generated env file.
So for this first quickstart:
- use it on localhost
- prove the ingress path works
- then harden it before exposing it anywhere else
What this quickstart proves
You are proving that:- an external producer can reach Kheish through a connector sidecar
- the daemon still owns session resolution and run creation
fixed_session_idcan collapse repeated ingress into one durable session
Next steps
Once the first webhook event works, continue with:- Connectors for the transport model
- Multiple input connectors in one session for fan-in patterns
- Connector configuration for file-backed and runtime-backed models
- External connectors protocol for sidecar contract details
