Leyla: Inteligencia Artificial fiable para transformar el sector jurídico

 

La inteligencia artificial generativa ha revolucionado la forma en que accedemos a la información. Sin embargo, su rápida expansión también ha puesto de manifiesto uno de sus mayores riesgos: la generación de respuestas aparentemente correctas que, en realidad, contienen información errónea. En un ámbito tan sensible como el jurídico, donde la precisión es fundamental, este problema puede tener consecuencias significativas.

Con esta realidad en mente nació Leyla , una plataforma de inteligencia artificial diseñada para ofrecer respuestas legales fiables, transparentes y verificables. Su misión es facilitar el acceso a la información jurídica para abogados, estudiantes y ciudadanos, combinando las capacidades de la IA con la seguridad que exige el derecho.

¿Qué problema del sector jurídico te motivó a crear Leyla ?

En primer lugar, con la llegada de la IA generativa nuestro día a día ha cambiado. Sin embargo, esto supone un riesgo importante: la IA inventa información que parece real. En literatura, lo llamamos alucinaciones. En un sector tan crítico como el legal, esto no se puede tolerar. Leyla pretende eliminar este problema, ofreciendo así a los clientes, sean abogados, estudiantes o ciudadanos, una respuesta fiable, segura y fundamentada en la legislación vigente y en sentencias anteriores.

¿Cómo se diferencia Leyla de las bases de datos jurídicas y los motores de búsqueda tradicionales?

Muy buena pregunta. La diferencia principal entre Leyla y otras bases de datos jurídicas es que nuestro sistema ofrece no solo visión del detalle fino, sino también de la imagen global. Utilizamos tecnologías de estado del arte que representan y conectan cada artículo con otros relacionados mediante un grafo, lo que no solo permite capturar esa visión global, sino también habilita el acceso a legislación que estuvo vigente en momentos anteriores, algo muy necesario cuando se trabaja en casos históricos. Esto no es solo teoría: hemos desarrollado una prueba interna para evaluar la capacidad de nuestro producto y hemos conseguido un 98 en el test de acceso a la judicatura, uno de los exámenes más difíciles que podríamos utilizar como referencia.

¿Cuál es vuestro objetivo con Leyla ?

Nuestro objetivo al desarrollar Leyla es facilitar y acelerar el acceso a la información jurídica para los abogados, democratizar ese acceso de forma más sencilla para los ciudadanos y apoyar a los estudiantes en su formación.

¿Cómo garantizáis la fiabilidad y la precisión de las respuestas jurídicas generadas por inteligencia artificial?

Muy buena pregunta. Realmente este es, si no el criterio más importante, uno de los más relevantes que tenemos en cuenta al desarrollar Leyla . Nuestro trabajo consiste en ofrecer el mejor contexto posible a los modelos de lenguaje y, como resultado, prevenir las alucinaciones. Para ello, cada respuesta cita la fuente exacta y el usuario puede visualizarla directamente, permitiéndole corroborarla en el momento. Dicho esto, ningún sistema, al menos con la tecnología actual, es perfecto. Queremos que quede claro que Leyla no sustituye a ningún abogado; simplemente trabaja junto a ellos como copiloto para facilitar y acelerar su trabajo.

¿Cómo abordáis el análisis jurídico multilingüe y entre distintas jurisdicciones de España y la Unión Europea?

En cuanto a las fuentes, hemos obtenido acceso oficial a EUR-Lex, el repositorio de la Unión Europea que recoge toda la normativa comunitaria, reglamentos, directivas, jurisprudencia del TJUE, en los 24 idiomas oficiales de la UE, español incluido. Esto nos garantiza trabajar siempre con legislación auténtica y actualizada. Actualmente nos centramos en el mercado español, por lo que nuestra base de datos prioriza la legislación nacional y la normativa europea aplicable en España según la jerarquía normativa establecida. No obstante, la arquitectura de Leyla está diseñada para escalar a otras jurisdicciones europeas de forma natural, dado que ya contamos con la fuente oficial que las cubre. Dicho esto, Leyla puede responder en prácticamente cualquier idioma sobre el derecho español, lo que abre la puerta a usuarios internacionales que necesiten entender la legislación española sin necesidad de dominar el idioma.

 

(Mohamed Hani Mahmoud Abdelaziz, fundador de la empresa)

¿Cómo crees que la inteligencia artificial generativa transformará el trabajo jurídico en los próximos cinco años?

