Skip to content

Host Handlers ​

This directory is the human navigation layer for built-in host.* handlers. The canonical field-level reference remains ../hosts.md, which keeps existing anchors stable.

Hosts are grouped by the kind of boundary they cross:

FamilyHandlersGuide
Local executionhost.run, host.starlark.runlocal.md
Agent callshost.agent.extract, host.agent.ask, host.agent.decide, host.agent.codeact, host.agent.task, host.agent.converseagent.md
Transports and artifactshost.transport.post, host.artifacts_dir, media producerstransports-artifacts.md
Operator-facing statejobs, chats, IDE, diffs, GitHub Issues, workspace contextoperator.md

Authoring Rule ​

Every handler must be present in the app's top-level hosts: allow-list before a story can invoke it. The effect shape is documented in kitsoki docs app-schema; this section documents what each built-in handler accepts and returns.

For the Starlark-specific authoring model shared by host.starlark.run and host.agent.codeact, see ../starlark.md.

Extending Hosts ​

To add a built-in handler, start with ../developer-guide.md §5.2. For story-level host interfaces that can be rebound by importers, see ../../stories/imports.md.