What is open source? Explained with a community cookbook
Open source software publishes its source code under a licence that lets anyone use, change and share it, under set conditions. Like a recipe in a community cookbook.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- Engineering
This week's news keeps describing tools as open source, from Microsoft's hijacked Agent Framework to OpenAI and Cisco's Shirudo, so here is what the label really means.
In one sentence: Open source software is software whose recipe, the source code, is published under a licence that lets anyone read it, use it, change it and share it, including for business, as long as they follow the licence's conditions.
The everyday picture
Think of a community cookbook. A cook writes down a recipe and puts it in a cookbook that anyone may copy. You can cook the dish at home. You can cook it in your restaurant and sell it. You can add more garlic and hand your version to a friend.
At the bottom of each recipe is a short note: the house rules. One note might say "keep my name on the card". Another might say "if you hand out your changed version, hand it out under these same rules". Follow the note and the recipe is yours to use.
Much commercial software is not like this. With closed software you can buy the meal, but the recipe stays locked in the company's kitchen. Open source puts the recipe on the shared shelf.
The cook publishes the recipe with house rules. You copy it into your own kitchen, adapt it, and can send your improvements back for everyone.
How it works, step by step
- A developer writes the source code (the cook writes the recipe). Source code is the human-readable set of instructions that a computer turns into a working program, the dish.
- They publish it with an open source licence (the house rules at the bottom of the card). The licence is what makes it open source. The Open Source Initiative keeps a definition with ten criteria, including free redistribution, access to the source code, and permission to make and share changed versions.
- You copy it into your own product (you cook it in your kitchen). Your team adds the code, often as a ready-made package, instead of writing that part from scratch. The definition does not allow a licence to ban business use.
- You follow the licence conditions (you obey the note on the card). A permissive licence such as MIT mainly asks you to keep the copyright and licence notice. A "copyleft" licence such as the GNU GPL asks that when you share a changed version, you share its source code under the same licence.
- Improvements flow back (cooks send better versions to the cookbook). Anyone can suggest a fix. The project's maintainers, the editors of the cookbook, decide what goes in.
Try it · Myth or fact
Open source: myth or fact?
Decide for yourself first, then tap each statement to check it.
0 of 4 checked
Where the picture stops
- A bad recipe usually spoils one meal. A flaw in a popular open source package can reach thousands of products that copied it. CISA points to the Log4Shell flaw as an example of that ripple effect.
- A recipe you cooked last year stays the same. Software packages keep getting new versions, and you may need to take updates for security fixes, or hold back a bad one.
- Recipes are rarely a legal matter. Software licences are legal documents, and the exact wording decides what you may do. Code posted online with no licence at all is not open source: by default the author keeps all the rights.
Why it matters for your business
- Speed and cost. Your developers can build on proven parts instead of writing everything themselves, and you pay no licence fee for the code itself.
- Control. Because the code is published, you or a developer you hire can inspect it, fix it or keep running it even if the original company changes direction.
- Risk you must manage. Open code still needs updates, version pinning and checks. Today's Agent Framework story shows that a trusted package can be tampered with at the point where it is handed out.
- Licence duties. Some licences add conditions when you share or sell software that includes the code. Know which licences sit inside your product before you ship it.
An example
Imagine a 15-person travel agency that wants a booking portal. Its developer builds the portal on open source parts: a web framework, a database and a library for sending emails. That saves weeks of work and licence fees. Before launch, the developer lists every package and its licence, pins the versions in use, and sets a monthly check for security updates. When a flaw is announced in the email library, the agency knows within the hour whether it is affected.
Frequently asked questions
Is open source software free?
Usually there is no fee to use the code, and the licence lets you share it. But "free" here mainly means free to use, study, change and share. You still pay for the people and hosting that keep it running.
Can I use open source software in a commercial product?
Yes. The Open Source Definition says a licence must not stop people using the software in a business. You must follow the licence's conditions, which vary between licences such as MIT and the GPL.
Is open source less secure than closed software?
Not by default. Anyone can inspect open code, which helps find problems, but nobody is guaranteed to have checked it. Treat it like any supplier: keep it updated and watch for security alerts.
Is an open-weight AI model the same as open source software?
Not exactly. An open-weight model publishes the trained model's settings so you can run it yourself, but its licence may add limits and its training data may not be shared, so it may not meet the open source definition. Our explainer on open and closed AI models covers this.
Related explainers
The DevDrift builds web platforms on well-maintained open source parts, with pinned versions and update checks: see how.
Sources
Could you explain this to a colleague now?
Mark it and posts that mention it will show a tick. Saved in this browser only.