# Consulting Agent 3.0: Agent-Led Research

> Planning and scheduling are handed to the agent itself; humans keep direction, quality gates, and final delivery.

- Period: 2026.08—09
- Status: Frozen
- Type: Original work by the author
- Tags: Agent Lead, DAG scheduling, Sub-agents, Quality gates
- Code: https://github.com/baifan11/generic-agent-framework
- Cover: https://me.ai-clover.com/covers/cover-consulting-agent-3.webp
- Original: https://me.ai-clover.com/en/projects/consulting-agent-3/

3.0 splits the work the opposite way from 2.x: the agent leads, and humans assist with review.

Concretely, an Agent Lead takes the task: it understands the question, breaks it down, and generates a research plan with dependencies (a DAG); it then schedules research according to the plan, organizes the evidence, self-assesses, and proposes the next actions. Sub-agents go at most two levels deep, with limits on tool permissions, counts, and budgets, so they can't spawn without bound. At the end of each stage there's a readiness review, and work only proceeds after human approval; if a quality gate fails, the system either fills the evidence gap in a targeted way or re-runs that segment — and if a human decides to accept it anyway, a "quality exception" is recorded rather than pretending it passed. The interface has a research canvas and a progress board, so you can see what it's doing and where it's stuck.

The freeze snapshot of 2026-09-07: 715 offline tests passing, 13 dedicated stage-review tests passing, and the frontend build passing. The boundary was written down too: a complete research loop with real models and real external retrieval was never acceptance-tested at scale at the time; there's still a fair distance between "passes offline" and "usable in production".

By this generation, my view of "agent autonomy" had basically settled: it's not about maximizing the number of actions it takes on its own. It's about drawing the boundary clearly first, letting it move on its own inside that boundary, and keeping the plan, the state, the evidence, and the points where humans step in all visible.

## Diagrams

### Main flow

```mermaid
graph LR
  A[Research task] --> B[Lead breakdown]
  B --> C[DAG research plan]
  C --> D[Sub-agent execution]
  D --> E[Evidence + self-review]
  E --> F{Quality gate}
  F -->|Fails, targeted fill-in| D
  F -->|Passes| G[Human approval]
  G --> H[Delivery]
```

### System architecture

```mermaid
graph TB
  subgraph L1["Lead layer"]
    LEAD[Agent Lead]
    PLAN[DAG plan]
  end
  subgraph L2["Execution layer"]
    SUB[Sub-agents]
    TOOL[Tool set]
  end
  subgraph L3["Governance layer"]
    GATE[Quality gate]
    REV[Readiness review]
    BUD[Permissions + budget]
  end
  subgraph L4["Presentation layer"]
    CV[Research canvas]
    BD[Progress board]
  end
  LEAD --> PLAN --> SUB
  SUB --> TOOL
  SUB --> GATE
  REV -.-> LEAD
  BUD -.-> SUB
  CV --- LEAD
  BD --- PLAN
```

## Updates

- 2026-09-07: Freeze snapshot: 715 offline tests passing (recorded at the time)
