YOUR DIGITAL HUB
← Back to blog

Your provider codes with AI: questions to ask

7 min read

Cover — Your provider codes with AI, questions to ask

A common tool with very different uses

AI coding assistants are now present in much of the development tooling. They suggest code completions in the editor, write a function from a description, generate tests, or modify several files at once on request. A provider may use them for an occasional task, or build them into its whole working chain. The consequences are not the same.

For a company director, the question is therefore not "does the provider use AI?". A yes or no answer says nothing about the quality of the software delivered. What matters is how the code produced is verified, where your code and data travel, which licences apply to the result, and who answers for what is delivered. These four points apply whatever the tool. This article turns them into questions and explains what a good answer contains.

A provider that uses no assistant is not, for that reason, more reliable. A provider that uses one is not, for that reason, less serious. The criterion is the process, and it is the process that should be examined.

What does not change

The provider remains responsible for what it delivers, within the limits of the contract. The origin of the code, whether written by hand or suggested by a tool, releases it from nothing: the obligations of result or of means, the warranties and the quality requirements of the contract apply in the same way. Likewise, code review, tests and continuous integration are the same safeguards as before.

AI changes how code is written, not the requirements it must meet. The risks it can introduce, from code nobody understands to tests that check the implementation rather than the need, are described in our article on technical debt. They are process risks, and they are handled through the process.

The five questions to ask

Each question is followed by what a good answer contains, and by what should prompt you to dig further.

1. Which tools are used, and within what framework?

A good answer names the tools, specifies the offer used (a professional offer and a personal account do not carry the same guarantees), and describes a written rule: who may use what, for which kinds of task, with which data. It excludes secrets (keys, passwords, environment files) from what is sent, and denies command-executing assistants any production access. What should prompt you to dig further: "everyone uses whatever they prefer", with no inventory and no rule.

2. What happens to your code and your data?

This is the most important question. The terms of the offer used determine whether the content sent may be used to train models, how long it is kept, where it is processed and who can access it. These points vary between vendors and plans. A good answer refers to the precise terms of the offer and says what has been enabled or disabled on the accounts used for your project.

If your project contains personal data, notably in test data sets or log extracts, the tool's vendor becomes a sub-processor, which the provider may engage only with your prior written authorisation. Also check where the tool processes data (transfers outside the EU). The GDPR then requires that this chain of sub-processing be known and governed (Article 28). An answer such as "nothing leaves our machines" should be documented, not merely asserted.

3. How is generated code reviewed and tested?

A good answer describes a review by a second developer, recorded in the version control tool, held to the same standard as hand-written code. It specifies that tests are written from the expected behaviour, not only from the implementation, and it explains where static analysis and tests sit in continuous integration.

What should prompt you to dig further: "the assistant tests its own code", or a review that exists only in intention. Ask also that a developer can explain every change delivered. If nobody can say why a function is written the way it is, the code will be hard to take over later, whether by the provider or by anyone else.

4. What is the provenance and licensing of the code produced?

An assistant may suggest code close to existing passages, including passages under a licence that imposes conditions. A good answer acknowledges this risk and describes the controls: analysis of added dependencies, detection of similarities or third-party components where the tooling allows it, and a list of open-source components with their licences. What should prompt you to dig further: "that does not happen", with no control in place.

On the contract side, copyright protection for code largely produced by a tool is not settled with certainty, and an assignment only covers rights that exist. Require real human input (design, review, modification), a list of third-party components and a provider warranty, as detailed in our article on source code ownership. Have these points validated by your lawyer, since they depend on your precise contract.

5. Who answers for a defect in the delivered code?

A good answer is simple: the provider answers for the code it delivers, whatever its origin, within the limits of the contract. The developer who proposes a change takes ownership of it, and review exists precisely for that reason. What should prompt you to dig further: a clause that excludes liability for "generated" code, or the argument "the tool got it wrong". An acceptable answer is not a discourse on technology: it is a commitment on the process and on the warranty.

What a good answer looks like

Topic Solid answer To dig into
Tools Named list, professional offer, written rule Individual use, no inventory
Data and code Offer terms cited, retention period, location, known sub-processors "Nothing leaves our machines" with no document
Review and tests Review by a second developer, tests derived from the need, static analysis in continuous integration Review absent or not recorded
Licences Dependency analysis, list of third-party components No control in place
Accountability Same commitment for hand-written and assisted code Clause excluding liability for generated code

What to write into the contract

Verbal answers are not enough. A few clauses make the commitments verifiable:

  • the list of assistance tools used on the project, with the plan chosen;
  • a prohibition on using your data or code to train a shared model, unless you agree in writing;
  • the location and retention period of data processed by these tools, with the list of sub-processors;
  • the obligation of review and testing according to the process described in the proposal;
  • traceability of contributions in the code repository, and the list of third-party components with their licences;
  • liability for the delivered code, without distinction based on its origin.

These clauses are not a judgement on any tool. They describe what you must be able to verify. A provider with a sound process accepts them without difficulty, and that is often the best sign that it has already thought these subjects through.

Do not ban by principle, check the process

Banning AI use looks like a simple precaution, but it is hard to monitor and does not guarantee the quality of the result. A more workable position is to allow it under conditions: declared tools, protected data, mandatory review and testing, unchanged accountability. You can then verify what really matters, instead of relying on a statement of intent.

This article is general information, not legal advice: have counsel or your legal department review the contract before signing.

Conclusion

The question "does your provider use AI?" is too narrow to decide anything. The useful questions concern review, tests, confidentiality, licences and accountability, and they would apply just as well to a provider that uses no such tool. Precise, written and verifiable answers are worth more than a declaration, in either direction.

To discuss the conditions of a software project, write to us at contact@your-digital-hub.com or explore our services, from scoping to operations.

Let's talk about your project. Send us the essentials.

Tell us the context, whether it is a new build, a takeover or a migration, the technologies in place and your target date.