An SDK has been released for Team Fortress 2 that allows you to create modifications that are limited only by your imagination

Valve has announced the release of a new software development kit (SDK) for Team Fortress 2, which will allow developers to create completely new games based on Team Fortress 2. This update opens up many opportunities for modifications and creativity.
Here's What We Know
The SDK is a large-scale update to the Source SDK, which includes all the client and server code for the game. This means that modders will be able not only to make small changes but also to completely rewrite Team Fortress 2, creating new game projects. Valve emphasised that "unlike Steam Workshop or local mods, this SDK allows you to modify, extend, or rewrite TF2".
However, all mods created using the SDK must be free of charge. So now, Team Fortress 2 fans can implement their ideas without restrictions.
In addition, Valve has also announced a major update for all of its Source-based multiplayer games, including support for 64-bit binaries and interface improvements. All changes can be found at this link.
Source: Valve