Mr O'Connor said his Irish-Catholic background shaped his values and he was one of ''a good healthy number'' of St Bede's College, Christchurch, old boys to have served as MPs in recent years.
''My Irish-Catholic upbringing certainly instilled in me some strong social values and the dairy industry is actually built on values of collaboration and co-operation.
''There's a surprising number of farmers who are Labour supporters, although they often keep quiet about it, and it's not surprising as the primary industry has a strong tradition of co-operatives.
''And I don't mind saying that agriculture always does better under Labour governments.''
Mr O'Connor said the Labour, New Zealand First and Green parties shared similar core values and were committed to ''agricultural sustainability''.
''I think all three parties have been frustrated by the previous government's direction and we look forward to making the changes needed to make agriculture more sustainable.
''During the negotiations we found our policies were very similar and there were areas where they (New Zealand First and the Greens) suggested improvements and we have agreed.''
Mr O'Connor said the new government would appoint a primary sector council to ''have a comprehensive and strategic look'' at the sector.
''It's an opportunity to do some fresh thinking, but first we need to take stock of where we are now and where we are going.''
He said vegetable-based proteins were coming and would impact on the sector in the long term, but could also open up opportunities both in producing the synthetics, but also from consumers willing to pay a premium for naturally produced food.
''You've got some very smart, visionary people putting lots of money into synthetics and we've got to understand they're not doing it for nothing.''