frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: TikTok but for Scientific Papers

https://andreaturchet.github.io/website/index.html
27•ciwrl•1h ago•19 comments

Show HN: adamsreview – better multi-agent PR reviews for Claude Code

https://github.com/adamjgmiller/adamsreview
70•adamthegoalie•15h ago•35 comments

Show HN: SLayer, a semantic layer maintained by your agent

https://github.com/MotleyAI/slayer
11•yannranchere•3h ago•3 comments

Show HN: I built Tokenyst to stop getting shocked by Claude Code API bills

https://github.com/jher7/tokenyst
7•herrj•3h ago•0 comments

Show HN: An index of indie web/blog indexes

https://theindex.fyi
127•rocketpastsix•1d ago•39 comments

Show HN: Learn2Burp – Surgery-free solution for R-CPD

https://learn2burp.com
2•mmanthey•5h ago•0 comments

Show HN: I made a Clojure-like language in Go, boots in 7ms

https://github.com/nooga/let-go
263•marcingas•2d ago•82 comments

Show HN: Rust but Lisp

https://github.com/ThatXliner/rust-but-lisp
201•thatxliner•1d ago•71 comments

Show HN: Countries where you can leave your MacBook at a random coffee shop

https://vouchatlas.com
62•canergl•1d ago•79 comments

Show HN: Building a web server in assembly to give my life (a lack of) meaning

https://github.com/imtomt/ymawky
413•imtomt•1d ago•217 comments

Show HN: AI Agents in 30 Lines of YAML: Lowdefy v5.3

https://lowdefy.com/articles/lowdefy-agents/
5•gervwyk•7h ago•6 comments

Show HN: An addictive phone game about phone addiction

https://downtime.partridge.works
4•urbandw311er•8h ago•2 comments

Show HN: Groxy – a Go library for building forward proxy servers

https://github.com/SalzDevs/groxy
4•SalzDevs•9h ago•0 comments

Show HN: DialYourShot – interactive espresso parameter tool

https://dialyourshot.com/
5•pirotechnique•10h ago•0 comments

Show HN: TRUST – Coding Rust like it's 1989

https://github.com/wojtczyk/trust
164•wojtczyk•4d ago•87 comments

Show HN: Mochi.js: bun-native high-fidelity browser automation library

https://mochijs.com/
45•ccheshirecat•2d ago•19 comments

Show HN: All 55,256 Slides of the WAR.GOV/UFO Files Searchable and Linkable

https://hypergrid.systems/war.gov-ufo-viewer/?item=095-dow-uap-pr38-unresolved-uap-report-middle-...
12•keepamovin•1d ago•2 comments

Show HN: Git for AI Agents

https://github.com/regent-vcs/re_gent
120•doshay•3d ago•67 comments

Show HN: Create flashcards with Space CLI

https://getspace.app/cli
21•friebetill•2d ago•10 comments

Show HN: Airbyte Agents – context for agents across multiple data sources

152•mtricot•6d ago•47 comments

Show HN: Tilde.run – Agent sandbox with a transactional, versioned filesystem

https://tilde.run/
201•ozkatz•5d ago•133 comments

Show HN: ChatGPT Exporter – Local DOM to Word/PDF Parser

https://chromewebstore.google.com/detail/chatgpt-exporter-save-cha/ploaaddkflkapjfbfapmkmkefigedefp
5•quysala1•7h ago•1 comments

Show HN: GETadb.com – every GET request creates a DB

https://www.getadb.com/
38•nezaj•3d ago•44 comments

Show HN: Chuchu, an Android SSH client built on libghostty

https://github.com/jossephus/chuchu
12•jossephus01•2d ago•2 comments

Show HN: I trained a chess engine to play like humans

11•hazard•19h ago•0 comments

Show HN: Free tool to mark points and polygon regions

https://tack.pics
20•magikMaker•4d ago•7 comments

Show HN: CADara – I made an open-source in-browser CAD

https://cadara.app
35•ttouch•2d ago•11 comments

Show HN: Modafinil - Let agents continue running while MacBook lid is closed

https://github.com/narcotic-sh/modafinil
15•hamza_q_•1d ago•25 comments

Show HN: Agent-harness-kit scaffolding for multi-agent workflows

https://ahk.cardor.dev
82•enmanuelmag•4d ago•23 comments

Show HN: Agent-skills-eval – Test whether Agent Skills improve outputs

https://github.com/darkrishabh/agent-skills-eval
79•darkrishabh•4d ago•36 comments
Open in hackernews

Show HN: SLayer, a semantic layer maintained by your agent

https://github.com/MotleyAI/slayer
11•yannranchere•3h ago
Hello HN!

If you want to connect your agent to a database (say, to build a data analyst chatbot or any kind of agentic app) today you have 2 options: an SQL MCP server or a semantic layer.

SQL MCP is the easiest path to setup, especially if you also have a .md knowledge base which the agent can update. It gets quite messy quickly though, especially if there's many interactions or DB is large. Generated SQL is hard to review if you want to understand where the numbers came from, and related queries can be hard to align and compare.

The natural alternative is a semantic layer, which is an inventory of what data is available/useful (data models) and an interface for querying it using a structured DSL — usually a list of measures, dimensions, filters, with joins etc. handled under the hood.

When we needed a semantic layer at Motley for connecting to our customers' data, we first settled on Cube with custom wiring for multi-tenancy and updating the models on the fly. We quickly hit some limitations which led us to realize existing semantic layers just weren't built for the purpose: they're still a part of the BI world where you want an efficient backend for an essentially static set of human-curated dashboards, whereas agents need to iterate their way to the answer, learning in the process. That's when we built the first version of SLayer, which is now open-source.

Using either SLayer MCP or CLI, agents (and humans) can:

- Explore models, run queries, connect to multiple databases

- Edit columns/measures or create new ones

- Create custom models from SQL or from a query on other models

- Learn from interactions: save and retrieve natural-language memories linked to models, columns or queries, to form a knowledge base

Agents evolve the semantic layer, reuse the results of past interactions, and make fewer mistakes going forward.

A few more features:

- Auto-creation of models from introspecting your DB schema for a warm start

- Embeddability — doesn't need a server running

- Python client for doing data analysis with dataframes

- Schema drift detection and handling

- Expressive DSL with compact, natural representations for arbitrarily deep multistage queries, custom aggregations, time shifts, combining metrics from multiple models, and other features that are tricky to get right in raw SQL

On the roadmap: access controls, caching, and more.

Repo: https://github.com/MotleyAI/slayer

Docs: https://motley-slayer.readthedocs.io/en/latest/

Comments

zaeembhanji•2h ago
feels much closer to how analysts work vs stateless text-to-SQL every query
yannranchere•2h ago
Thanks! We found it true for both users and agents.
ZmeiGorynych•1h ago
Hey HN! I'm Egor, one of SLayer's authors.

We built SLayer because the traditional semantic layers felt just too clunky for what we were trying to do.

Coming in the next release: joint hybrid search on both memories and entities such as columns: retrieve what's directly relevant to your question.

Would you like a dbt SL facade to also drive a dashboard off this, or integration with your favorite database? Let us know!