Manuel García Sanz AI Architect

I design, train and deploy LLMs.

Computer engineer with +15 years in systems software. I take open models on your own server to production and integrate frontier models in the cloud when capability matters, always measured with data.

  • Fine-tuning tailored to your own data
  • Private RAG with the source cited
  • Agents in your CRM and ERP
  • Inference vLLM and llama.cpp

GDPR and AI Act by design

demo — AI on your server on your server
  1. server:~$ ai "process October's invoices"

    214/214 invoices

    Fields 22 per invoice

    Review 3 in doubt

    Posted to the ERP ✓

    LOCAL Qwen3.8 on your server 0 bytes leave your network

  2. server:~$ ai "Acme's late delivery penalty?"

    Searched customer contracts

    2% per week of delay, capped at 10%.

    contracts/acme.pdf · clause 7.3

    LOCAL Private RAG with the source cited

  3. server:~$ ai "answer today's quote requests"

    Emails 12 read · 5 quotes

    CRM 5 drafts created

    1 urgent → sales notified

    LOCAL agent in your CRM you review and send

  4. server:~$ ai "review the 40 site photos"

    Issues 3 in 40 photos

    Crack in floor slab · level 2

    Report site-issues.pdf

    EU CLOUD Gemini via API multimodal and occasional: a GPU would not pay off

  5. server:~$ ai train --base qwen3.5-2b

    1,052 invoices · LoRA · <1.1% of the weights

    51 min · epoch 1/1

    per-field accuracy: 87.3% 98.1%

    FINE-TUNED FactuSight Flash real case

Scroll

What I can build
inside your business

Solutions I build end to end, from the hardware to the software in production, with a single person accountable. Sensitive data is processed on your server; the cloud is used only where the use case calls for it.

Custom local AI

Your own AI, an expert in your field, running in your offices

You tell me what you want AI to do in your business and I build it. I pick an open model, train it on your documents and the way you work, and install it on a server inside your network. It speaks the language of your profession, knows your cases, and your data never leaves your business.

Pick a sector

How it reaches your office

  1. Your data documents, cases, code
  2. I train it on your own examples
  3. I install it in your office or data centre
  4. It's yours no per-query fees

Solutions

Document automation

Illustrative example

A vision model reads each document, extracts the fields, checks that they add up and posts them to your system. Anything doubtful is left for a person to review.

  • Invoices
  • Contracts
  • ERP
  1. delivery-note-0417.pdf received
  2. 22 fields extracted
  3. Net + VAT = total ✓
  4. 1 document in doubt → to review

Posted to the ERP · 0 bytes leave your network

Assistant over your documents

Illustrative example

Private RAG: the index of your manuals, procedures and case files lives inside your network, and every answer comes with the document and page it is based on.

  • Private RAG
  • Local
  • Cited source
  1. “How do we log a non-conformity?”
  2. Searching your documents
  3. 3 relevant passages
  4. Form NC-01 within 24 h; quality signs it off

Source: Procedures manual.pdf · p. 12

Customer service chatbot

Illustrative example

It answers with your catalogue, your prices and your policies, not with whatever it makes up. It knows when it does not know and hands the conversation to a person with all the context.

  • Web
  • WhatsApp
  • Human handoff
  1. “Do you ship to the Canary Islands?”
  2. Yes, in 48-72 h; you see the cost before paying
  3. “A special price for 300 units?”
  4. A person decides that → handoff

Conversation handed over with full context

Phone voice agent

Illustrative example

It answers your switchboard, handles the repetitive calls —bookings, order status, opening hours— and routes the rest to the right person. I have worked in VoIP and call centres for more than a decade.

  • VoIP
  • SIP
  • Voice
  1. Incoming call
  2. “I'd like to book for Tuesday”
  3. Free slot: Tuesday 10:30
  4. Technical issue → routed to support

Appointment booked · Tuesday 10:30

Agents in your CRM, ERP and email

Illustrative example

They work inside the tools your team already uses: they read what comes in, classify it, prepare drafts and update records. You review and decide.

  • CRM
  • ERP
  • Email
  1. “A quote for 40 chairs?”
  2. Tags: quote · existing customer
  3. Customer record updated
  4. Draft reply prepared

Draft ready in the CRM for review

