Loading...
mutiro agent dev

Build, run and test an agent's tools, hooks and page handlers locally

Synopsis

Work on an agent's owner-authored code without deploying it.

Tool extensions (.genie/tools/), hooks (.genie/hooks/) and page handlers (handlers.ts or handlers.js beside a page under shared/) are TypeScript or JavaScript the agent runs in its embedded engine.

The runtime bundles them at load: relative imports inside the agent config root, TypeScript stripped of its types, named exports as the names the runtime looks up.

These commands use that same build and engine against a local config root, typically your agent repo, with mocks in place of the agent's tools.

mutiro agent dev check ./ltl load everything as the agent would at boot mutiro agent dev test ./ltl run tests/**/*.test.ts (describe, it, expect) mutiro agent dev run ./ltl tool:desk_pending run one tool, hook or handler with mocks mutiro agent dev types ./ltl write mutiro.d.ts and tsconfig.json

Usage -h, --help help for dev
Options
Flag Type Description
-h, --help bool help for dev
Global Options
Flag Type Description
--config string config file (default is ./.mutiro.yaml in current directory)
--debug bool debug mode
-v, --verbose bool verbose output
Subcommands
See Also
mutiro agent mutiro agent dev check mutiro agent dev run mutiro agent dev test mutiro agent dev types