Guide · AI & Lean

AI for SMEs: lean, cost-conscious and sovereign

AI delivers the most value to small and mid-sized companies when it is designed like a lean process: whatever can be calculated is calculated deterministically. Whatever can be automated runs without a model. AI is used where it genuinely adds value — integrated via skills, plugins and MCP, with the human in the decision and, if required, operated entirely in Germany or on premises. This guide explains the approach and shows examples from my mandates along the entire value chain.

In short: what lean AI means

Using AI the lean way means: first understand and streamline the process, then prepare and calculate data deterministically, and only at the end — where rules no longer suffice — use a language model. The result is solutions that calculate transparently, use few tokens, do not depend on a single provider and remain under the company's control.

My guiding principle from my mandates: The algorithm calculates. The AI interprets. The human decides.

  • Process before technology: clarify the problem and the benefit first, then choose the tool.
  • Deterministic before generative: KPIs, rules and checks in tested code — not in the prompt.
  • Targeted AI: for unstructured data, interpretation, summaries and drafts.
  • Human in the decision: recommendations are confirmed, corrected and labelled.
  • Sovereign operation: choose the model, data flow and location deliberately — up to fully local.

Lean principles applied to AI

Lean management is familiar to many mid-sized companies: avoid waste, create flow, build in quality at the source. These very principles can be applied one-to-one to AI projects — and prevent AI from becoming an expensive end in itself.

  • Muda (waste): every unnecessary model call costs money, time and quota. What a script calculates in milliseconds does not belong in a language model.
  • Gemba (the real place): AI applications are built at the real process — in sales, in the warehouse, on the line — not in a slide deck.
  • Pull instead of push: AI is called when a process step needs it — not as a blanket “AI everywhere”.
  • Jidoka (automation with a human touch): systems stop when something deviates and present the decision to a person.
  • Standardisation: proven work steps are captured as skills — repeatable instead of re-prompted every time.
  • Kaizen: start small, measure, improve. A pilot in one process beats a large AI programme.

Calculate first, ask second: deterministic computation before the model

The biggest lever for cost, reliability and speed lies before the actual AI call. Language models are billed by tokens and are subject to rate limits and quotas. Anyone who hands them raw data, entire tables or arithmetic pays twice: with high costs and with results that cannot be reliably reproduced.

That is why my tools follow a fixed sequence. The model only receives what it really needs — condensed, validated and with a clear task. Token consumption drops significantly compared with an approach that sends everything to the AI.

  1. Load and validate data: formats, mandatory fields, plausibility — rule-based.
  2. Calculate KPIs deterministically: OEE, walking paths, contribution margins, scores, deviations.
  3. Apply rules and thresholds: whatever is unambiguous is decided or flagged automatically.
  4. Only exceptions and interpretation go to the AI: cause hypotheses, summaries, texts, classification of free text.
  5. Have the result reviewed: the human confirms, corrects, labels — and the system learns from it.

Skills and plugins: standardise knowledge instead of re-prompting

Many companies still use AI as a chat window: everyone writes their own prompts, results vary, knowledge stays in people's heads and chat histories. Thought through the lean way, this becomes a standard. A skill describes a task once and properly — with instructions, checks, templates and its own scripts that calculate deterministically. A plugin bundles several skills, commands and interfaces into an installable package for AI assistants such as Claude or Codex.

I develop such skills and plugins for specific processes, for example to analyse OEE losses or order-picking walking paths. The computing core is always classic, tested code; the skill makes sure the AI calls it correctly and interprets the results accurately. I have published some of these solutions in a simplified form as open-source Community Editions on GitHub; the full Industrial Editions with real data connections are part of InduLayer.

  • Consistent quality: everyone on the team works with the same validated procedure.
  • Fewer tokens: calculations run in scripts, the AI only receives condensed results.
  • Knowledge retention: process knowledge is documented and survives staff changes and the end of a mandate.
  • Provider-independent: the same package can be provided for several AI assistants.

MCP: the standard interface between AI and business systems

The Model Context Protocol (MCP) is an open standard through which AI assistants and agents talk to tools and data sources — ERP, CRM, shop, database or a custom analysis engine. Instead of building a separate integration for every combination of model and system, an MCP server exposes its functions once, in a standardised way.

