Your right to practise any profession or to carry on any occupation, trade or business is safeguarded by the Constitution of India, 1949
, the supreme law of India
. Your case is directly dealt by S. 27 of the Indian Contracts Act, 1872
. As per this section, every agreement by which anyone is restrained from exercising a lawful profession, trade or business of any kind is prima facie void.
However, there exists a clear distinction between a restriction in a contract of employment which is operative during the period of employment
and one which is to operate after the termination of employment
. Restrictions on competitions during the period of service are normally valid
. In such cases the restriction is generally reasonable, having regard to the interest of the employer and does not cause any undue hardship to the employee, who will receive a wage or salary for the period in question. But if the covenant or agreement is to operate after the termination of services, the Court may refuse to enforce it
In this case, the 3 years restriction may have been valid, had you continued to be a part of the company. However, as you are no longer a part of the company and your business will be your sole means of survival, it becomes an unreasonable contract
Contracts restricting employment can be ‘valid contracts’ only if-
The agreement in question is a "good will of business", type of contract, i.e., the imposed restriction is attributed to the ‘goodwill’ of the business and not any particular skill or technique; and
The restriction is justifiable in the circumstances as being reasonable from the point of view of the parties themselves and also of the community i.e., the restraint may not be greater than necessary to protect the employer, nor unduly harsh and oppressive to the employee.
Here, the agreement in question is not a “good will of business”, type of contract rather; the agreement deals with the open source software used by the company.
Moreover, since the company uses open source software, anyone has the right to study, change or distribute the software, without any restrictions. This eliminates the ‘reasonable’ clause, as restricting you from using open source software in no way protects the interests of the company.
Since, both the clauses essential for the exception to S.27 of Indian Contracts Act, 1872, are negated in this case, the document signed by you is not valid before law
S. 19(1)(g); available at: https://indiankanoon.org/doc/1218090/.
Available at: https://indiankanoon.org/doc/1431516/.
 Superintendence Company Of India v. Krishan Murgai,
1980 AIR 1717, 1980 SCR (3)1278.