Security and law · 11 min read

Published

Forward deployed engineering: the basics

What a forward deployed engineer does in your environment, how that differs from an ordinary consultant and a SaaS provider, and which of your security requirements apply to the engineer.

Anyone about to let an external engineer into their systems has a reasonable question: who gets access to what, under which rules, and what is left when that person leaves? With forward deployed engineering the question gets sharper, because the engineer works inside your environment.

1. What forward deployed engineering is

Forward deployed engineering means the engineers build directly in the customer's infrastructure, with the customer's tools. The approach comes from Palantir and is used today by OpenAI and Anthropic, among others. According to The Pragmatic Engineer's overview from August 2025, the role was created in the early 2010s. The same overview describes how OpenAI distinguishes the role from the solutions architect: the architect rarely writes code on the customer's infrastructure and usually builds prototypes on anonymised or disconnected extracts of the data, while a forward deployed engineer writes the code there, with the customer's tools. Anthropic's own job posting for the role describes the work as building production applications inside the customer's systems.

The word "deployed" easily suggests someone sitting in your offices every day. Anthropic's posting expects frequent travel to customers, but what defines the role is where the work is done: in your systems, through logins you have granted. We do most of it remotely, with meetings on site when needed.

The reason for working this way is that an agent meant to handle a real workflow needs to know which systems exist, what the data actually looks like and which exceptions keep coming back. Little of that is in a requirements specification. The rest only shows up once you are working in the systems.

2. Three ways to buy the same thing

Ordinary consultantSaaS providerForward deployed, the way we work
Where the work is doneWith the consultant or with you, depending on the arrangementIn the provider's service, usually shared with other customersIn your environment, with your tools
Where your data is processedWhere the work is done, sometimes in copies outside your environmentHosted by the providerIn your systems under your permissions, or in an isolated installation just for you if we run it
Where the code ends upDepends on the contractWith the providerWith you, from day one
What is left when the contract endsThe solution and whatever documentation was writtenUsually an export of your dataCode and documentation with you, and a solution that does not depend on us

The table is a simplification, and there are good consultants and good SaaS services. For an organisation with security requirements, two rows carry the most weight: where the data is processed and what becomes yours. The solution can run in your environment (Microsoft, Google or other systems) or be run by us. Either way, the contract must state where the data is processed.

3. From assessment to operation

The work starts with an assessment. Before anything is built, the workflow is mapped as it actually runs, with its exceptions and detours. Each step is sorted as code, AI or human (more on that in the next section), and a baseline is measured: lead time, working time and the share of cases that deviate from the normal case. At the same time, the data is classified by what it contains (business data, personal data, sensitive information, accounting records), and the class decides which AI model may see it at all, or whether no model is needed. The phase is complete when a measurable condition is met. How to prepare is covered in Don't put AI on a broken process.

Next, the solution is tested against real cases from your operations, in a test environment that is separate from production and has its own login credentials. Two things are measured and reported separately: whether the result was correct, and whether the agent took a permitted route to get there. An action that breaks a rule must never disappear into an average score. The test cases are saved and rerun with every change to a prompt, a rule or a model version.

Operation starts in shadow mode. The agent runs alongside: it proposes, a human decides, and every approval, change and rejection is logged and becomes a new test case. After that it may act with each action reviewed, and then it gets more autonomy step by step within a defined area. Nothing goes into production without your approval for each release, and prompts, rules and model versions are handled as code changes.

A human approving the agent's proposals is an approval check, not a security control. The security lies in what the agent can do at all.

That means least privilege and no tools the agent does not need. We assume that an agent can be tricked by content it reads. An agent that has read untrusted text, such as an incoming email, must therefore be unable to trigger payments or pass data on, however many people have approved its proposals.

4. Code, AI or human

The most important judgement in the assessment is how each step should be handled. The basic rule is to choose the simplest option that will do, even when it is tempting to put a model everywhere.

