Expand description
Leviath CLI library - re-exports for integration tests.
Modules§
- bundled
- The agent blueprints shipped inside the
levbinary, and the planner that decides what to do with them. - commands
- CLI command implementations.
- config
- CLI configuration management.
- credentials
- Choosing and using the configured credential backend.
- daemon
- The shared-world daemon: hosts one ECS world for every agent and serves the
control socket. This module holds the CLI-side pieces that plug into the
runtime’s daemon library (
leviath_runtime::host,leviath_runtime::control_socket): the tool service that bridges tool calls to the built-in / MCP executors and the interaction hub. - dispatch
- Command dispatch: the
Commandsenum and thedispatch()function that routes a parsed subcommand to its executor. - lint
- Blueprint lint: the checks
Blueprint::validatedeliberately does not make. - logging
- Process-wide logging: the subscriber
maininstalls, with a reloadable slot for the OTLP log-export layer. - read_
path_ report - Whether the user’s config actually grants what a blueprint’s
[read_paths]declares, entry by entry. - render
- Markdown → ratatui
Textrenderer. - runstate
- On-disk run state for background agent executions.
- tools
- Unified tool registry combining built-in tools and MCP-discovered tools.
- tui
- Seams shared by every Leviath terminal UI.