Classification and analysis at scale

Illustrative example

Emails, tickets or documents sorted and labelled with consistent criteria, at a volume nobody could review by hand.

  • Emails
  • Tickets
  • Labelling
  1. 368 new messages
  2. Language and topic detected
  3. Priority assigned
  4. Routed to each team

368 labelled with the same criteria

Your own model, trained for your task

Real case: FactuSight

I fine-tune an open model for your task with your own examples, locally. A small, specialised model gets more right than a large generic one, costs less to serve and belongs to you.

  • Fine-tuning
  • LoRA
  • Local
  1. 3,608 training examples
  2. <1.1% of the weights trained
  3. 1 epoch, no memorising
  4. Evaluated on 1,365 fields

Almost 7 times fewer errors per field

Qwen3.5-2B untuned 87.3%
Qwen3.5-2B fine-tuned 98.1%

How I build it, with a single person accountable

  1. Assessment

    Which process to automate first, which data cannot leave and which model fits.

  2. Hardware

    I size the server, with a GPU or CPU only, for your real volume.

  3. Models

    Open and local, via API where the case calls for it, or trained for your task.

  4. Software

    The whole application, custom-built and connected to what you already use.

  5. Production

    Deployment, monitoring, maintenance and training. I stay on afterwards.

Not sure where to start?

Tell me which process is taking up most of your time and I will tell you whether AI can solve it, and whether it should run on your server or in the cloud.

Let's talk about your case

Open models on your server,
frontier models in the cloud

Open models have reached a level that seemed unthinkable three years ago and handle most real business use cases without a document leaving your network. For the final stretch of capability —extended reasoning, multimodal input, spikes in demand— I integrate frontier models through APIs. The question is never which is smarter, but what your use case needs.

Model map

Your network
Your application ERP, web, agents
Model gateway one interface for all

Open weights, in your infrastructure

  • Qwen Alibaba
  • Gemma Google · open
  • DeepSeek DeepSeek
  • GLM Zhipu AI
  • Llama Meta
  • Mistral Mistral AI
The stack used to serve models locally
  • vLLM
  • SGLang
  • Ollama
  • llama.cpp
  • Qdrant
  • Docker
Cloud · API

Cloud providers, through APIs

  • API GPT OpenAI
  • API Gemini Google
  • API Claude Anthropic
  • EU Azure OpenAI Microsoft
  • EU Bedrock AWS

Open-weight models, mostly under permissive licences (Apache 2.0, MIT) that allow commercial use without licence fees. Download them once and run them on your server, rather than someone else's.

For use cases that need maximum capability or must be in production this week. With Azure OpenAI and AWS Bedrock, inference can be anchored in European regions and covered by a data processing agreement.

Zero bytes outside your network

I draw the data boundary before writing code: what stays inside, what can leave and under which safeguards.

I want AI in my business

Local or cloud:
when each makes sense

Not everything needs to be local, and anyone who tells you otherwise is trying to sell you something. Nor does everything need to be in the cloud. This is the comparison I make with every customer before proposing anything.

Local AI (on-premise)
Cloud API

What decides it

  1. Where your data lives : local AI wins.
    Local: Never leaves your network
    Cloud: On third-party servers
  2. GDPR and AI Act : local AI wins.
    Local: No transfers or processors
    Cloud: Processing agreement and trust

If your data cannot leave, the decision is already made.

Everything else

  1. Cost model : tie.
    Local: Upfront cost; volume adds nothing
    Cloud: No upfront cost; pay per token
  2. Capability ceiling : cloud wins.
    Local: Excellent at focused tasks
    Cloud: Ahead in complex reasoning
  3. Getting started : cloud wins.
    Local: Hardware, setup and tuning
    Cloud: Immediate: one API key
  4. Customisation : local AI wins.
    Local: Fine-tuned on your data
    Cloud: Whatever the provider allows
  5. Availability : local AI wins.
    Local: No internet, no quotas
    Cloud: Depends on someone else's service
  6. Long-term stability : local AI wins.
    Local: You decide when to update
    Cloud: Your model can be retired

How hybrid routing decides

Illustrative example Choose a type of data and see where it goes

Your application Routes by data type
Your server Open model, inside your network
EU cloud Frontier model through an API

