The “.Contracts” project [VF AgSDK]
It is a.NET Core "Class Library" and at least requires the
Platform.CoreComponents.Agent.Contracts
Nuget package.
Once created, remove all pre-created source files.
See Creating a new task (version) for how to create your contracts.