Agents don’t fail at legal questions because the model is dumb. They fail because the law isn’t in the weights — it’s millions of documents that change, cite each other, and mean nothing without the surrounding text. Pandex is a bet that the fix is unglamorous infrastructure: put EU and national legislation plus top-court decisions behind one API and an MCP server, straight from the institutions that publish them, and let the agent retrieve instead of guess.

The HN discussion is worth a read. My own take: the reflexive “it’s just a wrapper over public data” objection misses that raw primary law is nearly unusable, and making it trustworthy and agent-shaped is the actual engineering. The question I’d want answered is accountability — who owns the outcome when an agent acts on a statute the corpus had wrong?

tags: [ agentic-ai ] [ rag ] [ enterprise-ai ]