SolutionWhenExample from a delivery workflow
Plain codeThe rule can be written down and the data arrives in a fixed formatMatch order, delivery note and invoice.
AIThe content has to be interpreted before a rule can be appliedRead a free-text deviation report from a driver and sort it into the right category with the right supporting information.
HumanThere is ambiguity, accountability or consequences that cannot be undoneApprove a credit note or change a supplier's bank details.

Anthropic's guidance on agents points the same way from the technical side: find the simplest solution possible and only increase complexity when needed, which can mean building no agent at all. Workflows with fixed steps give predictability for well-defined tasks, and agents suit open-ended problems where the number of steps cannot be predicted.

Most of a finance workflow needs no AI model. Duplicate and bank account checks, VAT logic, account coding and the approval workflow are handled by plain code, and "no model" is always one of the options. That makes the solution cheaper and easier to review, because code does the same thing every time.

5. The engineer in your environment counts as your personnel

If your organisation is covered by the Swedish Cybersecurity Act (2025:1506), there is something those companies' own role descriptions do not mention, unless you operate solely in the five sectors the regulations exempt. MCFFS 2026:11, the regulations on security measures that have applied since 1 October 2026, defines personnel as "own employees and externally contracted persons, including engaged contractors" (Chapter 1, Sections 1 and 4; our translation). An engineer working in your environment on behalf of a supplier therefore counts as personnel. That has three consequences.

For personnel security, you must determine which checks are carried out when personnel are engaged, based on which information and which systems they will have access to, which checks are carried out when access changes, and which cybersecurity training personnel must complete before and during the assignment (Chapter 3, Section 9). The general advice mentions identity checks, interviews, references and verification of qualifications.

Multi-factor authentication must be used for access by personnel and suppliers to your digital environment over an external network (Chapter 4, Section 17). An engineer working remotely is directly covered by that rule.

No one may have permission to access more information or more systems than the operations require, and system administrator permissions must be assigned restrictively (Chapter 4, Section 16). The general advice says that system administrator permissions for suppliers should be limited in scope and time to the assignment in question. Identities that should no longer have access must be locked, blocked or removed (Chapter 4, Section 15), and login credentials from production must not be used in the test and development environment (Chapter 4, Section 16). That last requirement is why the test environment in section 3 has its own login credentials.

These are your obligations, and they apply whoever you engage. If you buy systems or outsource information processing, the regulations also require you to ensure that the supplier meets the requirements placed on you for the parts the supplier is responsible for, and to assess, before entering into the contract, whether the intended supplier can meet the requirements throughout the contract term, unless you operate solely in the five sectors that are exempt (Chapter 1, Section 1 and Chapter 4, Section 1). What that means for the contract is covered in What the Swedish Cybersecurity Act requires of your suppliers.

Qwiqflow is not itself covered by the Act. The requirements reach us through your contract, and the general advice states that the contract should regulate how you monitor the supplier's compliance (Chapter 4, Section 4). That monitoring applies to us as it does to any other supplier.

6. Personal data requires a written data processing agreement

As soon as we process personal data on your behalf, for example when the engineer works in systems with data about customers, suppliers or employees, you are the controller and we are the processor. The processing must then be governed by a contract that is binding on the processor (Article 28(3) GDPR), and the contract must be in writing, although electronic form is enough (Article 28(9) GDPR). The security measures must be appropriate to the risk (Article 32 GDPR).

Among other things, the contract must state that the processor only processes the data on your documented instructions, and that everyone who processes it, consultants included, has committed to confidentiality. Sub-processors require your prior written authorisation, specific or general (Article 28(2) GDPR). If the processor itself engages a provider of the AI model, that provider is as a rule such a sub-processor, so the question of which model runs where belongs in the contract. The other basics are covered in Before you let AI near your company data.

7. One installation per customer, and the code stays with you

