Agincourt was a significant victory, but it owes as much if not more to a series of terrible French decisions than to brilliance on Henry V’s part.
The English were in a shitty situation. They’d taken far too long to take Harfleur, and the campaigning season was almost over. Now they were in possession of a Harfleur that was much less defensible (owing to e.g. big holes in the walls, lack of food, smaller garrison etc.) so Hal made the bold decision to lead the French away from attacking it by marching his army across northern France to Calais. This was clever but risky, especially as his army was riddled with disease, fairly exhausted and under provisioned for cold weather. Even more so when he he ordered them to take the absolute minimum of food - if they didn’t reach Calais within 8 days, they’d be eating scraps and forced to risk sending out foraging parties which the French could easily defeat in detail.
The journey didn’t go great! The French did a reasonable job of blocking their route and forcing them to go the long way round. But the English forced an important river crossing and got themselves somewhere resembling back on track.
However, they were still miles from safety, with a larger and growing French army between them and safety. They were running out of food, disease was still rife, morale was failing. Henry had to force a battle because the status quo was killing him slowly.
So the French should never have fought! Militarily, they absolutely didn’t need to, and they certainly didn’t need to let Henry pick the battle site. They just had to slow his progress to Calais, harass and divert him, cut his access to food and let cold hunger and disease do their job.
Politically however, avoiding battle was tricky. Feudal nobles need to be seen as warriors, glory was social currency and the dishonour of not meeting the bold, virile Henry in combat would be politically destabilising for a regime that was already on shaky ground due to Charles VI mental incapacity. On that vacuum, glory hungry nobles looking out solely for their own interests were able to force the nominal French commander into a battle they didn’t need to fight.
And they didn’t need to fight it so badly! Squabbles over precedence and honour led to a grossly swollen vanguard, poorly positioned archers and cavalry and a level of general disorganisation so bad that Henry could order his archers to dismantle their prepared positions, the match to and set up new ones, without coming under attack. And of course the field of battle was horrific - a freshly ploughed field with woods on either side that would negate the French numbers, slow them horribly and funnel them towards the waiting English. Again, the French absolutely did not need to fight this battle!
Henry did very well on the day, and his pre campaign planning meant that his archers were well supplied with enough arrows to maintain a devastating rate of fire. He acted boldly in moving positions and forcing battle, and he took full advantage of the ground. But he had put his whole army in a highly precarious position that a better led France would and should have exploited to the full.