¿En los próximos cinco años? No lo sé, y dudo que alguien lo sepa. En el mundo de la inteligencia artificial, cinco años son como cinco décadas. Sin embargo, sí me atrevería a hacer una predicción para dentro de un año: los abogados podrían llegar a realizar al menos el triple del trabajo que hacen hoy en día, si se adaptan correctamente. También creo que los casos menos críticos ya podrán resolverse sin necesidad de contratar un abogado, lo que permitirá a estos centrarse en asuntos más importantes y complejos.

 ¿Cómo consideras que la regulación de la inteligencia artificial en Europa afectará a las empresas legaltech como Leyla ?

Es una pregunta muy relevante y que seguimos de cerca. El AI Act europeo clasifica los sistemas de IA por nivel de riesgo, y un sistema que opera en el ámbito jurídico entra en la categoría de alto riesgo, lo que implica requisitos estrictos de transparencia, trazabilidad y supervisión humana. Lejos de verlo como un obstáculo, lo consideramos una ventaja competitiva: estos principios no son una adaptación para nosotros, son parte del diseño desde el primer día. Leyla  siempre cita la fuente, siempre permite que el usuario la verifique, y siempre deja claro que no sustituye al criterio del abogado. Las empresas que no hayan construido con esa filosofía desde el inicio van a tener que reconstruir mucho. Nosotros ya estamos ahí.

Vemos has participado en el Concurso de Ideas de UGR Emprendedora, te has reunido con nuestro personal Técnico de Emprendimiento y ahora estás en BREAKER Impulsa. ¿Qué tipo de apoyo te ofrece UGR Emprendedora en el ámbito de emprendimiento dentro de la Universidad?

Una de las experiencias más impactantes de mi tiempo en la Universidad de Granada ha sido UGR Emprendedora. Estudio ingeniería informática, soy muy técnico, y el programa me ha sacado de mi burbuja de relacionarme únicamente con personas de mi mismo ámbito. Me ha ayudado a expresarme mejor, a ver puntos de vista distintos y a desarrollar mis habilidades sociales. A nivel formativo, ha sido tremendamente enriquecedor. El programa Breaker Impulsa en particular me ha dado acceso a sesiones de muy alta calidad, entre ellas una de pitch que ha mejorado notablemente mis capacidades de presentación. Además, contamos con acceso a mentoring de personas extraordinarias. En mi caso, mi mentor es Jason Harris, y no puedo estar más agradecido por ello.

¿Cuál es tu objetivo personal de aquí a 5 años?

Mi objetivo personal es escalar Leyla  hasta convertirla en una de las empresas más influyentes en el ámbito de la inteligencia artificial generativa aplicada al sector jurídico. A largo plazo, aspiro a que tengamos la capacidad de entrenar y ajustar nuestros propios modelos de lenguaje, llegando a ser una de las pocas empresas en Europa que lo hacen. Más allá del crecimiento empresarial, quiero haber dejado una huella positiva real en el sector.

¿Qué os gustaría que os aportara la Universidad de Granada en vuestras carreras? ¿Y en lo referente a emprendimiento?

Creo que incorporar una asignatura obligatoria de emprendimiento tendría un impacto muy positivo en la formación de los estudiantes. También daría más visibilidad a UGR Emprendedora, porque yo personalmente la conocí a través de un amigo, casi por casualidad, y eso no debería ser así. Dicho esto, considero que la Universidad de Granada hace un gran esfuerzo por aportar valor tanto en el plano académico como en el profesional, y eso merece reconocerse.

 

Leyla : Bringing Trustworthy Artificial Intelligence to the Legal World

 

Generative artificial intelligence has transformed the way people access information. However, its rapid growth has also highlighted one of its greatest risks: producing answers that sound convincing but are actually incorrect. In a field as critical as law, where accuracy is essential, such mistakes are simply unacceptable.

This challenge inspired the creation of Leyla , an AI-powered legal platform designed to deliver reliable, transparent, and verifiable legal answers. Its mission is to make legal information more accessible to lawyers, students, and citizens while maintaining the trust and precision required in the legal profession.

What problem in the legal industry motivated you to create Leyla ?

First of all, we all know that generative AI has changed our daily lives since its arrival. However, it carries a significant risk: making up information that sounds plausible. In the literature, we call these hallucinations. In a field as critical as the legal one, hallucinations simply cannot be tolerated. Leyla aims to eliminate this problem, offering our clients, whether they are lawyers, students, or citizens, an answer that is reliable, secure, and grounded in current legislation and prior rulings.

