Expand description
hatchling-runtime: the hatchling command.
One binary for the whole runtime: hatchling broker runs the broker
and hatchling agent runs the agent, each with exactly the command
line of hatchling-broker and hatchling-agent. Install it with
cargo install hatchling-runtime.
Two invocations don’t name a subcommand, because the broker makes them itself:
- The broker starts its spawner helpers (
skill-cell,agent-run) by re-running its own executable, which ishatchlinghere. - A cell runs its program as
/agent, sohatchlingstarted under that name is the agent. PointHATCHLING_AGENT_BINathatchlingand the one binary serves both sides.
The routing is route, a pure function, so it’s tested without
starting anything.
Enums§
- Route
- What one invocation of
hatchlingruns.
Constants§
- USAGE
- Usage, printed for
--helpon stdout and for a usage error on stderr.
Functions§
- route
- Routes one invocation:
argv0is the name it was started under, andargsthe arguments after it.