Skip to content
This is NOT an official site of the Government of Canada. Click here for the official AI registry.

AI-Assisted Code Generation for Software Developers

Purpose

The Treasury Board of Canada Secretariat is piloting an AI-powered code editor (Cursor, developed by Anysphere Inc.) to help government software developers write, complete, and maintain code more efficiently. The tool provides intelligent code suggestions and automates repetitive coding tasks. It is used exclusively by Government of Canada employees and does not process personal information.

What the system collects and what happens to the data

Data taken in

Operational data
Anonymous data
  • Unclassified source code for government software applications, provided as input to the AI code editor for context and suggestions.

Processing

Language Models
  • The Cursor tool uses large language models (LLMs) specialized in code understanding and generation to provide intelligent code suggestions and automate repetitive coding tasks.

What the system does

Creating (Generative AI)
Advisory
  • Generates code suggestions, completions, and automated assistance for repetitive coding tasks. Developers review and decide whether to accept, modify, or reject all suggestions.
Understanding (Semantic AI)
Advisory
  • Understands existing code context to provide intelligent, context-aware suggestions and identify relevant code patterns within the developer's codebase.

Outputs

Generated content
Anonymous data
  • AI-generated code suggestions, completions, and automated code modifications proposed to the developer for review and acceptance.

Run by

Treasury Board of Canada Secretariat (TBS)
  • Federal department piloting and operating the AI code generation tool for Government of Canada software development teams.

Government of Canada AI Register — 2526-TBS-SCT-001

Built by

Anysphere
  • Developer and vendor of the Cursor AI-powered code editor used in this pilot.

Government of Canada AI Register — 2526-TBS-SCT-001

Kept for

Not stated by Helpful Places.

Shared with

Not available to me
  • The AI tool is deployed internally for GC employees only. Members of the public do not interact with this system and have no access to its outputs or the code it processes.

Stored

Not stated by Helpful Places.

What you can do

Ask about this system

Questions should be addressed to Helpful Places.

Your rights

  • Right to Be Informed of AI UseThe AI register notes that AI use is not disclosed to users. GC employees using this tool should be informed that AI-generated suggestions are produced by the Cursor system. No public-facing disclosure mechanism is documented for this pilot.
  • Right to Algorithmic TransparencyEmployees may contact the Treasury Board of Canada Secretariat for information about how the AI code generation tool works. Details about the underlying models used by Cursor are governed by Anysphere Inc.'s documentation.

Risks and safeguards

  • Reputational harmAI-generated code suggestions may contain errors, security vulnerabilities, or introduce low-quality code into government software.Safeguard: all suggestions require developer review and acceptance before being committed; the pilot includes measurement of impacts to ensure quality is maintained.
  • Societal & cultural harmReliance on a commercial AI tool developed outside government may create dependency on a foreign vendor and reduce internal software development expertise over time.Safeguard: the deployment is structured as a pilot with explicit measurement of productivity impacts before any wider rollout decision.
How to read the colors

Data use

Anonymous data
Data that can’t be tied to a person. Either the data was never about people (water samples, traffic counts, documents), or identifiers were stripped, blurred, aggregated or noised so this system can’t reasonably tie a record back to an individual.
Pseudonymous data
Each person’s data is tied to a token (hash, ID, template) that lets this system recognise the same person across events, but the token itself doesn’t reveal a name. Reidentification is possible with extra information.
Identifiable data
The data either contains a direct identifier (name, address, account name, recognisable face or voice, plate number) or carries a token this system uses to look up legal identity during processing.

Autonomy level

Advisory
The system produces a result, but a person is always in the loop: they make any decision and carry that decision out.
Semi-autonomous
The system works out the decision and a person carries that decision out, such as a crew following a route the system recommends.
Autonomous
The system decides and acts on its own, such as screening job applications, with no person in between.