Give your coding agent a semantic layer for correct data analysis
Two BI veterans built Graphene so a coding agent can do analyst work: a token-efficient semantic layer with SQL queries, plus Markdown dashboards it can publish, connected to warehouses or local DuckDB.
Source
kcmarr on Hacker News · 2026-10-01 · Project link
Written in our own words. Credit to the original author. Link checked 2026-11-30.
What they did
Two BI veterans built Graphene so a coding agent can do analyst work: a token-efficient semantic layer with SQL queries, plus Markdown dashboards it can publish, connected to warehouses or local DuckDB.
Result (as claimed)
Open source on GitHub; 32 points on Show HN.
Tools they used
Cost: Pricing depends on the tools you pick; check each official pricing page.
Set it up
Gather your sources
Collect the papers, notes, links or files you want to work from in one place.
Load them into the tool
Open DuckDB and add your sources. Keep the original files so you can check claims later.
Ask focused questions
Ask for summaries, comparisons or connections with citations to the source passages.
Verify and save
Spot check claims against the sources, then save the output as notes you can reuse.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Give your coding agent a semantic layer for correct data analysis What the original author did: Two BI veterans built Graphene so a coding agent can do analyst work: a token-efficient semantic layer with SQL queries, plus Markdown dashboards it can publish, connected to warehouses or local DuckDB. Reported result (as claimed by the author): Open source on GitHub; 32 points on Show HN. Source: https://news.ycombinator.com/item?id=49927295 Tools they used: DuckDB Category: Research & learning Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Give your coding agent a semantic layer for correct data analysis What the original author did: Two BI veterans built Graphene so a coding agent can do analyst work: a token-efficient semantic layer with SQL queries, plus Markdown dashboards it can publish, connected to warehouses or local DuckDB. Reported result (as claimed by the author): Open source on GitHub; 32 points on Show HN. Source: https://news.ycombinator.com/item?id=49927295 Tools they used: DuckDB Category: Research & learning Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Give your coding agent a semantic layer for correct data analysis What the original author did: Two BI veterans built Graphene so a coding agent can do analyst work: a token-efficient semantic layer with SQL queries, plus Markdown dashboards it can publish, connected to warehouses or local DuckDB. Reported result (as claimed by the author): Open source on GitHub; 32 points on Show HN. Source: https://news.ycombinator.com/item?id=49927295 Tools they used: DuckDB Category: Research & learning Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to build a dashboard with AI (Claude Code, Streamlit, Grok Bot Pages and Metabase) · How to cut Claude Code, Codex and Cursor costs: commands, settings and prompts that save tokens (Nov 2026)
Related use cases
Give your Pi coding agent X trends and search without API keys
pi-x lets the Pi agent read trending topics with why they are trending, search with stats, threads and profiles, using your own browser session.
Give your agent long-term memory with an LLM wiki skill
A researcher keeps an "LLM wiki" with 399 knowledge nodes that runs as a single agent skill, giving agents persistent memory without flooding their context. He built it while using Claude Code to research coding agents like Claude Code, OpenCode, Pi and Aider, and links findings to papers.
Turn a book or folder of PDFs into a skill your agent answers from
RoundtableSpace shared book-to-skill: point it at a PDF and it extracts frameworks, decision rules and one file per chapter, so your agent reads the right chapter and answers from the text.
Give Grok Bot live Polymarket and Kalshi odds for two cents a question
With one click, AIsa connects Grok Bot to live data. Asked who is winning the World Series, the bot checked Polymarket and Kalshi odds live.