The problem
In a consulting environment, early-stage software engagements require teams to turn incomplete product or transformation requirements into a credible delivery backlog, staffing model, and effort estimate. The work is expert-intensive and inconsistent across teams. The largest estimation risk is often not sizing known tasks incorrectly. It is failing to identify necessary work at all: security, CI/CD, migrations, testing, observability, or deployment. An estimate also has to be reproducible and auditable, which rules out leaving the arithmetic to an LLM.
What was built
The team designed a deterministically orchestrated workflow, not a fully autonomous agent loop. Application logic controls the stage order: product spec → clarification → backlog generation → completeness review → human approval → effort estimation → delivery roadmap.
Two agents reason inside those stages. The backlog agent turns a specification into epics and tasks with acceptance criteria, dependencies, required skills, and a citation to the originating requirement. A completeness pass challenges that backlog against commonly missed areas such as authentication, CI/CD, data migration, and rollback, and keeps suggested work distinct from stated requirements. After a human review gate, the delivery agent assigns Fibonacci story points, each with a written rationale and a confidence score.
Key decisions:
- A configurable lookup table converts story points to man-days per seniority level.
- All arithmetic runs in application code, never in the LLM.
- Dependencies are ordered by topological sorting.
- Every agent output is validated against a JSON schema.
- A 13-point estimate triggers a recommendation to split the task.
Results
The design makes estimates reproducible, auditable, and immediately recalculable: when a consultant changes a task estimate or the productivity assumptions, the same backlog can be evaluated under a different delivery scenario without regenerating the model's reasoning. The value identified is potential, not measured: faster and more consistent first-pass estimates, better identification of commonly omitted work, and less dependence on a small number of senior architects.
Where it applies
The principle is LLM reasoning where ambiguity exists and deterministic software where correctness and reproducibility matter. It applies to solution design, proposal generation, technical due diligence, and delivery planning.