Agents API Reference 🧠¶
This section provides complete technical documentation of the dv-agentic-system multi-agent ecosystem. These specialized agents collaborate to perform specification analysis, code generation, simulation execution, log triage, and final coverage analysis.
Base Class & Configuration¶
All specialized sub-agents inherit from BaseAgent and are configured via AgentConfig.
base
¶
AgentConfig
dataclass
¶
Configuration for an Agent.
Attributes:
| Name | Type | Description |
|---|---|---|
name |
str
|
Unique identifier for the agent. |
budget |
int
|
Maximum number of iterations allowed. |
environment |
Literal['internal', 'external']
|
Execution context, either "internal" (local) or "external" (remote). |
Source code in src/dv_agentic/agents/base.py
__post_init__()
¶
Validate configuration parameters.
Source code in src/dv_agentic/agents/base.py
BaseAgent
¶
Bases: ABC
Abstract base class for all Agents in the UVM system.
Source code in src/dv_agentic/agents/base.py
__init__(config)
¶
Initialize the agent with a configuration.
check_budget()
async
¶
Check if the agent still has remaining budget to continue iterations.
Note: Subclasses should prefer calling step() which both checks
the budget and increments the iteration counter.
Source code in src/dv_agentic/agents/base.py
run(task_input)
abstractmethod
async
¶
Execute the agent's core logic.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str
|
The input string describing the task. |
required |
Returns:
| Type | Description |
|---|---|
str
|
A string representing the result or next steps. |
step()
async
¶
Advance agent by one iteration.
Returns:
| Type | Description |
|---|---|
bool
|
True if budget remains, False otherwise. |
Orchestrator Agent¶
The OrchestratorAgent coordinates all task routing, schedules sub-agents, and manages loop safety guardrails.
orchestrator
¶
Orchestrator agent.
Routes tasks to the appropriate workflow and coordinates sub-agent handoffs.
Workflow model¶
The LLM acts as the decision maker; Python executes the decisions.
Each turn
- LLM receives the accumulated history and returns a structured decision.
- Python parses: WORKFLOW, ACTION, INPUT, HUMAN_REVIEW.
- Python dispatches the action to the appropriate sub-agent.
- Sub-agent result is appended to history as a new user message.
- Repeat until ACTION is
done/escalate, or budget is exhausted.
Dynamic escalation¶
When the Orchestrator dispatches run_log_analyzer it also tracks the
failure_subtype field in the returned :class:~dv_agentic.agents.log_analyzer.FailureSummary.
If the subtype shifts between consecutive log-analyzer calls (e.g.
missing_timescale → unmatched_block) the Orchestrator escalates
immediately instead of iterating further. A shifting error space indicates
that each fix is revealing a new root-cause rather than converging, which
means additional iterations are unlikely to produce a passing simulation and
token budget is better spent on human diagnosis.
Valid actions¶
run_code_generator, run_sim_controller, run_log_analyzer,
run_coverage_analyst, run_bug_classifier, run_spec_analyst,
run_reporter, done, escalate
Expected LLM response format::
### Decision
WORKFLOW: 1
ACTION: run_code_generator
INPUT: Generate a targeted sequence for axi_burst bin
### Human Review Required
NO
OrchestratorAgent
¶
Bases: BaseAgent
Routes tasks and coordinates sub-agents across Workflows 1, 2, and 3.
Each budget unit corresponds to one LLM routing call + one sub-agent dispatch. Sub-agents consume their own budgets independently.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AgentConfig
|
Agent configuration. |
required |
llm
|
BaseLLMClient
|
LLM client used for routing decisions. |
required |
sub_agents
|
dict[str, BaseAgent] | None
|
Mapping from agent key to agent instance, e.g.
|
None
|
project_config
|
ProjectContext | None
|
Optional context for PromptLoader enrichment. |
None
|
session
|
SessionState | None
|
Optional session state. |
None
|
prompts_dir
|
str | Path | None
|
Directory containing |
None
|
Source code in src/dv_agentic/agents/orchestrator.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 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 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 | |
run(task_input)
async
¶
Execute the full agentic verification flow.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str
|
Natural language description of the verification task. |
required |
Returns:
| Type | Description |
|---|---|
str
|
A human-readable final summary report. |
Source code in src/dv_agentic/agents/orchestrator.py
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 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | |
OrchestratorResult
dataclass
¶
Structured output from :class:OrchestratorAgent.
Attributes:
| Name | Type | Description |
|---|---|---|
task_id |
str
|
Unique identifier for the orchestrated task. |
workflow |
str
|
The detected workflow category ("1", "2", or "3"). |
final_status |
str
|
Termination state ("done", "escalated", or "budget_exhausted"). |
steps |
list[str]
|
List of summary strings for each sub-agent dispatch. |
requires_human_review |
bool
|
True if the process stopped for manual intervention. |
human_review_reason |
str
|
Explanation for why review is required. |
Source code in src/dv_agentic/agents/orchestrator.py
Code Generator Agent¶
The CodeGeneratorAgent generates stimulus sequences, testbenches, and checkers utilizing UVM/pyuvm constructs.
code_generator
¶
SV/UVM testbench code generation agent.
Scope boundary¶
This agent operates exclusively on testbench files (sequences, scoreboards, coverage groups, monitors, drivers, agents, env). RTL source files are strictly read-only — this agent must never create or modify them.
The allowed_dirs constructor parameter enforces this at write time. When
set, any file path whose top-level directory is not in the whitelist raises a
ValueError before a byte is written to disk. .. traversal is always
blocked regardless of allowed_dirs.
Workflow¶
- Load the enriched
code_generatorsystem prompt viaPromptLoader. - Send the task description as the first user message.
- Parse the LLM response for
### Compile Confidence. - HIGH or MEDIUM → extract code, write files, return report.
- LOW or UNKNOWN → append open questions as a follow-up user message, repeat from step 3.
- Stop when confidence passes or
AgentConfig.budgetis exhausted.
CodeGeneratorAgent
¶
Bases: BaseAgent
Generates and modifies SV/UVM testbench code through multi-turn LLM dialogue.
Terminates when the LLM reports HIGH or MEDIUM compile confidence or when
AgentConfig.budget iterations are exhausted.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AgentConfig
|
Agent configuration. |
required |
llm
|
BaseLLMClient
|
Any :class: |
required |
project_config
|
ProjectContext | None
|
Optional project context for PromptLoader enrichment. |
None
|
session
|
SessionState | None
|
Optional session state injected into the system prompt. |
None
|
prompts_dir
|
Path | str | None
|
Directory containing |
None
|
workspace_dir
|
str
|
Root directory where generated files are written. |
'.'
|
allowed_dirs
|
frozenset[str] | set[str] | None
|
Whitelist of top-level directory names the agent may
write into. |
None
|
Source code in src/dv_agentic/agents/code_generator.py
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 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 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 | |
run(task_input)
async
¶
Run the code generation loop.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str | CodeTask
|
A :class: |
required |
Returns:
| Type | Description |
|---|---|
str
|
A formatted :class: |
Source code in src/dv_agentic/agents/code_generator.py
CodeReport
dataclass
¶
Structured output from a completed :class:CodeGeneratorAgent run.
Attributes:
| Name | Type | Description |
|---|---|---|
task_id |
str
|
Unique identifier for the code generation task. |
final_status |
str
|
Termination state ("pass" or "budget_exhausted"). |
iterations |
int
|
Total number of LLM calls made. |
files_written |
list[str]
|
List of absolute paths to the files written to disk. |
confidence |
str
|
Final self-reported confidence from the LLM. |
summary |
str
|
Final summary of the changes implemented. |
open_questions |
str
|
Remaining questions or issues if status is not "pass". |
Source code in src/dv_agentic/agents/code_generator.py
CodeTask
dataclass
¶
Input specification for a single CodeGeneratorAgent run.
Attributes:
| Name | Type | Description |
|---|---|---|
task_id |
str
|
Unique identifier used in log messages and reports. |
description |
str
|
Natural-language task for the LLM, e.g.
|
Source code in src/dv_agentic/agents/code_generator.py
FileSpec
dataclass
¶
A file path and its full content, ready to write to disk.
Attributes:
| Name | Type | Description |
|---|---|---|
path |
str
|
Relative or absolute destination path for the file. |
content |
str
|
Full text content of the file. |
Source code in src/dv_agentic/agents/code_generator.py
ParsedResponse
dataclass
¶
Structured fields extracted from one LLM response.
Attributes:
| Name | Type | Description |
|---|---|---|
summary |
str
|
Executive summary of the changes made by the LLM. |
changed_file_paths |
list[str]
|
List of paths identified in the 'Changed Files' section. |
file_specs |
list[FileSpec]
|
List of :class: |
open_questions |
str
|
Feedback or questions from the LLM if confidence is low. |
confidence |
str
|
Self-reported compile confidence ("HIGH", "MEDIUM", "LOW"). |
confidence_reason |
str
|
Detailed justification for the confidence rating. |
raw |
str
|
The original raw string response from the LLM. |
Source code in src/dv_agentic/agents/code_generator.py
Simulation Controller Agent¶
The SimControllerAgent drives simulator execution, configures test variables, and triggers builds.
sim_controller
¶
Simulation execution agent.
Manages the full lifecycle of a simulation task
- Create
ai-task/{task_id}git branch. - Compile (fail-fast — never submit a broken build).
- Run the simulation in a loop, respecting the budget in
AgentConfig. - Commit the final state and report results.
SimControllerAgent
¶
Bases: BaseAgent
Runs compile → simulate → commit cycles within a git branch.
Does not require LLM access. All decisions are deterministic: compile fail → abort; sim pass → done; budget exhausted → escalate.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AgentConfig
|
Agent configuration (name, budget, environment). |
required |
simulator
|
SimulatorTool
|
A |
required |
coverage
|
CoverageTool | None
|
Optional |
None
|
base_branch
|
str
|
Git branch to fork from. Defaults to |
'main'
|
Source code in src/dv_agentic/agents/sim_controller.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | |
run(task_input)
async
¶
Execute the simulation task lifecycle.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str | SimTask
|
Either a :class: |
required |
Returns:
| Type | Description |
|---|---|
str
|
A human-readable report string (see :class: |
Source code in src/dv_agentic/agents/sim_controller.py
SimReport
dataclass
¶
Structured output from a completed SimControllerAgent run.
Source code in src/dv_agentic/agents/sim_controller.py
Log Analyzer Agent¶
The LogAnalyzerAgent parses simulation logs, identifies failures, and returns structured failure classifications.
log_analyzer
¶
Simulation log analysis agent.
Classifies simulation failures by matching known error patterns with
regular expressions. Falls back to unknown when no pattern matches
and sets debug_required = True so the Orchestrator can request a
debug-mode re-run.
Unknown-class handling can be handled by an LLM-powered agent. analysis) — this agent never speculates on root cause.
FailureSummary
dataclass
¶
Structured result produced by :class:LogAnalyzerAgent.
Granular sub-category within error_class.
Used by the Orchestrator's dynamic escalation logic: when the failure_subtype shifts between consecutive log-analyzer calls the Orchestrator escalates immediately instead of continuing to iterate, saving token budget on a shifting error space.
Compile-error subtypes (CVDP cluster-informed):
missing_timescale, unmatched_block, mixed_assignment,
multiple_drivers, width_mismatch, interface_mismatch,
syntax_general
Sim-error subtypes
scoreboard_fail, coverage_miss, timing_offset,
interface_mismatch, protocol_violation, sim_general
Source code in src/dv_agentic/agents/log_analyzer.py
LogAnalyzerAgent
¶
Bases: BaseAgent
Parses simulation logs and returns a structured :class:FailureSummary.
Does not require LLM access. Analysis is purely regex-based.
An LLM agent can provide reasoning for unknown class failures.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AgentConfig
|
Agent configuration (budget is not consumed by this agent, but is required by the ABC). |
required |
Source code in src/dv_agentic/agents/log_analyzer.py
174 175 176 177 178 179 180 181 182 183 184 185 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 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | |
analyze(content_or_path)
¶
Return a :class:FailureSummary for the given log content or file path.
run(task_input)
async
¶
Analyse a log file or log content string.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str
|
Path to a log file or raw log content. If the string resolves to an existing file, the file is read; otherwise the string itself is treated as log content. |
required |
Returns:
| Type | Description |
|---|---|
str
|
A formatted :class: |
Source code in src/dv_agentic/agents/log_analyzer.py
Other Sub-Agents¶
Below are additional specialized components:
Spec Analyst Agent¶
spec_analyst
¶
Spec analysis agent.
Parses a specification document (plain text or pre-extracted PDF content) and generates a structured verification plan (vplan) in YAML format.
Workflow¶
- Send the spec text to the LLM with the spec_analyst system prompt.
- Parse the YAML block from the response.
- If a complete YAML block is found → write to disk and return VplanResult.
- If incomplete or no YAML → ask the LLM to produce a complete plan and retry.
- Stop when a valid vplan is extracted or budget is exhausted.
SpecAnalystAgent
¶
Bases: BaseAgent
Parses a spec document and produces a structured vplan.yaml.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AgentConfig
|
Agent configuration ( |
required |
llm
|
BaseLLMClient
|
LLM client. |
required |
output_path
|
str | None
|
Where to write the generated vplan.yaml. Pass |
'.agent/vplan.yaml'
|
project_config
|
ProjectContext | None
|
Optional context for PromptLoader enrichment. |
None
|
session
|
SessionState | None
|
Optional session state. |
None
|
prompts_dir
|
str | Path | None
|
Directory containing |
None
|
Source code in src/dv_agentic/agents/spec_analyst.py
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 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 | |
run(task_input)
async
¶
Parse specifications and generate a verification plan.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str
|
Natural language description of the verification scope or paths to spec documents. |
required |
Returns:
| Type | Description |
|---|---|
str
|
A string containing the generated vplan (YAML format). |
Source code in src/dv_agentic/agents/spec_analyst.py
VplanResult
dataclass
¶
Structured output from :class:SpecAnalystAgent.
Source code in src/dv_agentic/agents/spec_analyst.py
Bug Classifier Agent¶
bug_classifier
¶
Bug classification agent.
Classifies a simulation failure as a testbench bug (TB_BUG) or an RTL bug (RTL_BUG), and assigns a confidence score. When confidence is below the project threshold the agent requests human review rather than guessing.
Workflow¶
- Build a prompt from the failure summary (and optional spec/code context).
- Call the LLM; parse BUG_TYPE, CONFIDENCE, and EVIDENCE from the response.
- If confidence >= threshold → done.
- If confidence < threshold → feed the open questions back and retry.
- If budget exhausted → mark
requires_human_review = True.
BugClassifierAgent
¶
Bases: BaseAgent
Classifies a simulation failure as a TB bug or RTL bug.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AgentConfig
|
Agent configuration ( |
required |
llm
|
BaseLLMClient
|
LLM client to use for classification. |
required |
confidence_threshold
|
float
|
Minimum confidence to accept a classification without flagging for human review. Defaults to 0.75. |
0.75
|
project_config
|
ProjectContext | None
|
Optional context for PromptLoader enrichment. |
None
|
session
|
SessionState | None
|
Optional session state injected into the system prompt. |
None
|
prompts_dir
|
str | Path | None
|
Directory containing |
None
|
Source code in src/dv_agentic/agents/bug_classifier.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 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 | |
run(task_input)
async
¶
Classify the failure described in task_input.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str
|
Failure summary text (e.g. |
required |
Returns:
| Type | Description |
|---|---|
str
|
A formatted :class: |
Source code in src/dv_agentic/agents/bug_classifier.py
ClassificationResult
dataclass
¶
Structured output from :class:BugClassifierAgent.
Source code in src/dv_agentic/agents/bug_classifier.py
Coverage Analyst Agent¶
coverage_analyst
¶
Coverage analysis agent.
The agent retrieves a coverage DB for a given job ID, compares the overall percentage against a threshold, and return a structured summary.
Hole classification (actionable / protocol_blocked / design_excluded) and priority ranking are LLM-powered features intended for future extension.
CoverageAnalystAgent
¶
Bases: BaseAgent
Retrieves coverage for a job and reports whether it meets the threshold.
Does not require LLM access. This agent can be extended to support LLM-based analysis.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AgentConfig
|
Agent configuration. |
required |
coverage
|
CoverageTool
|
A |
required |
threshold
|
float
|
Minimum acceptable overall coverage percentage. Defaults to 90.0. |
90.0
|
Source code in src/dv_agentic/agents/coverage_analyst.py
get_summary(job_id)
¶
Return a :class:CoverageSummary for job_id.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
job_id
|
str
|
Simulation job identifier. |
required |
Source code in src/dv_agentic/agents/coverage_analyst.py
run(task_input)
async
¶
Retrieve and summarise coverage for a simulation job.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str
|
The job ID whose coverage DB should be queried. |
required |
Returns:
| Type | Description |
|---|---|
str
|
A formatted :class: |
Source code in src/dv_agentic/agents/coverage_analyst.py
CoverageSummary
dataclass
¶
Structured output from :class:CoverageAnalystAgent.
Source code in src/dv_agentic/agents/coverage_analyst.py
Reporter Agent¶
reporter
¶
Session reporter agent.
Aggregates results from a completed agentic session and generates a structured markdown report suitable for human review or ticket creation.
This agent is intentionally single-turn: the input is fully structured and the LLM has everything it needs in one shot. Budget > 1 is unused in normal operation but respected for safety.
ReporterAgent
¶
Bases: BaseAgent
Generates a structured markdown report from session results.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
AgentConfig
|
Agent configuration. |
required |
llm
|
BaseLLMClient
|
LLM client. |
required |
output_path
|
str | None
|
Where to write the generated report. Pass |
None
|
project_config
|
ProjectContext | None
|
Optional context for PromptLoader enrichment. |
None
|
session
|
SessionState | None
|
Optional session state. |
None
|
prompts_dir
|
str | Path | None
|
Directory containing |
None
|
Source code in src/dv_agentic/agents/reporter.py
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | |
run(task_input)
async
¶
Aggregate results and generate a final report.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task_input
|
str
|
The history of agent interactions to summarize. |
required |
Returns:
| Type | Description |
|---|---|
str
|
A formatted markdown report string. |
Source code in src/dv_agentic/agents/reporter.py
SessionReport
dataclass
¶
Structured output from :class:ReporterAgent.