For mid-sized companies this means more flexibility: the model can be changed while the connection to their own systems stays. For InduLayer, my ecosystem of brownfield solutions for production and logistics, I have built MCP servers through which AI assistants can trigger analyses and retrieve results — without direct access to production data.

  • Read-only first: many use cases only need read access. Write actions are enabled deliberately.
  • Least privilege: an MCP server only exposes the functions the process needs.
  • Computation in the server: the engine calculates deterministically, the AI receives the result — not the raw data.
  • Logging: every call is traceable — important for audits and compliance.

Agentic AI: agents with guardrails

Agentic AI refers to AI systems that do not just answer but plan and execute tasks in several steps: retrieve data, call tools, check intermediate results, decide on next steps. The potential is considerable — especially for recurring workflows in sales, purchasing or reporting.

Seen through a lean lens, agentic AI mainly means: the agent orchestrates, the tools calculate. The more an agent does through deterministic tools, the cheaper, faster and more reliable it becomes. And the clearer the guardrails, the easier it is to take responsibility for it within the company.

  • A clearly defined task instead of “just do it” — with a goal, limits and stop criteria.
  • Tools via MCP, permissions on a least-privilege basis.
  • Human approval before any action with external impact: sending, booking, ordering, changing bids.
  • Token and cost budget per run, monitoring and logging.
  • Measurable outcome: time saved, error rate, lead time — not the number of AI calls.

AI along Porter's value chain

I look at companies along Michael E. Porter's value chain — the same framework my use cases use to show which activities a mandate touches. It distinguishes primary activities, which create value for the customer directly, from support activities, which make them possible. The margin results from how both work together.

AI has an effect in every field of this chain — above all as a lever for efficiency: less manual work, shorter lead times, fewer errors and decisions based on better data. Looking at the chain as a whole also shows where an improvement in one area multiplies the effect in another — for example when clean product data from procurement relieves sales, logistics and service at the same time.

SUPPORTFirminfrastructureHuman resourcemanagementTechnologydevelopmentProcurementPRIMARYInboundlogisticsOperationsOutboundlogisticsMarketing& salesServiceMARGIN
  • Inbound logistics and warehousing: analyse walking paths and storage locations, check goods receipts.
  • Operations and production: evaluate OEE losses, improve changeovers and stability.
  • Outbound logistics: detect temperature-critical shipments early, prioritise dispatch.
  • Marketing and sales: research and score leads, steer advertising budgets based on data.
  • Customer service: classify requests, prepare answers, provide knowledge.
  • Procurement: e-procurement with OCI, EDI and BMEcat, classify item data.
  • Human resource management: structure applications, relieve recruiting.
  • Technology development: skills, plugins and MCP servers as reusable building blocks.
  • Firm infrastructure and management: KPIs from lean boards, prioritise opportunities, situation assessment and steering.

Practical examples along the value chain

The following tools were built in mandates or in response to concrete bottlenecks. They all follow the same pattern: deterministic core, AI for interpretation, human in the decision. And they show that AI is not just an IT topic but concerns every function, from sales to general management.

Sales: acquisition CRM with signal-based research and AI scoring

In a mandate for a digital agency, I translated a new positioning into a traceable acquisition process. The CRM looks for buying signals, scores leads and steers campaigns and follow-ups in a Kanban pipeline. Pre-selection is rule-based; the AI assesses the fit with the target group, summarises research and drafts outreach — which sales reviews and approves.

Marketing: early warning system for online advertising with machine learning

With diverse target groups and hard-to-predict markets, the system detects demand peaks, forecasts rising or falling demand, monitors competitors and recommends bid adjustments in percent: increase, decrease, hold or stop. Recommendations are accepted or rejected by a person and labelled in the process. A machine learning model learns from these decisions and their outcomes and keeps replaying scenarios. Access to the advertising platform is read-only.

HR and recruiting: application and job management

For application management, I built a platform that consolidates job offers from several sources, removes duplicates deterministically, scores offers by relevance and manages documents per profile. A model learns from manual labels which offers fit; weak matches are filtered out by a minimum score. The AI drafts cover letters, which are only sent after review. Response rates are evaluated per profile and document.

