Suffering from shame, guilt, and self-loathing from Kid Loki’s accusation that he could never change, this Loki sought absolution. He struck a bargain with the ruling triumvirate of Asgardia (Gaea, Freyja, and Idunn), the All-Mother, to perform missions for Asgard and erase his evil past. He became the Agent of Asgard. The All-Mother first ordered him to track down five keys that Odin had created for him, for the day he became worthy. Once Loki tracked them all down, he used the keys to unlock a case containing Gram the sword of truth, once wielded by Sigurd, which he claimed.
His next mission was to rescue Thor from evil, a corrupting force that invaded him. Loki infiltrated Avengers Tower as best he could with the Avengers on high alert, and avoiding them, stabbed Thor with Gram. It released the corruption which Loki captured in a runic jar, which he called a jar of lies, and returned to the All-Mother. Little did he know that the jar contained what looked like the old, dead Loki, but was King Loki of the future, back to ensure his story would come to pass.
Loki then met Verity Willis, a human with the power to see through any lie . He was next tasked to return errant Asgardians home, including Sigurd who was walking the world which was apparently a crime. He returned Sigurd to the All-Mother and he was cast into Asgardia’s dungeons. It bothered Loki so he gathered his allies, Lorelei, Thor, and Verity, to liberate the once heroic Sigurd. In the dungeons, Loki found King Loki who could walk freely in time to ensure his future came to pass. A future that the All-Mother desires as well, but this same future meant that Loki could not change his story. Loki quit the All-Mother’s secret service, and aided Thor in seeking the truth about their unknown sister, Aldrif Odinsdottir, AKA Angela, raised in the Tenth Realm of Heven by the Asgard-hating Angelic host. Loki then retrieved Odin from his exile in the remains of Asgard-space and returned him to Asgardia.
Following these events, Doctor Doom visited the future discovering that Loki was responsible for a terrible future. Traveling back to his time in Latveria, he captured present-day Loki in a time-bubble to prevent the horrible future he witnessed. Loki’s only hope was Verity who was accidentally brought to Latveria with Loki but armed with Lokie’s invisibility amulet. She learned through Doom’s goddaughter supergenius Valeria Richards that Loki’s future self had made a mess of the far-future. Magneto arrived asking for help against Red Onslaught, a clone of Red Skull. Loki helped defeat the Stark Sentinels, while Doom and Scarlet Witch cast an inversion spell that altered the moral compass of Red Onslaught but its effect extended to everyone on the island. Loki’s path towards redemption was undone somewhat since he was also inverted. Despite his moral backtracking, he helped stop his brother from murdering others and found Mjolnir, which Thor became unworthy of previously. Loki used Mjolnir to fight Thor and then a reinversion spell was cast, reverting Loki back to himself, his guilt returning but with an inability to lie.
Unable to lie, Loki came clean about killing Kid Loki and who he really was to his new best friend Verity and Thor. Thor, unable to accept that his kid brother was gone, took out his rage on Loki, but unable to slay him, he instead dragged him to Asgardia to face judgment. Loki tried to use Gram against Thor but Thor destroyed it. Loki apologized but Thor was not in a forgiving mood and instead punched him, told him to rot, and that they’d never meet again.
Loki was shunned by his peers and banished by the All-Mother, so Odin returned him to Midgard, exiled from Asgardia. Verity was there waiting for him but so was King Loki who revealed his sins to him, how he wiped away all his sins through good deeds but still became the villain, never accepted, never trusted, which led him to snap and brew a war with his brother. This war led to a burned and salted earth, and with Loki as King of a land of bones. King Loki set Loki on fire which sent him to a hidden place where he met the original Loki and Kid Loki. They offered him two options for survival: become a villain or destroy himself. After receiving a call from Verity, thanks to magical cell reception, Verity realized that King Loki didn’t recognize her, meaning a new timeline was coming about. Loki chose another route, realizing lies were just stories, and that he could create his own. He then destroyed himself which sent King Loki to a changed future, eight months ahead right before the incursion, that is the end of the Multiverse. Loki then reappeared at Verity’s door, reborn as the “God of Stories.”