As mentioned by others already - sprints are part of Scrum. They have nothing to do with Agile.
It used to be that Scrum Guide stated the ideas clearly, but the further we go the more obscure it becomes*. Current Scrum Guide says we have to deliver an increment by the end of the sprint, and the increment relates to "value". It seems that the ...
Do you have to deliver working software in an Agile timebox/sprint?
If you are building a software product using sprints, then yes, you should deliver working software each sprint. The point of a sprint is to have a cadence of activities and an inspection point where you look at what you've built, collect feedback, adjust your understanding based on the ...
Beyond the four values, these principles are also relevant:
Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.
Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.
Working software is the primary measure of progress.