Command Line Interface (CLI) Reference 💻¶
This section documents the subcommands and command-line execution helper modules in dv-agentic-system.
Agent Invocation Commands¶
These CLI handlers map command-line arguments to agent runs.
Orchestrator Command¶
orchestrator
¶
CLI entrypoint for OrchestratorAgent.
Sub-agents are wired up automatically based on --simulator and
--adapter flags. The LLM client is selected from environment variables
(see :mod:~dv_agentic.cli._factory).
When --project-config is provided, the three-layer configuration system
is activated: team profile, IP-type rules, and adapter settings are all
loaded from .agent/project.yaml and the profiles directory, and injected
into every agent's system prompt via :class:~dv_agentic.prompts.prompt_loader.PromptLoader.
Examples:
.. code-block:: shell
# Minimal: no profile injection
python3 -m dv_agentic.cli.orchestrator \
--input-file task.txt \
--simulator xcelium \
--adapter imc
# Full: load team + IP profiles from project.yaml
python3 -m dv_agentic.cli.orchestrator \
--project-config .agent/project.yaml \
--profiles-dir ../team-profiles \
--input-file task.txt
main()
¶
Main execution block of the Orchestrator CLI.
Source code in src/dv_agentic/cli/orchestrator.py
Code Generator Command¶
code_generator
¶
CLI entrypoint for CodeGeneratorAgent.
Examples:
.. code-block:: shell
python3 -m dv_agentic.cli.code_generator --task-id cov_fix_001 --input-file task_description.txt
main()
¶
Main execution block of the CodeGenerator CLI.
Source code in src/dv_agentic/cli/code_generator.py
Sim Controller Command¶
sim_controller
¶
CLI entrypoint for SimControllerAgent.
Examples:
.. code-block:: shell
python3 -m dv_agentic.cli.sim_controller --task-id cov_fix_001 --test axi_burst_test --seed 42 --simulator xcelium
main()
¶
Main execution block of the SimController CLI.
Source code in src/dv_agentic/cli/sim_controller.py
Log Analyzer Command¶
log_analyzer
¶
CLI entrypoint for LogAnalyzerAgent.
Examples:
.. code-block:: shell
python3 -m dv_agentic.cli.log_analyzer --input-file sim_test_42.log
python3 -m dv_agentic.cli.log_analyzer --input-file - # read stdin
cat sim.log | python3 -m dv_agentic.cli.log_analyzer
main()
¶
Main execution block of the LogAnalyzer CLI.
Source code in src/dv_agentic/cli/log_analyzer.py
Specialty Commands¶
Spec Analyst Command¶
spec_analyst
¶
CLI entrypoint for SpecAnalystAgent.
Examples:
.. code-block:: shell
python3 -m dv_agentic.cli.spec_analyst --input-file spec.txt --output-path .agent/vplan.yaml
main()
¶
Main execution block of the SpecAnalyst CLI.
Source code in src/dv_agentic/cli/spec_analyst.py
Bug Classifier Command¶
bug_classifier
¶
CLI entrypoint for BugClassifierAgent.
Examples:
.. code-block:: shell
python3 -m dv_agentic.cli.bug_classifier --input-file failure_summary.txt --threshold 0.75
cat failure.txt | python3 -m dv_agentic.cli.bug_classifier
main()
¶
Main execution block of the BugClassifier CLI.
Source code in src/dv_agentic/cli/bug_classifier.py
Coverage Analyst Command¶
coverage_analyst
¶
CLI entrypoint for CoverageAnalystAgent.
Examples:
.. code-block:: shell
python3 -m dv_agentic.cli.coverage_analyst --job-id my_test_42 --adapter imc --threshold 90.0
main()
¶
Main execution block of the CoverageAnalyst CLI.
Source code in src/dv_agentic/cli/coverage_analyst.py
Reporter Command¶
reporter
¶
CLI entrypoint for ReporterAgent.
Examples:
.. code-block:: shell
python3 -m dv_agentic.cli.reporter --input-file session_results.txt --output-path .agent/tasks/{task_id}_report.md
main()
¶
Main execution block of the Reporter CLI.
Source code in src/dv_agentic/cli/reporter.py
Environment Setup & Installer Command¶
install_agents
¶
CLI entrypoint for the agent installer.
Generates enriched .agent/subagents/*.md files from the canonical prompt
templates and creates symlinks for Claude Code, Cursor, and OpenCode.
What it does¶
- Optionally loads
project.yaml+ org profiles to enrich prompts (Level 1 injection: team rules + IP-type rules; session state omitted). - For each of the agents, calls :class:
~dv_agentic.prompts.prompt_loader.PromptLoaderto produce an enriched prompt body (placeholders filled, unmatched removed). - Strips the OpenCode-style YAML front matter from the source template.
- Prepends Claude Code / Cursor compatible YAML front matter.
- Writes to
{worktree}/.agent/subagents/{agent}.md. - Creates symlinks in
.claude/agents/and.cursor/rules/.
Examples:
.. code-block:: shell
# No profile injection — raw prompts only
python3 -m dv_agentic.cli.install_agents --worktree /path/to/project
# Full profile injection
python3 -m dv_agentic.cli.install_agents \
--worktree /path/to/project \
--project-config .agent/project.yaml \
--profiles-dir ../team-profiles
# Overwrite existing files
python3 -m dv_agentic.cli.install_agents --force
install(worktree, project_yaml, profiles_dir, force)
¶
Generate enriched subagent files and create symlinks.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
worktree
|
Path
|
Root of the verification project (contains |
required |
project_yaml
|
Path | None
|
Optional path to |
required |
profiles_dir
|
Path | None
|
Optional root of the org profile repository. |
required |
force
|
bool
|
Overwrite existing |
required |
Returns:
| Type | Description |
|---|---|
int
|
Exit code: 0 on success, 1 if any agent failed. |
Source code in src/dv_agentic/cli/install_agents.py
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 | |
main()
¶
Main execution block for the install-agents CLI.