Skip to content
UsecaseBoard
← All use cases
docsbuilder

Investigate a conversion drop with a warehouse agent that exposes its SQL

At a glance

OpenAI's data-analyst example combines schema discovery, metric context, read-only SQL, and explicitly saved corrections in one persistent investigation; database execution stays in the application. This workflow is listed under builder, openai-agents-api, data-analysis, read-only-sql, agent-memory.

Agents / tools
OpenAI Agents API, PostgreSQL-compatible warehouse

Building a tool for these workflows? See weekly rates.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

Configure the Cookbook analyst example with a read-only warehouse role and reviewed metric definitions. Start its local interface and ask why a chosen metric changed last week. Inspect every query, refine the customer segment in the same session, and explicitly save only corrections you want future investigations to reuse.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →
company-blogbuilder

Persist customer context between Make AI agent runs

Make's memory guide provides a concrete read-normalize-reason-route-write pattern keyed to a customer or case, with module-level inspection and recovery paths for missing or malformed state.

MakeMake Data StoreAI model
Source ↗