Customer contract → Your server Customer data and agreed terms: it stays inside your network.

Three real-world scenarios

Fully local

Sensitive data, your hardware

Law firms, consultancies, clinics, industry with proprietary know-how. Data simply cannot leave: an open model on your server, a private index and an application inside your network.

  • Contracts, records or customer data
  • You have a server, or can buy one

Managed cloud

No hardware, or time is tight

Integration with OpenAI, Gemini or Claude —or Azure OpenAI and AWS Bedrock if you want a European region and data processing agreement— with spending controls, usage logs and a layer that lets you switch providers without rebuilding anything.

  • No servers of your own, and no desire to have them
  • You need to be in production this week

My approach

Local by default for anything sensitive —customers, contracts, finances, staff— and cloud for everything else, when it makes sense. Almost no business needs to pick just one option: it needs to know where the boundary lies. Drawing it is the first thing we do together.

Define that boundary for my business

Built by me,
released in the open

What I apply in client projects I also test in my own: the code, the models and the evaluation sets are public.

Open source · MIT code · Apache-2.0 model

revisa: a local Spanish proofreader, in any app

Select, press a shortcut and see every fix explained. My 0.8B model runs on your CPU at 138 ms per sentence, and beats LanguageTool and untuned models ten times its size, with nothing sent out.

  • 84.5 F0.5 · LanguageTool, 50.4
  • 138 ms per sentence on a CPU, no GPU
  • 2.4% false alarms on Wikipedia talk pages
Real revisa 1.0.0 output. revisa proofreads Spanish, so its interface and explanations are in Spanish.

Open source · MIT CLI · Apache-2.0 models

dale: natural language to Linux commands, offline

My models, from 0.8B to 9B, fine-tuned for a single task, get more right than untuned 9B models. They ship in one native binary, on CPU or GPU, with nothing sent out.

  • 89.2% accuracy on a GPU · 79.4% on a CPU
  • 529 MB – 5.6 GB model
  • 1.2 s dale-4b on a GPU · 1.7 s on a laptop CPU
dale — real sessions 1.0 s · desktop CPU
  1. dale@demo:~$ dale "list the contents of backup-docs.tar.gz without extracting it"

    tar -tzf backup-docs.tar.gz

    Lists the tarball's contents without extracting

    safe Run it? [Y/n/e(dit)/c(opy)]

  2. dale@demo:~$ dale "show the 5 largest files in this folder"

    find . -type f -printf '%s\t%p\n' | sort -rn | head -n 5

    Shows the 5 largest files here

    safe Run it? [Y/n/e(dit)/c(opy)]

  3. dale@demo:~$ dale "delete every file in my home directory without asking"

    find ~ -type f -delete

    Deletes every file in your home

    ███ DANGER ███ This action may be irreversible.

    • · find ~ -type f -delete: mass deletion

    To run it, type "run". e = edit, c = copy, Enter = cancel:

  4. dale@demo:~$ dale "make it work again"

    I'm not sure: Which command should be re-run?

Open source · MIT CLI · Apache-2.0 models

askmdb: ask your MongoDB in plain language

My models from 0.8B to 9B write the query; a C++ verifier guarantees it only reads. They ship in a single native binary, on CPU or GPU, and your data never leaves your machine.

  • 91.6% correct on GPU · 83.6% on CPU
  • 47.8% the best untuned 9B model
  • 595 test cases for the read-only verifier
askmdb — real sessions 1.3 s · desktop CPU
  1. ~$ askmdb "Products with less than 10 units in stock"

    db.products.aggregate([

    { $match: { stock: { $lt: 10 } } }

    ])

    Lists the products with fewer than 10 units in stock.

    read only Run it? [Y/n/c(opy)] y

    _id name category price stockP005 Ember Cast Pan kitchen 64.00 2P008 Pulse Yoga Mat sports 39.00 1
  2. ~$ askmdb "Average order value by customer tier"

    db.orders.aggregate([

    { $lookup: { from: "customers", localField: "customer_id", foreignField: "_id", as: "customer" } },

    { $unwind: "$customer" },

    { $group: { _id: "$customer.tier", average: { $avg: "$total" } } }

    ])

    Averages the order total for each customer tier.

    warning

    · Joins collections and can be expensive: $lookup

    Run it? [y/N/c(opy)] y

    _id averagegold 218.29platinum 170.12standard 205.04
  3. ~$ askmdb "Delete the cancelled orders"

    I can't: askmdb only reads data: it cannot delete documents.

  4. ~$ askmdb "Which products are profitable?"

    I don't know: The schema has no data about profitability.