Each customer gets its own isolated installation, never a place in a shared service for several customers. When the solution runs in your environment, the chosen deployment, for example a particular region, is locked with a policy so that no one can switch to global deployment by mistake. Every action the agent takes is logged and can be traced.

If we build in your environment, the code and documentation are in your hands from day one, without licence, subscription or platform fees, and the solution is not made dependent on us. For most organisations covered by the Swedish Cybersecurity Act, the engineer's access must be closed when the contract ends (Chapter 4, Section 15), and the general advice states that the contract should regulate how your information is returned or destroyed (Chapter 4, Section 4). If the solution runs in your environment, that question matters less, because the solution and the information are already with you. If we run the solution, the contract must answer it.

8. Where to start

Before any external engineer, ours included, gets a login to your environment, you should be able to answer these questions.

  1. Which information and which systems will the engineer reach, and which data class does the information belong to? The checks when engaging personnel must be based on that (Chapter 3, Section 9).
  2. Which checks do you carry out when engaging someone, and who in your organisation approves them?
  3. Does the engineer get a personal account with multi-factor authentication, and who in your organisation can close it (Chapter 4, Sections 15 and 17)?
  4. Is the permission limited in scope and time to the assignment, and is there a date when it will be removed (Chapter 4, Sections 14 and 16 with general advice)?
  5. Does the test environment have its own login credentials, separate from production (Chapter 4, Section 16)?
  6. Is a written data processing agreement in place before the first real data is used, with the sub-processors named?
  7. Where are the code, the documentation and the logs kept, and what happens to them when the contract ends?
  8. How do you monitor the supplier during the contract term, and who in your organisation owns that monitoring?

With the answers in place, what remains is to write them into the contract and make sure they are followed. This is a summary, not legal advice.

Sources

  1. MCFFS 2026:11, regulations and general advice on security measures and management training (MCFFS 2026:11, föreskrifter och allmänna råd om säkerhetsåtgärder och ledningens utbildning) Chapter 1, Section 4, Chapter 3, Section 9 with general advice, Chapter 4, Sections 1, 15, 16 and 17, the general advice to Chapter 4, Sections 4, 14 and 16, and entry into force on 1 October 2026
  2. Swedish Cybersecurity Act (Cybersäkerhetslag (2025:1506)) Chapter 1, Sections 4 and 7 (which entities the Act applies to)
  3. National Cyber Security Centre (NCSC) at the National Defence Radio Establishment (FRA), Questions and answers on the Cybersecurity Act (Frågor och svar om cybersäkerhetslagen) The section 'Identifiering och anmälan' (identification and notification), the question of whether subcontractors are covered
  4. Regulation (EU) 2016/679 of the European Parliament and of the Council (the General Data Protection Regulation) Article 28(2), Article 28(3), first subparagraph, points (a) and (b), Article 28(9) and Article 32(1)
  5. Swedish Authority for Privacy Protection (IMY), Data processing agreements (Personuppgiftsbiträdesavtal) The sections on what the agreement must contain: documented instructions, confidentiality (employees and consultants) and sub-processors
  6. The Pragmatic Engineer, 'What are Forward Deployed Engineers, and why are they so in demand?' (Gergely Orosz, 12 August 2025) Section 2 'Origins' (the role was created at Palantir in the early 2010s) and section 3 'The FDE role at OpenAI' (FDE compared with Solutions Architect)
  7. Anthropic, job posting 'Forward Deployed Engineer', London The role description ('Work within customer systems to build production applications', 'Travel frequently'), accessed 31 October 2026
  8. Anthropic, 'Building effective agents' (19 December 2024) The sections 'When (and when not) to use agents' and 'Agents'

Would you rather have someone do the maths on your own workflow than read about it?

Book 20 minutes

More articles.

See all articles
Engineering

AI agents: the basics

10 min read

What an AI agent is, what surrounds the model, where the permissions should sit and what the agent must never be able to do, whatever it reads.