High-Level Architecture
+-------------------------------------------------------------------+
| YIELD ANALYST'S COCKPIT |
+-------------------------------------------------------------------+
+-------------------------------------------------------------------+
| USER INTERFACE |
| +-------------------------------------------------------------+ |
| | Command Input: [analyze best board ] [Run] | |
| +-------------------------------------------------------------+ |
| |
| +----------------------+ +----------------------------------+ |
| | BLUEPRINT PANEL | | EXECUTION TRACE | |
| | Step 1: find_best | | [19:26:03] Parsing query... | |
| | Step 2: get_summary | | [19:26:05] find_best_board() | |
| | Step 3: analyze | | [19:26:05] Found: Board #11 | |
| | [Approve] [Cancel] | | [19:26:06] Completed in 1.8s | |
| +----------------------+ +----------------------------------+ |
+-------------------------------------------------------------------+
|
v
+-------------------------------------------------------------------+
| AGENTIC ENGINE |
| State: IDLE -> PLANNING -> AWAITING_APPROVAL -> RUNNING -> DONE |
| |
| +------------------+ +------------------+ +-----------------+ |
| | PlanBuilder | | ToolRegistry | | ExecutionContext | |
| | - Pattern match | | - 13 tools | | - Three-tier | |
| | - Entity extract | | - Typed params | | caching | |
| | - Build plan | | - Execute fn | | - Step results | |
| +------------------+ +------------------+ +-----------------+ |
+-------------------------------------------------------------------+
|
v
+-------------------------------------------------------------------+
| DATA LAYER (YieldDataClient) |
| |
| +-----------------------------+ +----------------------------+ |
| | board_yield_data.csv | | fab_configs.json | |
| | (30 boards, 14 components) | | (Semiconductor configs) | |
| +-----------------------------+ +----------------------------+ |
+-------------------------------------------------------------------+
Component Responsibilities
| Component |
Location |
Responsibility |
| AgenticEngine |
agentic_engine.py |
State machine, plan execution |
| PlanBuilder |
plan_builder.py |
NL parsing, pattern matching |
| ToolRegistry |
tool_registry.py |
13 tool registrations, execution |
| ExecutionContext |
execution_context.py |
Three-tier caching |
| YieldDataClient |
data_client.py |
CSV loading and data access |