Montevive

/ Blog /

News

Montevive

Gridfy.Lex: Secure AI for Electric Sector Regulation

·Montevive·Products
Gridfy.Lex: Secure AI for Electric Sector Regulation

A CNMC circular gets published on Friday at 7:30 PM. By Monday morning, your investment plan is already outdated. And in the regulatory team—three people, one on approved vacation—no one has finished reading it yet.

This isn't an edge case. It's any given week at a Spanish electricity distribution company. And it's exactly why today, together with Gridfy, we're launching Gridfy.Lex: an AI assistant for electric sector regulation that responds with verifiable citations to specific articles.

If you've been following Montevive for a while, what comes next will make sense. There's no magic here: there's method. And a sector that has needed this for years.

The visible problem: too much regulation for too small a team

In the last twelve months alone, the sector has seen CNMC's Circular 8/2025 setting the new remuneration period for 2026–2031, revisions to RD 244/2019 on self-consumption, adjustments to RD 1183/2020 on access and connection, and a constant stream of resolutions that shift deadlines, parameters, and incentives. Add European directives, ACER resolutions, and amendments to Law 24/2013, and the result is a regulatory volume that can't be digested without dedicating someone exclusively to reading official bulletins.

Most small and medium-sized distributors can't afford that someone. Large ones have them, and they still arrive late. Anyone who has set foot in a regulatory department knows this.

The real problem: generalist AI doesn't work for this

When this pain point appears, the temptation is obvious. "I'll just ask ChatGPT." Try it with Circular 8/2025. It will answer you with enviable confidence, with well-constructed paragraphs and references that sound precise.

The problem: some of what it states is made up. And the part that is correct doesn't come with a reference to the article, so you have to verify it manually anyway. You've changed the work from reading regulations to checking assertions. You haven't saved time: you've just moved it around.

This is what at Montevive we call the hidden cost of AI without traceability. And it's the reason we've spent years working on a simple idea: AI that's useful for a business must be secure, legal, and traceable. Without these three conditions, what looks like productivity is technical debt with legal interest.

Why Montevive and Gridfy came together

We've been thinking for a while about what happens when AI touches domains where mistakes cost real money. We've done a lot of shadow AI diagnostics at companies that assumed their teams "used ChatGPT responsibly," and reality almost always tells a different story. That experience has given us an operational conviction: there are sectors where limiting the risk of generalist AI isn't enough—you need to build sector-specific AI.

Gridfy had the other side of the problem. More than 50 Spanish electricity distribution companies using their platform to digitize their networks, a team that knows the sector from the inside, and a customer base asking for exactly the same thing over and over: "we need something that lets us understand the impact of each new circular without having to shut down the department for a week."

They had the domain. We had the technical pieces—RAG with citation, hybrid search, anti-hallucination, secure infrastructure—that domain needed to become a product.

The combination was obvious. The execution, significantly less so. The result is Gridfy.Lex.

What Gridfy.Lex is (and isn't)

Gridfy.Lex is an AI assistant specialized in Spanish and European electric sector regulation. You ask it a question—"What requirements does Circular 8/2025 establish for distribution investment remuneration in 2026–2029?"—and it returns a structured response with the exact reference to the article or provision that supports it.

It is not:

  • A generalist chatbot with a prompt about electricity on top.
  • An automatic summary that mixes sources without traceability.
  • A tool that replaces the judgment of a lawyer or regulatory professional.

It's the opposite: a layer that saves you the work of locating and returns time for interpretation. The part that can't be automated—professional judgment, strategic reading, decision-making—remains yours. And that's how it should be.

How it works under the hood

Three pieces, in order:

1. Hybrid search. We combine lexical search (BM25, the classic exact-term matching algorithm) with semantic vector search using Reciprocal Rank Fusion. You find the correct article even if you don't use the exact terminology from the regulation. Real-world questions rarely use BOE vocabulary.

2. Verifiable citation. Each response indicates which article and regulation the information comes from, with a direct link to the BOE (Spanish Official Gazette). If there's no legal text to back it up, Gridfy.Lex doesn't assert it. If you've worked with generalist LLMs in legal contexts, you know why this matters.

3. Continuous updates. We automatically monitor the BOE and EUR-Lex. When a new regulation appears, a modification, or a repeal, the corpus updates within 24 hours. Without this, any AI system about regulations is born obsolete.

Underneath, the same philosophy we apply in our open source work: AES-256 and TLS 1.2+ encryption, GDPR compliance, and complete traceability of every query. AI that your legal department can defend.

Who it's designed for

Gridfy.Lex isn't designed for everyone, and that's deliberate. It works if you're doing any of these things:

  • You work in the regulatory area of a distribution company and need to map the impact of each circular before it reaches the committee.
  • You're an energy law attorney and need to substantiate legal opinions with exact citations without verifying references one by one.
  • You advise clients in the electric sector from a consultancy and deliver reports where your credibility is on the line.
  • You handle compliance at a utility and monitor regulatory changes to anticipate impact, not to arrive late explaining it.

If you're not in one of those contexts, there are better tools. If you are, you've probably been doing manually for too long what this solves.

What to do now

We've opened access to lex.gridfy.ai. You can see the product, a real query about Circular 8/2025, and available plans. If you want a proper demo—with a real question from your day-to-day, not a textbook case—you can request it at gridfy.ai/contacto.

Gridfy.Lex is the first vertical product we're releasing following Montevive's thesis applied to a specific sector: AI with judgment, not AI with unjustified confidence. If you have in mind a domain where the cost of being wrong is high and the regulatory corpus changes constantly, let's talk.