Full story
Neo's body is in a coma, but his mind is stuck at Mobil Ave, a station between the Matrix and the machine world. There he meets a family of programs trying to save their daughter, Sati, by sending her into the Matrix. The Trainman, who works for the Merovingian, runs the trains and won't let Neo on board. Trinity, Morpheus and Seraph storm the Merovingian's club and, at gunpoint, force him to let Neo go.
Neo visits the Oracle, who now has a different face. She explains that Smith has become Neo's opposite, the Matrix trying to balance itself, and that he wants to destroy everything on both sides. She also tells him that everything that has a beginning has an end. Soon after, a crowd of Smith copies arrives and absorbs the Oracle, who doesn't resist. Smith gains her ability to see the future.
In the real world, the ships head home to defend Zion. Neo asks for a ship to reach the Machine City, and Niobe, moved by her own talk with the Oracle, hands over the Logos. Neo leaves with Trinity. Bane, hiding on board and still carrying Smith, takes Trinity hostage and blinds Neo with a burning cable. Even blind, Neo sees the machines as light and kills Bane.
In Zion, the Sentinels break into the dock. Soldiers in armored mechs hold the line as best they can, and many die. Niobe flies the Hammer through impossibly tight tunnels, with Morpheus along, and they fire an electromagnetic pulse that takes out the first wave but also shuts down the defenses. Zion braces for its last stand. Near the Machine City, the Logos comes under attack. Trinity climbs above the clouds, sees blue sky for a moment, and crashes. She dies pinned in the wreckage after saying goodbye to Neo.
Neo speaks with the Deus Ex Machina, the leader of the machines, and offers a deal: he will stop Smith, who now threatens the machines too, in exchange for peace with Zion. The deal is accepted, and the Sentinels halt the attack. Plugged into the Matrix, Neo fights the Smith who took over the Oracle's body, in a battle through the rain and the sky. Smith repeats the line that everything with a beginning has an end, and Neo lets himself be absorbed. The machines send a surge through his body, and every Smith copy explodes. Neo appears to die, and the machines carry his body away. The Sentinels pull back, and Zion celebrates. The Matrix reboots. The Architect promises the Oracle that anyone who wants out will be freed, and Sati asks if Neo will come back. The Oracle believes he will.

