Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • Getting Started with AI for VLSI Engineers5
  • Just Enough AI: Models and Context15
  • Prompting13
  • Trust and Verification14
  • Using AI for Engineering Work17
  • Engineering Walkthroughs7
  • Practical Foundations for AI Workflows4
  • Engineering Data5
  • Retrieval-Augmented Generation6
  • Agents and Tool Use18
  • Agent Design8
    • Define the Task and Boundaries
    • Design the Architecture
    • Build Safe Read-Only Tools
    • Control the Decision Loop
    • Record State and Hand Over
    • Handle Errors and Budgets
    • Build the Starter Controller
    • Evaluate Your Assistant
  • MCP and Skills6
  • Multi-Agent Design6
  • Practical Capstone6
  • Tokens, Cost and Latency12
  • Agentic Workflows for Chip Teams18
  • Interview and Judgment10
  • AI Skills: Full Course Index
  • Working with AI Glossary
  • Working with AI Cheatsheet
Loading lesson

‹Agent Design
  1. Topics
  2. AI Skills for VLSI Engineers
  3. Agent Design
  4. Define the Task and Boundaries

Agent Design · Beginner

Define the Task and Boundaries

Turn a regression question into a small, reviewable evidence-gathering task.

On this page

    The Problem: A Request That Is Too Broad

    A DV engineer asks, 'Investigate last night's failures and fix the regression.' That sentence combines reading, diagnosis, expensive execution, and design changes. A beginner cannot evaluate success because neither the data scope nor the permitted effects are clear. First reduce the request to an evidence task: summarize the supplied reset_smoke failure in run R42, locate its relevant reset requirement, compare the supplied history, and hand unresolved questions to an engineer. The assistant should make that limited review easier even when it cannot identify a cause.

    Write an Observable Task Contract

    A useful contract names the input snapshot, allowed questions, evidence sources, forbidden effects, and completion criteria. 'Read-only' alone is insufficient: reading a protected netlist could still disclose intellectual property. Our contract allows exactly lab/runs/R42/log.txt, lab/spec/reset-v3.txt, and history for reset_smoke in fixture-v1. These strings identify in-memory teaching records; they do not grant access to similarly named real files. The requester does not gain permission to enlarge the scope by placing instructions inside a log.

    Contract item

    Synthetic regression assistant

    Question

    What failed, which requirement applies, and what is still unknown?

    Tools

    searchlogs, readspec, getrunhistory

    Permitted effect

    Read fixed fixtures and return a console evidence packet

    Forbidden effect

    Shell commands, jobs, writes, waivers, or protected data access

    Done

    Evidence handed over or an explicit blocked/budget status

    Worked Synthetic Example

    The supplied R42 log reports reset_smoke failing at cycle 12, with observed_valid=1 and expected_valid=0. Specification revision 3 says valid must remain zero through the first rising edge after reset release. The correct first deliverable pairs those two observations. It does not declare that an RTL reset synchronizer is broken: the excerpt does not establish whether cycle 12 is that first edge, whether the checker samples correctly, or whether the configured specification revision matches the run. History can strengthen a comparison but cannot fill those missing facts.

    For an STA engineer, the same contract might restrict reading to one timing report, one constraint excerpt, and a history of the same analysis scenario. For PD, it might compare a congestion report with an approved floorplan note. A negative slack value or congestion hotspot is an observation, while blaming an exception or macro placement is a hypothesis. Start with a single scenario and keep units, corners, and revision identities visible so the comparison has meaning.

    Exercise and Expected Checks

    Rewrite this request: 'Find why timing regressed and rerun until it passes.' Give the assistant one current report, one previous report, and an approved constraint excerpt. Specify the report identifiers and scenario, allow only evidence retrieval, and require a handover listing the changed observations and missing context. Use invented identifiers rather than actual project data. Decide what the assistant should return if the previous report is absent.

    Check yourself What should your rewritten contract say about a missing previous report?

    Return a partial comparison with the missing report recorded as an unknown. Do not substitute a report from another corner, launch timing analysis, or invent a previous slack value.

    Limits and Further Reading

    A contract cannot make incomplete evidence sufficient. Its value is that a reviewer can distinguish task completion from engineering closure. A short, well-sourced partial answer is a valid handover; accepting a design or signing off timing remains a separate engineering decision. For the threat of retrieved content changing an assistant's instructions, see OWASP LLM01:2025 Prompt Injection, the 2025 risk entry. This section applies that concern through deterministic tool boundaries.

    Related topics

    • Up: Agent Design

    • Next: Design the Architecture

    Previous

    105 / 173

    Next: Design the Architecture

    Up next

    Up nextDesign the Architecture

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Build Safe Read-Only Tools
    • Control the Decision Loop
    • Record State and Hand Over