Problem
nOps builds a cloud cost optimization product. Its cloud cost analytics assistant Clara first ran on Kubernetes with LangChain/LangGraph orchestration and tools wrapped around the product's web APIs. Long API payloads inflated the context, so answers were slow and inconsistent. Several orchestration and observability layers made debugging hard and took engineering time from the product. Answers followed API responses, not a shared definition of each measure.
Example from the article: a user asks for "true AWS cost for the last 30 days by account". Getting it right means applying enterprise discounts, private pricing credits, and reserved-instance and Savings Plan effects in every query.
Solution in brief
Clara now queries pre-defined measures in Databricks Lakehouse Metric Views, so business logic lives in one governed place instead of in generated SQL. A single Strands agent on Amazon Bedrock AgentCore calls a few tools directly, with managed memory and a guardrails pre-check. Slow jobs run asynchronously.
Questions this case answers
- How to make an LLM agent answer metric questions consistently with existing dashboards when the metric logic is complex and spread across many tables
- How to keep an agent responsive and tenant-isolated when analytical queries are slow and the data path is shaped by general-purpose APIs
- How to make an analytics chat agent return the same numbers as the product dashboards?
- How to stop an LLM agent from rewriting business logic (discounts, credits, commitments) in every SQL query?
Tools and methods
- Databricks Lakehouse Metric Views — governed measures with comments and synonyms the LLM reads
- Databricks SQL — warehouse that runs the agent's queries
- Databricks Lakebase — serverless PostgreSQL for sessions, canvases and widget specs
- Amazon Bedrock AgentCore — managed agent runtime and memory
- Strands — the agent framework; one agent with direct tools
- Amazon Bedrock Guardrails — prompt check before the agent runs
- Amazon DynamoDB, SNS, SQS, API Gateway WebSocket — async jobs and result push
Google or a one-time email code. No password.