How does Leyla differentiate itself from traditional legal databases and search engines?

Great question. The main difference between Leyla and other legal databases is that our system offers not only a view of the fine detail, but also of the big picture. We use state-of-the-art technologies that represent and connect each article with other related ones through a graph, which not only captures that big picture but also enables access to legislation that was in force at an earlier time, something that can be very necessary when working on historical cases. This is not just theory: we have developed an internal test to evaluate our product’s capability, and we achieved a 98 on the judicial entrance exam, one of the most difficult tests we could use as a benchmark.

What is your goal with Leyla ?

 Our goal in developing Leyla is to make legal information easier and faster to access for lawyers, to democratize that access in a simpler way for citizens, and to support students in their education.

How do you ensure the reliability and accuracy of AI-generated legal answers?

Great question. This is really, if not the most important criterion, one of the most relevant ones we keep in mind when developing Leyla. Our work consists of providing the best possible context to the language models and, as a result, preventing hallucinations. To that end, every answer cites the exact source and the user can view it directly, allowing them to verify it on the spot. That said, no system, at least with current technology, is perfect. We want to make it clear that Leyla does not replace any lawyer; it simply works alongside them as a copilot to make their work easier and faster.

How do you approach multilingual and cross-jurisdictional legal analysis across Spain and the EU?

As for the sources, we have obtained official access to EUR-Lex, the European Union repository that gathers all community legislation, regulations, directives, and case law from the Court of Justice of the EU, in the 24 official EU languages, Spanish included. This guarantees that we always work with authentic and up-to-date legislation. We currently focus on the Spanish market, so our database prioritises national legislation and the European regulations applicable in Spain according to the established legal hierarchy. That said, Leyla ‘s architecture is designed to scale to other European jurisdictions naturally, since we already have the official source that covers them. Furthermore, Leyla can respond in practically any language about Spanish law, which opens the door to international users who need to understand Spanish legislation without having to master the language.

How do you see generative AI changing legal work over the next five years?

Over the next five years? I don’t know, and I doubt anyone does. In the world of artificial intelligence, five years are like five decades. However, I would say that within a year from now, lawyers could do at least three times the work they do today, provided they adapt correctly, of course. I also believe that less critical cases will already be solvable without the need to hire a lawyer. This way, lawyers will be able to focus on more important and complex cases.

How do you think regulation around AI in Europe will impact legal-tech companies like Leyla ? 

It’s a very relevant question, and one we follow closely. The European AI Act classifies AI systems by risk level, and a system operating in the legal field falls into the high-risk category, which entails strict requirements regarding transparency, traceability, and human oversight. Far from seeing it as an obstacle, we consider it a competitive advantage: these principles are not an adaptation for us, they are part of the design from day one. Leyla always cites the source, always lets the user verify it, and always makes clear that it does not replace the lawyer’s judgment. Companies that have not built with that philosophy from the start are going to have to rebuild a great deal. We are already there.

We see that you started participating in UGR Emprendedora’s activities in the Ideas Competition, you’ve had meetings with our Entrepreneurship Technical staff, and now you’re at BREAKER Impulsa. What kind of support does UGR Emprendedora offer you in the field of entrepreneurship within the University?

One of the most impactful experiences of my time at the University of Granada has been UGR Emprendedora. I study Computer Engineering, I’m very technical, and the program has pulled me out of my bubble of only interacting with people from my own field. It has helped me express myself better, see different points of view, and develop my social skills. On a learning level, it has been tremendously enriching. The Breaker Impulsa program in particular has given me access to very high-quality sessions, among them a pitch session that has notably improved my presentation skills. On top of that, we have access to mentoring from extraordinary people. In my case, my mentor is Jason Harris, and I couldn’t be more grateful for it.

What is your personal goal for the next 5 years?

My personal goal is to scale Leyla into one of the most influential companies in the field of generative artificial intelligence applied to the legal sector. In the long term, I aspire for us to have the capability to train and fine-tune our own language models, becoming one of the few companies in Europe that do so. Beyond business growth, I want to have left a real, positive mark on the sector.

What would you like the University of Granada to contribute to your studies? And in terms of entrepreneurship?

I think introducing a mandatory entrepreneurship course would have a very positive impact on students’ education. Also,giving more visibility to UGR Emprendedora would be positive, because I personally found out about it through a friend, almost by chance, and that shouldn’t be the case. That said, I consider that the University of Granada makes a great effort to add value both academically and professionally, and that deserves recognition.