The same pattern works in a company's recruiting: structure incoming applications, check criteria rule-based, use AI for free text and summaries — the selection decision stays with people, also with regard to anti-discrimination law and the GDPR.

Purchasing and e-procurement: OCI, EDI and BMEcat catalogues

In B2B e-commerce, I increased a manufacturer's digital sales share from 5 to 27 percent — among other things through EDI and OCI connections, BMEcat catalogues and integration into customers' procurement systems. This is where the lean approach is particularly clear: formats, mappings and validations are well defined and belong in deterministic code.

Tools for purchasing and sales can be derived from this, with AI providing targeted support:

  • BMEcat templates and a catalogue generator with automatic validation against the schema.
  • Classifying items according to ETIM or eCl@ss and enriching product texts with AI — with a review step.
  • OCI punchout and EDI messages (order, despatch advice, invoice) as stable, rule-based interfaces.
  • Reading orders from e-mail or PDF with AI and presenting them as structured orders for approval.

Logistics: Thermal Shipment Risk Engine

Temperature-sensitive goods must not get too warm or too cold in transit. The engine combines delivery data from ERP or TMS, product temperature limits and weather forecasts and flags shipments at increased risk. The assessment is rule-based and traceable; the AI summarises risks in plain language and suggests actions. The solution runs inside the company itself — as an on-premises installation.

Intralogistics: Flow & Slotting Analyzer

Born out of lean projects in the warehouse: the analyzer reconstructs order-picking walking paths from structured warehouse data, makes detours visible like a digital spaghetti diagram and checks rule-compliant variants for slotting. All calculations are deterministic; the AI interprets the results and formulates recommendations. A simplified Community Edition is available as open source — with a plugin, a skill and a local demo MCP server.

Production: analysing OEE losses

Overall equipment effectiveness (OEE) shows how much performance a machine loses — through downtime, speed losses and quality problems. The computing core calculates KPIs and loss categories deterministically; the AI interprets losses and evidence and only names causes when the data supports them. No new MES, no additional dashboard, no black box. Here too, a simplified Community Edition is available as open source.

Management: Digital Lean Board and Industrial AI Innovation Explorer

Many shop-floor teams deliberately work with analogue boards — for KPIs, tasks or heijunka planning. The Digital Lean Board takes over this data via photo and AI-assisted extraction into structured form, without changing the proven routine at the board. This creates trends and evaluations for management without extra data entry.

InduLayer's Industrial AI Innovation Explorer starts one level earlier: it helps identify, assess and prioritise improvement opportunities across processes — structured deterministically, with AI as optional support. This shows management where a project is really worthwhile.

Choosing a model: commercial, European or local

My solutions are not tied to a single language model. An abstraction layer makes it possible to connect different models — large commercial models as well as European providers or locally run open-weight models, for example via Ollama. This has three advantages: the right, often much smaller and cheaper model can be chosen for each task; price or term changes by a provider become manageable; and sensitive tasks can stay entirely in-house.

  • Small, local models for classification, extraction and routine tasks.
  • Large models only for demanding interpretation, texts and complex agent tasks.
  • Interchangeability as an architectural principle: change the model without rebuilding the application.

Sovereign and GDPR-compliant: local AI and servers in Germany

For many mid-sized companies, the decisive question is not whether AI helps, but where the data is processed. Combining locally run models with servers in Germany, in ISO 27001-certified data centres, enables autonomous, sovereign processing: customer data, engineering know-how or HR data do not leave the company or the German legal area. This creates a solid basis for GDPR-compliant operation and reduces dependence on non-European providers.

Careful implementation of the details remains important: data processing agreements, technical and organisational measures, a data protection impact assessment where required, and the transparency obligations under the EU AI Act. These points belong in the planning from the start — not at the end of the project.

  • Define data classes: what may go to the cloud, what only to Germany, what only on premises?
  • Local models for personal and confidential data.
  • Server location Germany, data centre with ISO 27001 certification.
  • Read-only connection to production systems wherever possible.
  • Logging and a role concept for traceability.

Keeping costs under control: tips from practice

