Inventors: protect it, share it, or both
A guide to what Testimonia does for inventors (src/invention.mjs) and the choices around it. This is general information, not legal advice. Patent law differs by country and changes; for anything with money or a business behind it, talk to a registered patent agent or patent attorney (docs/for-counsel.md is a briefing pack to take to them).
1. Keep a sealed notebook from day one
Record ideas, designs, tests, drawings and decisions as you go. Each entry is signed by its author and chained to the one before; anchoring dates it on a public blockchain. It settles who contributed what and when (inventorship disputes, co-founder disagreements, employer claims), and it's evidence for a derivation proceeding if someone copies you and files first.
For research, use research entries for findings and reasoning, and computation entries for runs: attach the code, its inputs and its outputs (logs, tables, plots), and say what machine or cloud service ran it. The file names and fingerprints are sealed, so anyone you share the notebook and files with can check they're exactly what you recorded.
What it doesn't do: it doesn't give you any rights. Since 2013 the US is first-to-file (as is almost every country): a dated notebook doesn't beat someone else's earlier filing.
2. Decide: patent, open, or both
| Patent | Open (open source, open hardware, defensive publication) | |
|---|---|---|
| What you get | A right to stop others making, using or selling it, for about 20 years from filing, in each country where granted | Freedom for everyone, including you, to use it; credit; a community |
| Cost | Provisional: a filing fee ($65 micro / $130 small / $325 large entity, as of 2025) and your time. Full US patent: typically $10,000-$25,000 with an attorney, plus maintenance fees; each other country adds similar costs | Close to nothing; a defensive publication with Testimonia costs an anchoring fee of a fraction of a cent |
| Time | 2-4 years to grant in the US | Immediate |
| Strength | Only as strong as your will and money to enforce it (litigation often costs $1M+) | Nothing to enforce; licences (MIT, Apache, GPL) set terms for code |
| Disclosure | Published 18 months after filing anyway: competitors learn how it works | Published at once |
| Best for | Physical products, medicines, hardware with high copying risk, things investors expect to see protected, licensing businesses | Software and standards that win by adoption, research, tools you want everyone to use, ideas you can't afford to patent but want no one else to lock up |
| Risk | Spending heavily on a patent you can't enforce; claims too narrow to matter | Others build on it commercially without paying you; no exclusivity to sell to investors |
Both is common: patent the core (the hard-to-copy part that makes money) and open the rest (SDKs, formats, checkers) so it spreads. A common pattern: open checkers and file formats, so anyone can verify, with the core technology licensed.
The order matters. File first, then open. Publishing before filing ends your right to patent in most countries immediately; the US gives you one year after your own disclosure.
3. To keep the option to patent: file a provisional
A provisional application holds a filing date for 12 months for a low fee, with no claims or formal examination required. In that year you can test the market, raise money, or decide it's not worth it (then let it lapse, or publish).
With Testimonia: turn the notebook into the specification (the USPTO's format, numbered paragraphs, drawings, optional claims, an abstract of at most 150 words) and follow the generated checklist:
- Create a USPTO.gov account and file in Patent Center as a provisional.
- Cover sheet (PTO/SB/16 or the application data sheet): every inventor's name and residence.
- Entity status: micro entity (form PTO/SB/15A: income limit, at most 4 earlier applications), small entity, or large.
- Upload the specification PDF; pay the fee; keep the filing receipt.
- Within 12 months: the non-provisional (and any foreign or PCT filing) claiming this date.
Describe it fully. A provisional only protects what it describes: every variation you might claim later, how to make and use it, and the drawings. Thin provisionals are the commonest mistake. More detail is better.
Mark it. After filing you may say "patent pending".
4. To keep it free for everyone: publish defensively
Publish the full description (and figures) so it becomes prior art: no one can then patent it. Testimonia seals it, anchors it on Base automatically (the chain dates it), and gives a citation examiners can use. Before publishing it warns you, because you can't take it back: publishing ends your own patent rights (at once in most countries; after a year in the US).
Also send it where examiners look: your own site, a preprint server, a technical journal, or a defensive-publication service; patent examiners search those.
5. Names and logos: trademarks
A trademark protects a brand (a name, a logo, a slogan) for goods or services, for as long as it's used; it doesn't protect the idea or the product itself.
- Search before you commit to a name: the USPTO's trademark search (tmsearch.uspto.gov) for the same or similar-sounding marks in related goods and services. A clash is the commonest reason for refusal, and rebranding later costs far more than searching now.
- Use it and seal it: Testimonia seals a specimen of use (the app store page, a label, the website where it's sold) with the date of first use, so the office's evidence questions are answered with proof, not affidavits.
- File: in the USPTO Trademark Center, by class of goods or services ($350 per class as of 2025, plus surcharges for free-form descriptions); on intent to use if you haven't launched. The word mark usually protects more broadly than the logo; file the logo too if it matters.
- Mark it: TM at once; the registered symbol only after registration. Extend abroad with the Madrid Protocol.
6. Keeping code and files private on GitHub
If your invention is software, or its designs live in a repository, keep it private until you've filed (or decided to open it). A private repository isn't a publication; these are the ways it becomes one by accident.
Set it up private
- Create the repository as Private (or move it: Settings, General, Danger Zone, Change visibility). Only you and the people you add can see it.
- Add people under Settings, Collaborators, with the least access they need (Read for reviewers). Anyone who isn't an inventor should agree to confidentiality first (an NDA), so showing them isn't a disclosure; get it in writing before you share.
- Turn on two-factor sign-in or a passkey for your account, and ask collaborators to as well.
What makes it public without meaning to
- Changing visibility to Public publishes everything at once: every file, every old commit and its date, every issue. Don't do it until you've filed and decided.
- GitHub Pages: a site published from a repository is public even when the repository is private (except on GitHub Enterprise with private Pages). Anything in the published folder is on the internet.
- Gists: a "secret" gist isn't private, it's unlisted: anyone with the link can read it.
- Releases, packages and app builds: an app you publish (an app store, a public download, an npm package) shows how it works; treat it as a disclosure.
- Public forks, demos, screenshots and talks: a README, a video or a conference demo can be enough to count as a publication.
- AI tools and online services you paste code into: check their terms on training and retention; prefer ones that don't keep your data.
Keep it safe
- Never commit passwords, keys or tokens: keep them in environment settings or GitHub's encrypted Secrets, list
.envand key files in.gitignore, and turn on secret scanning (Settings, Code security). - Protect the main branch (Settings, Branches): require reviews, block force-pushes, so history can't be quietly rewritten.
- Use fine-grained access tokens limited to one repository, and revoke ones you no longer use.
Prove what you had, and when
- Commit dates can be changed, so they're weak evidence alone. Seal a snapshot instead: download the repository (or a release) and seal the folder with Testimonia; note the commit hash in a notebook entry. The seal and its anchor on Base date it independently of GitHub.
If you open it later
- File first, then make it public.
- Choose the licence with patents in mind: Apache-2.0 grants everyone who uses the code a licence to your patents that the code practices; MIT has no express patent clause; GPL-3.0 has patent terms of its own. If you plan to license patents separately, talk to counsel before choosing.
- Ask outside contributors to sign a contributor agreement (or use a sign-off such as the Developer Certificate of Origin), so it's clear who owns what they add.
7. Help at every budget
Fees and programs change; check each office's current page before you rely on a number.
When a professional matters most
- Before the non-provisional: claims decide what you own, and drafting them well is a skill.
- Before filing abroad (PCT, Europe, China): deadlines and rules differ.
- Before launching a product: a freedom-to-operate search checks you don't infringe someone else.
- When someone copies you, or says you copy them.
Free
- USPTO Inventors Assistance Center: phone help with forms, fees and rules. It explains; it doesn't advise.
- USPTO Pro Se Assistance Program: for people filing a patent application on their own.
- USPTO Patent Pro Bono Program: volunteer patent agents and attorneys through regional programs. Each sets its own requirements: household income under its limit (usually 300% of the federal poverty level), some knowledge of the patent system, and an invention, not just an idea.
- USPTO Law School Clinic Certification Program: supervised law students handle real patent and trademark filings, pro bono.
- Patent and Trademark Resource Centers: libraries with staff trained to help you search.
- USPTO Trademark Assistance Center: phone help with trademark forms and rules.
- TTAB Pro Bono Clearinghouse: free help if someone opposes your trademark, or you oppose theirs, at the Trademark Trial and Appeal Board.
- Free search tools: Patent Public Search, USPTO trademark search, Google Patents and the Copyright Office's public records.
- Copyright Office: frequently asked questions, contact form, and the Compendium, which explains how registration works.
- Volunteer Lawyers for the Arts groups, in many states: free or low-cost copyright and contract help for artists, writers and musicians. Search for the one in your state.
- Small business help: Small Business Development Centers, and SCORE mentors and other SBA local assistance. These are free, and can help you decide when IP is worth paying for.
Cheap
- Fee discounts: micro entity status cuts most USPTO patent fees by 80% (the gross income limit is $262,380 as of September 15, 2026), and small entity status by 60%. See the USPTO fee schedule: a provisional is $325 / $130 / $65, and a trademark $350 per class.
- Do it yourself with Testimonia: a sealed notebook, a provisional package, a defensive publication, trademark specimens and copyright records, then filing fees only. File patents in Patent Center (see provisional applications), trademarks online, and copyright through the registration portal (fees: $45 Single, $65 Standard).
- Flat-fee reviews: many patent agents will review a provisional you drafted, or file a trademark, for a fixed price. Ask for the price and what's included in writing first.
- Copyright Claims Board: a small-claims option at the Copyright Office for infringement claims up to $30,000 in total, with low filing fees and no lawyer required (questions).
Full service
- Registered patent agent: can prepare and prosecute patent applications; usually costs less than an attorney. Patent attorney: can do the same, and also litigate and give wider legal advice. See finding a patent practitioner, and check anyone's registration in the USPTO roster.
- Trademarks: hiring a U.S.-licensed attorney. Your state bar's lawyer referral service can also suggest one.
- Typical costs: a full US non-provisional often runs $10,000-$25,000 with a professional; a freedom-to-operate opinion several thousand dollars or more; a trademark clearance search by an attorney from a few hundred to a couple of thousand; litigation far more.
- Bring docs/for-counsel.md and your sealed notebook; it saves billable hours.
- All the USPTO's programs on one page: intellectual property legal assistance.
Watch out for invention-promotion companies. Firms that advertise to "help you sell your idea" for large upfront fees are a known scam pattern. By law they must disclose their past business practices to you; ask for that in writing, read the USPTO's scam prevention page, and check the published complaints before you pay.
Outside the US: see section 8.
Links checked 23 November 2026.
8. Outside the US
General information from each office's own pages, checked 23 November 2026; not legal advice. Rules and fees change: check the office before you rely on them.
The rule that matters most: don't disclose before you file. The US gives you one year after your own public disclosure to file. Most of the world gives you nothing:
- Europe: the European Patent Convention counts as prior art "everything made available to the public ... before the date of filing". The only exceptions (Article 55) are disclosures in the six months before filing that came from an evident abuse against you, or from showing the invention at an officially recognised international exhibition.
- UK: an invention must be "new - it must not have been made publicly available anywhere in the world" (UK IPO). The UK IPO advises a non-disclosure agreement if you discuss your invention with anyone but a patent attorney (before you apply).
- Canada: Canada's patent office says "Do not publicly disclose your invention until you have filed your application" (CIPO). Canada does have a 12-month grace period after a public disclosure, under conditions; but, as the UK government's guide to IP in Canada warns, relying on it can cost you protection in countries without one, the UK included.
So: if you might want a patent anywhere outside the US, file first, then publish, demo or sell. A defensive publication, a public repository or a preprint all count as disclosure.
One filing, then a year to choose countries. Under the Paris Convention, after your first filing (a US provisional counts) you have 12 months to file patents in other member countries (6 months for designs and trademarks), and those filings are treated as if made on your first date.
The international routes, run by WIPO:
- Patents, PCT: one international application, in one language, with one set of fees; usually at 30 months from your first filing you then enter the "national phase" in each country you choose (PCT FAQs). It postpones most national costs; it doesn't give a worldwide patent.
- Trademarks, Madrid: one application and one set of fees for protection in up to 133 countries, once you have (or have applied for) a trademark at home (Madrid System). From the US, file it through the USPTO.
- Designs, Hague: up to 100 designs in 102 countries with one international application (Hague System).
- Copyright, Berne: no registration needed: protection "must not be conditional upon compliance with any formality" in member countries (Berne Convention). Registering in the US still matters for suing there (the Create tab's copyright checklist).
Country by country:
- Europe (EPO): one European patent application covers the European Patent Convention's member states; then validation, or the Unitary Patent for participating EU countries. See the EPO's guide for applicants and fees. EU-wide trademarks and designs go through the EU Intellectual Property Office (EUIPO).
- UK: a UK patent through the Intellectual Property Office costs "at least £405" if you complete the process, and usually several thousand more with a patent attorney (apply for a patent); a UK trademark costs "at least £205" (register a trade mark).
- Canada: the Canadian Intellectual Property Office's roadmap to a patent and patent fees, with reduced small-entity fees for applicants with fewer than 100 employees and universities.
- Developing countries: WIPO's Inventor Assistance Program matches inventors with volunteer patent attorneys.
More countries. All of these are in the PCT (159 contracting states) and the Madrid System. Where a fact here comes from the UK government's guide to IP in that country rather than the country's own office, it says so.
- China (CNIPA): a foreign applicant without a home or business office in China "shall appoint a legally formed patent agency to act on its behalf" (CNIPA). Filing an invention patent costs CNY 900, with fee reductions for applicants who have difficulty paying (fees). A trademark filed online costs CNY 270 per class, for up to 10 items (trademark fees). Treat China as having no grace period you can rely on.
- Korea (KIPO): without an address in Korea, "you must appoint a patent attorney with a residential or business address in KR" (UK government's guide).
- India (Indian Patent Office): the UK government's guide says India has a 12-month grace period after a public disclosure (guide), but India's own patent FAQ limits it to certain cases (government exhibitions, learned societies, some publications): don't count on it. Fees are lower for individuals, start-ups and small businesses; a trademark costs ₹4,500 per class filed online by an individual, start-up or small enterprise (fees), and the SIPP scheme helps start-ups pay for professional help.
- Australia (IP Australia): a 12-month grace period after a public disclosure, under conditions; you can file yourself, with an address in Australia or New Zealand (UK government's guide).
- Brazil (INPI): a 12-month grace period for disclosures by the inventor (INPI's applicant manual, Portuguese); applicants from outside Brazil "must apply through a qualified attorney" (UK government's guide). INPI gives discounts to individuals, micro-enterprises and small companies (basic guide).
- Mexico (IMPI): online patent applications cost 50% less for micro, small and medium businesses, and IMPI offers free searches and free advice by video call (IMPI's guide, Spanish).
- Japan (JPO): in the PCT and the Madrid System. Japan's patent office's site couldn't be checked for this guide, so nothing more is said here: ask a Japanese patent attorney.
Filing abroad almost always needs a local patent attorney or agent; the PCT and Madrid routes put that cost off while you find out whether the invention is worth it.
9. How the AI guides you
The Testimonia assistant walks through these steps, drafts sections from your notebook, checks the abstract's length, explains each form, and says plainly when you need a professional. It never files anything for you and never calls its help legal advice.