Copilot helps developers move fast, and it works in a world full of public code. So a Copilot user should ask two separate questions: did I conceive this, and was it already public? This page covers both, plus how licenses fit in.
The public-repo novelty trap
If the technique was already public, it can count against you whether or not you ever saw it. Under 35 U.S.C. 102(a)(1), subject matter "otherwise available to the public" before your effective filing date can be prior art. Copilot users often reinvent patterns already committed upstream. Completing a pattern quickly can feel like inventing it, so treat a suggestion that arrived fully formed as a reason to look.
Patent PreCheck flags overlap and shows the closest matches with links before you pay filing fees. Guide: Prior art search for code
Autocomplete versus invention
Copilot completing your line is different from Copilot choosing your design. The USPTO treats AI systems as tools, so accepting completions does not by itself cost you inventorship. What you need to be able to show is that you conceived the specific solution.
- Usually implementation: boilerplate, tests, and API plumbing it fills in around a design you set.
- Worth a closer look: the core algorithm arrived as one suggestion, and you accepted it without having worked out that approach yourself.
For the second case, be careful about claiming that part as your invention, and raise it with your attorney. Inventorship basics: USPTO AI inventorship rules.
Licenses and patents are separate questions
A license tells you whether you may copy code. It does not tell you whether a technique is new. Nothing in the §102 prior-art test turns on MIT, GPL, or no license at all. If a suggestion resembles existing code, you may have a copyright or license question and a separate novelty question. Do not assume that clearing one clears the other.
What to do when a suggestion looks familiar
- Name the mechanism in plain words and search for that, not your product name.
- Read the closest public code and patents. Note what they do not do.
- Find the difference that produces a technical result, such as lower latency or a failure mode removed.
- If there is no real difference, consider dropping that part from your claims. Trade secret may fit other parts better.
Watch your own repo too
Your own public commits are disclosures. The US gives inventors a one-year grace period for their own disclosures, but the European Patent Convention counts anything made available to the public before filing. Moving a repo from private to public is worth a pause if patents might matter.
GitHub Action: patentability on every PR
Ship the official Patent PreCheck GitHub Action. It scores a representative source file (or paths you configure) on each pull request. Marketplace-ready composite action; no repo clone required.
uses: Patent-PreCheck/Patent-PreCheck/.github/actions/patent-precheck@v1Details: GitHub Actions integration
README badge
Show reviewers you ran a precheck:
[](https://patentprecheck.com/analyze)
Common questions
Does Copilot assign inventorship?
If a repo I never saw has the same technique, does it count against me?
Does an open-source license change whether code is prior art?
Score your code before you file
Get your free score →