Why Can't Anyone Answer Questions About the Business? — Garrett Galow, WorkOS
TL;DR
WorkOS built Studio to kill the back-and-forth on business questions: Instead of non-technical teams waiting on engineers for ad hoc SQL, Studio lets employees ask things like which blog posts drive the most new team sign-ups and get answers or dashboards themselves.
The system uses LangGraph plus Claude Opus, but the real trick is runtime context injection: Studio does not stuff every schema and rule into the prompt upfront, it injects tool-specific guidance only when the agent decides to query Snowflake, Linear, or Notion.
Reusable widgets make the output reliable: After the LLM helps create a widget, the final artifact is sandboxed JavaScript with UI, APIs, and queries, so refreshing a dashboard reruns code directly instead of calling the model again.
Validation matters more than flashy autonomy: Before Studio hardcodes a Snowflake query into a widget, it runs the query and checks that it returns data, because syntactically valid SQL that yields zero rows is still a broken answer.
The biggest source of errors is usually business logic, not SQL syntax: Galow says models often miss org-specific filters like excluding deleted entities or requiring active status, so WorkOS encodes those quirks in context blocks once instead of retraining every employee.
WorkOS is willing to pay for model quality: Galow says Opus performs enough better than cheaper models that they accept the cost, especially since widget refreshes no longer incur LLM charges.
The Breakdown
WorkOS got tired of the endless Slack-to-SQL loop, so it built an internal agent called Studio that turns plain-English business questions into live answers and reusable widgets, with no RAG layer and no LLM in the loop once the widget ships. Garrett Galow shows how support and product teams query Snowflake, Linear, and Notion directly, then lock the result into reliable JavaScript tools that rerun without model costs.
Was This Useful?
Share
Keep Reading
Make Alcreon Yours
Tune your feedFive quick questions, and the feed ranks what matters to you first.Or just get notified
The weekly Echo. Signal worth keeping in your inbox.
Every new piece, announced on X.
Read Next
See all
Playbook
Cheap Models, Hard Tasks
Most agent workflows route every step to the frontier model by default. The bill scales with how chatty the agent gets, even when most steps don't need that brain.

Playbook
Tasteful Skills
“Tasteful Skills” argues that the best agent skills are not documentation or best-practice lists.

Playbook
The Art of Tasteful Prompting
Learn how tasteful prompting helps you move beyond generic AI output by shaping context, style, and judgment from the start.