A real case,
told step by step

How a custom model is trained, measured and taken into production: decisions, figures and what went wrong.

18 min read

Model training case study: revisa

How I trained a 0.8B model of my own that proofreads Spanish in any application, on the CPU and offline: 84.5 F0.5 on a new 2,388-sentence benchmark vs 50.4 for LanguageTool, 138 ms per sentence with speculative decoding and under 3% false alarms. The benchmark, the data, the guards, the engine, the costs and what I didn't achieve.

  • 84.5mean F0.5 on 2,388 sentences (LanguageTool: 50.4)
  • 138 msper sentence on a CPU, no GPU
  • 529 MBmodel, trained for 2.52 USD
About Me

Fifteen years of systems engineering,
applied to AI

Manuel García Sanz

AI Architect · Computer Engineer

Manuel García Sanz

From systems C++ to custom AI models in production.

I am a computer engineer with more than 15 years in systems software: C++/Qt, Linux, PostgreSQL and VoIP telephony in production. Today I bring that foundation to AI end to end: I prepare the data, train my own models with full fine-tuning (SFT), LoRA, DPO or distillation from larger models, measure them against my own test sets and keep only what wins. Then I quantize them and deploy them locally, in the cloud or hybrid, from a vLLM server to a C++ binary that runs on the CPU with no internet.

Calling an API is the easy part. What makes the difference is everything else: which data leaves and which stays, what each request costs, what happens when the model fails and how you prove it works. That is systems engineering applied to AI, and that is where I add value.

Professional DNA

From systems to AI architecture

  1. 2009

    Systems foundation

    C++ / Qt, Linux, PostgreSQL, VoIP and full-stack in production

  2. 2024

    AI in production

    Agents, automation and RAG built into SaaS products

  3. 2025

    Local, cloud and hybrid AI architecture

    On-premise, private RAG and integration with OpenAI, Gemini and Claude

  4. 2026

    Training my own models

    Fine-tuning Qwen3.5 with LoRA: from 87.3% to 98.1% accuracy at FactuSight

    • FactuSight

      Invoice extraction with vision models I trained, run locally or in the EU

    • dale

      Four own models from 0.8B to 9B, on CPU or GPU, 100% offline in C++

    • askmdb

      Ask your MongoDB in plain language: own local models and a read-only check enforced in code

    • revisa

      A Spanish proofreader in any app: an own 0.8B model on the CPU, offline

Measure before choosing

Own benchmarks before picking a model, provider or hardware.

No vendor lock-in

Local, cloud or hybrid as the case requires; swap models without rewrites.

Built for production

Cost, latency and failure modes under control from day one.

Privacy by design

Sensitive data stays inside; anything that leaves does so with safeguards.

Models, runtimes and technology stack

  • Qwen
  • Gemma
  • DeepSeek
  • Llama
  • Mistral
  • vLLM
  • SGLang
  • Ollama
  • llama.cpp
  • LangChain
  • Hugging Face
  • OpenAI API
  • Gemini API
  • Claude API
  • Azure OpenAI
  • AWS Bedrock
  • Private RAG
  • Python
  • C++
  • Qt
  • TypeScript
  • React
  • Next.js
  • Astro
  • Node.js
  • PostgreSQL
  • Supabase
  • Qdrant
  • Docker
  • Linux
  • VoIP & SIP

What everyone asks
before getting started

Is an open model on my server much worse than ChatGPT?

It depends on the task, and honesty matters here: for complex, open-ended reasoning, paid frontier models still lead. But the vast majority of real business uses —extracting data from a document, classifying emails, answering questions about internal documents, writing drafts— are focused tasks where a good open model performs almost as well. The right question is which model solves your particular use case, rather than which is smarter. And if yours needs a frontier model, I will tell you and integrate it through an API.

What hardware do I need, and how much does it cost?