AI costs grow with usage — often unnoticed. These measures have proven themselves in my projects:

  • Pre-processing in code: filter, aggregate and shorten data before a model sees it.
  • Cache results: do not pay twice for the same question.
  • Batch processing instead of single calls where real time is not needed.
  • Choose the smallest model that solves the task reliably.
  • Require structured output (e.g. JSON) — shorter, verifiable, easy to process.
  • Set budgets and limits per application and review consumption monthly.

Typical mistakes when using AI

Most AI projects do not fail because of the technology, but because of the approach:

  • Starting with the tool instead of the process and a measurable goal.
  • Giving a language model arithmetic that a script solves exactly and for free.
  • Allowing write access without an approval step.
  • Tying yourself to one provider with no fallback.
  • Checking data protection only once the solution is finished.
  • Not naming anyone to operate and develop the solution after the project.

How I approach an AI project in a mandate

Whether as an interim manager or in a permanent leadership role: I combine the business perspective with the ability to build solutions myself. The approach always follows the same steps:

  1. Situation assessment: clarify the process, bottleneck and goal — often the real problem lies elsewhere than expected.
  2. Define the metric: how will we know it has improved?
  3. Solve deterministically what can be solved: automation, rules, calculation.
  4. Add AI in a targeted way: decide deliberately on model, data flow and costs.
  5. Pilot in the real process, with the team and with an approval step.
  6. Document and hand over: clarify skills, operation and responsibilities.

Deterministic or AI? The task decides

TaskDeterministic / automationAI / language model
Calculating KPIs (OEE, ROAS, walking paths)Yes — exact, reproducible, no tokensOnly to interpret the results
Transferring and matching data (EDI, OCI, ERP)Yes — fixed formats and mappingsNo
Checking catalogues (BMEcat schema)Yes — validation against rulesFor texts and classification
Evaluating e-mails, PDFs, free textPre-filtering and structureYes — extraction and summaries
Forecasts and recommendationsStatistics and thresholdsMachine learning, with the human in the decision
Writing reports and outreachTemplates and KPIsYes — drafts for review

Checklist

Questions before using AI

  • Which process should improve — and how do we measure it?
  • Which part can be calculated or automated deterministically?
  • What do we really need a language model for — and which one is enough?
  • Which data is used, and where is it processed: cloud, Germany or on premises?
  • Read or write access — and who approves actions?
  • What does operation cost per month under real usage, including tokens and quotas?
  • Who operates and improves the solution after the project?

FAQ

Frequently asked questions.

What does lean AI mean?

Lean AI applies the principles of lean management to AI projects: avoid waste, think from the process, build in quality at the source. In practice this means calculating and automating deterministically where rules are enough, and using AI only where it adds real value.

How can AI costs and token consumption be reduced?

By filtering, condensing and calculating data in code before the model is called, caching results and choosing the smallest suitable model for each task. The model then only receives the exceptions and the interpretation task.

What is the difference between skills and plugins?

A skill describes a single task with instructions, checks and its own scripts. A plugin bundles several skills, commands and interfaces such as MCP servers into an installable package for AI assistants.

What is MCP (Model Context Protocol)?

MCP is an open standard through which AI assistants and agents communicate with tools and data sources such as ERP, CRM or custom analysis engines. A connection is built once and can be used with different models.

What is agentic AI — and is it suitable for SMEs?

Agentic AI plans and carries out tasks in several steps using tools. It suits SMEs when the task is clearly defined, the tools calculate deterministically, permissions are minimal and actions with external impact are approved by a person.

Can AI be operated in a sovereign, GDPR-compliant way?

Yes. Locally run models combined with servers in Germany, in ISO 27001-certified data centres, enable processing without data leaving the country. Data processing agreements, technical and organisational measures and, where required, a data protection impact assessment still need to be properly in place.

What does human in the loop mean?

The system makes recommendations, the human decides and labels the decision. The system keeps learning from decisions and outcomes — for example with bid recommendations in online advertising.

In which business areas is AI worthwhile?

Along Porter's entire value chain, in primary and support activities alike — above all as a lever for efficiency: in sales for lead research and scoring, in marketing for forecasts and bid management, in HR for structuring applications, in purchasing for e-procurement and catalogues, in logistics and intralogistics for risk and walking-path analyses, in production for OEE analyses and in management for KPIs and prioritisation.

Contact

Let's discuss your situation.

Free of charge and without obligation — I usually reply within one working day.