# DB Exploration Tests that the agent queries the database, renders results as tables in the workspace (not as text in chat), and creates interactive exploration UI. ## Setup - clear history ## Steps ### 1. Query renders table in workspace - send: show me 5 customers from the database - expect_trace: has tool_call - expect_actions: has table - expect_response: not contains "---|" or "| ID" ### 2. Chat summarizes, does not dump data - expect_response: contains "customer" or "Kunde" or "5" or "table" - expect_response: length > 10 ### 3. Thinker builds exploration UI (not describes it) - send: select customer 2 Kathrin Jager, add buttons to explore her objects and devices - expect_actions: length >= 1 - expect_response: not contains "UI team" or "will add" or "will create" ### 4. Error recovery on bad query - send: SELECT * FROM nichtexistiert LIMIT 5 - expect_trace: has tool_call - expect_response: not contains "1146" - expect_response: length > 10