Kernel Map
The kernel map is a compact view of the main coupling boundary. Agent space owns reusable behavior. The runtime host owns infrastructure and operational policy. @harness-kernel/core is the contract layer between them.
agent space
modes
tools
hooks
roles
context
events
@harness-kernel/core
runtime host
providers
storage
sandbox
approvals
logging
sessions
Use this map when deciding where a dependency belongs:
- If it changes what the agent is or how it behaves, keep it in agent space.
- If it changes how the application runs, observes, persists, approves, or isolates the agent, keep it in the runtime host.
- If it is a shared contract between those sides, keep it in
@harness-kernel/coreor a public subpath.
Next: Runtime vs Agent and Package Boundaries.