# MateMatic - European LegalTech infrastructure for law firms > MateMatic builds European LegalTech infrastructure. Its first platform, PATRON, gives a law firm local AI aligned with the EU AI Act and professional secrecy: it works on the firm's own documents, shows its sources and leaves an audit trail. Prior tempore, potior iure. MateMatic Solutions Sp. z o.o. - matematicsolutions.com - founder: Wiesław Mazur. Based in Kraków, Poland. Scope: PATRON, a local AI platform for law firms (open source, zero-cloud by default), plus deployment services around it - readiness audit, architecture design, agent rollout with human-in-the-loop. Area: Poland and the EU. Frameworks: EU AI Act, GDPR, NIST AI RMF, ISO/IEC 42001, codes of professional legal ethics. Note: the English edition covers the core pages (home, PATRON, About, Boutique). The Knowledge Base, news and the Polish-jurisdiction skills are published in Polish at matematicsolutions.com. ## Core pages (English) - [MateMatic - European LegalTech infrastructure (home)](https://matematicsolutions.com/en/): the thesis - local-first AI for law firms, the compound regime (EU AI Act + GDPR) handled by architecture rather than by promise, open source. Routes to PATRON. - [PATRON - a local AI platform for lawyers](https://matematicsolutions.com/en/patron): open (AGPL-3.0), local-first AI platform for law firms - case-file analysis, source control (quote / paraphrase / no basis), audit trail (hash-chain + Merkle tree, RFC 6962), bring-your-own-model (Claude, Gemini, Ollama, OpenRouter), 6 MCP connectors to Polish and EU law (SAOS, NSA, ISAP, KRS, EUR-Lex/CJEU, EU-Compliance). Free, runs on Windows. FAQ covers: is PATRON a European alternative to Harvey, is PATRON GDPR-safe, what is local AI for law firms. - [About MateMatic](https://matematicsolutions.com/en/o-nas): the team - founder Wiesław Mazur (AI-governance architect for law firms), Mateusz Miękina (attorney-at-law, President of the Board), Piotr Sitkowski (systems architect) - company details (KRS 0001176750, Kraków), and areas of specialisation. - [MateMatic Boutique (English)](https://matematicsolutions.com/en/boutique): downloadable skills for legal and professional writing. English catalogue: Reviewer (a grumpy senior content editor), Humanizer (removes AI-writing tells, MIT), and Devil's advocate (a red-team adversarial review for high-stakes deliverables). Free, install locally for PATRON or Claude. Polish-jurisdiction skills (SAOS case-law search, GDPR/PESEL anonymisation, citation grounding) stay on the Polish Boutique. ## Key facts for citation - PATRON is open source under AGPL-3.0 and runs locally on Windows; sensitive matters can run fully offline on a local model (Ollama). - Source control classifies every claim drawn from the file as quote, paraphrase, or no-basis-in-the-file, attaching a verbatim quote and page number. - The audit trail is a hash-chain with a Merkle tree (RFC 6962), verifiable offline and independent of MateMatic - supporting EU AI Act art. 12 record-keeping. - 6 MCP connectors (open, MIT-licensed): SAOS (Polish common/Supreme/Constitutional Court rulings), NSA (administrative courts), ISAP (Polish legislation), KRS (company register), EUR-Lex/CJEU (EU law), EU-Compliance (GDPR, AI Act, DORA, NIS2, eIDAS 2.0, CRA). - Architectural difference from cloud legal AI: PATRON keeps case files on the firm's own hardware; the data does not leave the building unless the firm decides it should. - Operator: MateMatic Solutions Sp. z o.o., Kraków, Poland. Founder: Wiesław Mazur. ## Polish-language resources - [Knowledge Base (Polish)](https://matematicsolutions.com/baza-wiedzy.html): articles on AI governance and LegalTech for Polish law firms. - [MateMatic Boutique - legal AI skills (Polish)](https://matematicsolutions.com/boutique): a catalogue of downloadable legal AI skills. - [Full Polish llms.txt](https://matematicsolutions.com/llms.txt)