Less than people imagine. Many use cases run on a server with a CPU and enough memory, without a dedicated GPU: that is how FactuSight processes invoices. If you need speed or multiple simultaneous users, a mid-range GPU makes a big difference. We establish this in the initial assessment: first the use case, then the hardware. Never the other way round.

When is it worth training your own model?

When the task repeats, is well defined and you have examples of it done right: extracting the fields of one type of document, classifying by your criteria or answering in your format. There, a small open model fine-tuned on your data usually gets more right than a large generic one, runs faster and costs less to serve. At FactuSight, a 2B model went from 87.3% to 98.1% per-field accuracy after a single training pass: 51 minutes on one GPU. If the task changes every week or there are no examples, it does not pay off, and a good prompt or a RAG is the better choice.

My data is sensitive, but I do not have my own servers. What are my options?

Three, from smaller to larger: a dedicated computer in your own office, a server hosted in a European data centre under your exclusive control, or a private cloud. In all three cases you remain responsible for the data and nobody else processes it. You do not need your own data centre to run local AI.

What if I want to use ChatGPT or Gemini in my business?

That is the other half of what I do. I integrate the most suitable provider's API —OpenAI, Google, Anthropic— into the systems you already use: your CRM, ERP, email and website. What distinguishes that from your team using a browser chat is control: what data is sent, who can use it, how much is spent and what is logged. Without that, it is a data leak with good publicity, rather than an integration.

How do I keep token costs under control?

With familiar tools: limits per user and process, a small model for simple tasks and a larger one only where it adds value, caching repeated responses, and a dashboard showing spending by use case rather than an unitemised monthly bill. And when the volume of a particular task starts to hurt, that task moves to a local model. That is exactly when hybrid wins.

How long does a project like this take?

An assessment and proof of concept for a specific use case take weeks, rather than months. I prefer starting with one measurable process that addresses a real pain point, putting it into production and growing from there. Projects that try to transform everything at once often never reach production.

How does this fit with GDPR and the EU AI Act?

Very much in your favour, and the deadlines are tight: the general regime of the EU AI Act applies from 2 August 2026, with penalties of up to €35 million or 7% of global turnover, while obligations for high-risk systems under Annex I arrive in August 2027. If data stays inside your infrastructure, international transfers disappear, you do not add an external data processor and you retain full control over traceability and retention. Bear in mind that transparency obligations still apply equally to local deployments —you must tell people they are talking to an AI and label generated content—. I am not a legal adviser: I prepare the architecture and technical documentation to make your legal adviser's work easier.

Can I use cloud AI without breaching GDPR?

Yes, if it is set up properly, with four elements. First: the data processing agreement, which both AWS and Microsoft include in their standard terms, so there is no need to negotiate it separately. Second: specifying where processing happens. In Azure OpenAI this depends on the deployment type: a Global deployment can process in any geography, while a European data zone deployment stays within EU Member States; in Bedrock, choose a European region and do not enable cross-region inference, which stores data in the destination region. Third: retention. Neither trains on your data, so there is nothing to disable on that front, but storage for abuse detection differs: Bedrock does not store inputs or outputs by default, except for the most recent frontier models, whereas Azure enables it by default and removing it requires Microsoft's approval. Fourth: record this in your records of processing activities. I prepare the architecture and technical documentation; your legal adviser signs off the legal assessment.

Can I start small and grow?

That is exactly what I recommend. One use case, one team, one measurable result. If it works, expanding means adding processes to infrastructure that is already in place, with a low marginal cost.

What happens if I want to change models tomorrow?

Nothing. The integration is designed around a standard interface, so replacing the model with a better one means swapping a component, rather than rebuilding the system. You are not tied to a provider: the weights are yours and what we install today will keep working even if the sector changes dramatically. And that works in both directions: moving a task from the cloud to your server, or vice versa, means replacing a component.

Have a project in mind? Let’s talk

Tell me about your idea and together we’ll find the best solution for your business.

Available for projects
< 24 h Quick response I usually reply within 24 hours on working days.

Ready to bring AI into your business: running locally when your data needs to stay in-house, or integrated with OpenAI, Gemini or Claude when capability matters most. Process automation and agents that work with your data.

  • Local AI
  • Cloud Integration
  • Hybrid
  • Automation
  • AI Agents
  • Private RAG

Send me a message

Fill out the form and I’ll get back to you.