AG-37 was an assassin droid of the IG-series variety, active after the Second Imperial Civil War. He frequented Ania Solo's junkyard located on the moon of Carreras Minor, having operated for a long time and witnessed the rise and fall of galactic powers. He had cultivated his own individuality and ambitions, earning a living by transporting cargo in his freighter. In contrast to most assassin droids, AG-37 possessed a friendly and compassionate demeanor, offering assistance and providing guidance and encouragement to those he encountered. Sometime before 25 ABY, AG-37 crossed paths with Han Solo and Chewbacca, making an unspecified commitment to Solo. Towards the conclusion of the Second Imperial Civil War, AG-37 encountered Ania, a descendant of Han Solo, who had escaped from an Imperial detention facility on the planet Drash-So. Driven by his pledge to Han Solo, AG-37 rescued Ania and transported her to the Carreras system, where she established her junkyard.
AG-37's bond with Ania Solo involved him in the events surrounding the insurgency of the rogue Sith Darth Wredd in 138 ABY. With the conclusion of the Second Imperial Civil War, the One Sith were overthrown and forced into hiding. The Sith then initiated a scheme to infiltrate governments and corporations throughout the galaxy, aiming to reclaim their former dominance. However, Darth Wredd's vision differed from that of his Sith counterparts, as he sought to reinstate the Rule of Two by eliminating all other Sith. During the Carreras Incident, Darth Wredd abducted and impersonated the Imperial Knight Yalta Val. Seeking to recover his "lightsaber," Wredd launched an assault on Ania's junkyard. In the resulting conflict, Ania, accompanied by her Mon Calamari companion Sauk, were compelled to flee aboard AG-37's freighter.
After retrieving the authentic Yalta Val's Imperial communications droid, AG-37 and his allies discovered that the real Yalta Val had been replaced by the Sith imposter they had previously faced. Subsequently, they joined forces with Jao Assam, a friend and fellow Imperial Knight of Yalta Val, to rescue Yalta Val and thwart the Sith imposter. Despite successfully rescuing Val on the floating world of Mala, AG-37 and his companions were unable to prevent Wredd from disseminating his manifesto across the galaxy and causing the Carreras communications array to crash onto Mala. During the battle, AG-37 sustained a lightsaber wound across his torso inflicted by Wredd. However, due to his droid nature, he was easily repaired and restored to full functionality by Ania and Sauk.
Following the events on Carreras, the Pellaeon-class Star Destroyer Animus located AG-37's freighter. Out of gratitude for the repairs to his droid body, AG-37 offered Sauk a position as an engineer on his freighter. After receiving necessary repairs to his ship, AG-37 and Sauk departed for hyperspace, while Ania remained with her new friend Jao Assam and Master Val. While visiting an unidentified planet to acquire a wild beast, AG-37 and Sauk learned of a resettlement initiative on the devastated planet of Calamari, the homeworld of the Mon Calamari and Quarren species, which had been ravaged by a Sith bioweapon during the final stages of the Second Imperial Civil War. Later, AG-37 and Sauk received a distress signal from Ania and Jao originating from Dac.
After Jao experienced a Force vision forewarning that Darth Wredd intended to assassinate the Galactic Empress Marasiah Fel, Jao and Ania embarked on a mission to track down the rogue Sith. Their journey led them to Dac, where they uncovered a pirate organization led by another rogue Sith known as Darth Luft. Darth Luft had deceived numerous Mon Calamari and Quarren into returning to Dac under the guise of resettling a restored Dac. There, they were enslaved and forced to construct pirate vessels in the Mon Calamari Shipyards orbiting Dac. Jao and Ania were captured by Darth Luft, who imprisoned them in an escape pod and ejected them into the toxic oceans of Dac. With considerable effort, Sauk and AG-37 managed to navigate their freighter into the depths of Dac's waters and retrieve the escape pod containing their companions.
While AG-37 and Ania preferred to await the arrival of Galactic Federation Triumvirate reinforcements, Jao Assam insisted on confronting Darth Luft directly. Unable to reconcile their differing viewpoints, AG-37, along with Ania, Sauk, and a Mon Calamari refugee named Luen, departed on AG-37's freighter. Their freighter was pursued by several pirate starfighters. However, AG-37 and his companions were rescued by the arrival of a combined Galactic Alliance and Fel Empire force, which liberated the shipyards and apprehended the pirates. During the battle, Jao successfully killed Darth Luft but found no trace of Darth Wredd, who had intentionally led them to Calamari to use them to achieve his goal of eliminating the One Sith. Following the events on Calamari, AG-37 and Sauk joined Ania and Jao's quest to hunt down Darth Wredd.
In 139 ABY, Ania Solo was falsely accused of murdering the Imperial Knight Teemen Alton. Before Ania could prove her innocence, she was abducted by her former lover Ramid, who sought to collect the bounty on her head. While Jao Assam harbored doubts, AG-37 and Sauk believed in Ania's innocence and vouched for her character. After revealing his connection with Ania to Jao and Sauk, the three embarked on a mission to rescue Ania. Their journey took them to a desolate world plagued by acidic rain and shards of glass. Due to his mechanical composition, AG-37 was able to withstand the harsh weather conditions and ventured out to search for Ania, while Jao and Sauk waited for the weather to subside. AG-37 eventually located Ania and Ramid in a remote settlement.
After Ania Solo evaded an ambush by a mysterious bounty hunter, who sought to frame her for Teemen Alton's murder, AG-37 rescued her from the acidic rain and brought her to safety. However, AG-37's internal systems suffered extensive damage from the acidic rain. Fearing the loss of his memories, AG-37 requested that Ania shut down his systems, a request she reluctantly granted. While AG-37 was incapacitated, Jao and Ania successfully killed the bounty hunter and thwarted her plot to frame Ania. However, Imperial stormtroopers then apprehended Ania and transported her to the galactic capital Coruscant to stand trial for her alleged crime. Jao and Sauk were unable to prevent their capture but managed to recover and repair the damaged AG-37. Ultimately, Jao Assam and his fellow Imperial Knight Yalta Val succeeded in clearing Ania's name. Following Ania's acquittal, a fully repaired AG-37 was present at their reunion on Coruscant.
AG-37 later participated in a mission to rescue Jao Assam, who had been kidnapped by Darth Wredd with the intention of recruiting a new Sith apprentice and luring Empress Fel to Mala. Their travels led them to the remote planet of Mala, where they successfully rescued Jao. However, they were then caught in a three-way battle involving the Fel Empire, Darth Wredd, and a large army of One Sith, who were also hunting for Darth Wredd. During the battle, AG-37 fought and killed many Sith. Following the defeat of Darth Wredd and the One Sith forces that were caught in this trap, AG-37 would join Ania, Jao, and Sauk on their journeys across the galaxy.

The origins of AG-37 and his early existence prior to the events of the insurgency in 138 ABY–139 ABY remain largely unknown. However, it is confirmed that he predates the One Sith and the Galactic Alliance. At some point before the demise of the New Republic, AG-37 encountered the renowned smuggler and Rebel Alliance war hero Han Solo and the Wookiee Chewbacca, making a commitment to Solo that was never specified. Over a century later, AG-37 honored this long-ago promise by providing refuge to Ania Solo, a distant relative of Han Solo who had broken free from an Imperial prison camp on Drash-So. Desperate to leave the planet but lacking the necessary funds, she brandished a blaster at AG-37. Impressed by her bravery, AG-37 felt compassion for Ania Solo and offered her a complimentary ride off-world on his freighter. Memories of this initial encounter were preserved within his memory banks, which had remained untouched for over a century.

By 138 ABY, Ania Solo had established a junkyard on the moon of Carreras Minor. During that year, she and her Mon Calamari friend Sauk discovered a damaged Imperial comm droid and a lightsaber that belonged to the Imperial Knight Yalta Val. While en route to the Carreras system to oversee operations at the local station within the galactic G51 communications array network, Master Val was ambushed and abducted by the rogue Sith Darth Wredd, who stole his armor and assumed his identity. Wredd then proceeded to seize control of the Carreras communications array and the security forces of Governor Biala, citing the presence of a Sith threat within the system.
While visiting Ania's junkyard to procure linear converters for his freighter, he advised Ania to dispose of her lightsaber, as it would bring about problems beyond her ability to handle. AG-37 then proceeded to the north side of the junkyard, where the linear converters were stored alongside the engine casings. The Sith impostor Wredd arrived with a contingent of Carreras security guards and demanded that Ania "return" his lightsaber. When Ania refused, he employed the Force to retrieve his lightsaber and instructed his men to eliminate Ania and Sauk. However, AG-37 intervened to rescue his friends, dispatching the guards with two blaster rifles, killing them. They then fled off-world aboard AG-37's freighter.
While exiting the moon's atmosphere, AG-37 offered to transport Ania as far as Bonadan, his next stop at a major port. His freighter was carrying a shipment of ice. When Ania inquired as to why he was risking his life to save them, AG-37 simply replied that he always honored his obligations. AG-37 was troubled by the behavior of the Imperial Knight Yalta Val, which he felt was uncharacteristic of an Imperial Knight. Ania concurred, stating that she had pushed the Knight too far but agreed with AG-37 that Imperial Knights did not typically act in that manner. While Ania had held high hopes for the new Galactic Triumvirate, she was now less certain. AG-37 then remarked that the galaxy had experienced its most harmonious period under the Jedi. He suggested that the Triumvirate had the potential to recapture this high point. However, Ania retorted that it mattered little who was in charge, as they were all corrupt.
Meanwhile, Sauk managed to repair the damaged Imperial communications droid and discovered a holographic recording of a skirmish between an Imperial Knight and a Sith. Ania, Sauk, and AG-37 viewed the recording and quickly recognized the Imperial Knight's lightsaber as the same blue-bladed one that Ania had encountered. They quickly deduced that the Imperial Knight whom they had encountered at Ania's junkyard was an impostor, when the proximity alarm on AG-37's rang. AG-37 and his companions returned to the cockpit only to encounter a Shifala blockade. AG-37 led the Carreras starfighters on a pursuit through the ice ring surrounding Carreras Minor. The freighter struggled to evade the nimble and agile snubfighters. Ania managed to lose the pursuing starfighters by ejecting her shuttle from the freighter's hangar bay, destroying the pursuers.

Ultimately, AG-37 managed to land his freighter on the desolate planet of Carreras Minor. While hiding there, Sauk managed to repair the damaged Imperial communications droid. AG-37's freighter was attacked by a gigantic tentacled monster that attempted to devour the freighter and its crew. However, Ania and her companions were rescued by the Imperial Knight Jao Assam, who had arrived in the Carreras system to investigate the disappearance of Master Val. With Jao's assistance, they managed to evade the monster by firing the freighter's engines into its face, killing it. However, Ania Solo distrusted Jao and pointed a blaster pistol at him. When AG-37 intervened after landing the starship safely, Jao explained the purpose of his mission, prompting Ania to express her desire to shoot him.
AG-37 managed to defuse the situation by pointing out that Jao Assam would have killed them if he had actually intended to do so. In response, Jao remarked that this was the first time he had ever heard an assassin droid counsel restraint. He explained that he had followed the locator signal on Master Val's comm droid to Carreras Minor. During the verbal confrontation, Sauk appeared with a blaster rifle, but Ania convinced Sauk that Jao was not a threat. Sauk was also accompanied by the newly repaired Imperial comm droid. After instructing the comm droid to replay the holographic recording of Yalta Val fighting the Sith, Sauk and his companions quickly realized that Yalta Val had been replaced by a Sith impostor. In the end, Jao and Ania's companions agreed to search for the floating world in the hope of rescuing Master Val.
While traveling into the Surd Nebula, they were pursued by several Shifala snub fighters. They arrived at the coordinates of the floating world only to find empty space. At that point, AG-37's freighter's port thruster was struck by a laser cannon, and they were trapped in the tractor beam projector of a Shifala warship. AG-37's freighter was dragged into the warship's hangar bay and was boarded by several droids that chewed a hole through the hull of the freighter. Ania and her companions fled down the gangplank only to fall into the hands of armed Shifala guards, who arrested them. AG-37 was immobilized by a restraining bolt, while Ania and Sauk were thrown into holding cells. In the end, Sauk and his companions were released by Governor Biala, who sent Jao and his companions to deal with the Sith impostor. After observing a conversation between the false "Yalta Val" and Jao, Biala quickly deduced that the former was an impostor.
Newly freed, AG-37 and his companions headed to the hangar bay to confront the Sith impostor. Jao was not confident in his ability to handle Darth Wredd alone, but Ania believed that the four of them would be able to defeat the impostor. AG-37 agreed with Jao that the impostor was a Sith Lord and expressed his concern that he and his companions would not be able to help him. While Jao advised caution and suggested tracking the Sith from their starship, Ania wanted to take out the rogue Sith immediately. She fired on Darth Wredd's shuttle, but he survived the explosion and attacked the four opponents with ruthless ferocity. During the fighting on the Carreras communications array, Darth Wredd cleaved AG-37 across his waist and shoulder with a lightsaber, temporarily disabling the droid. However, since AG-37 was not a living being, he did not die. Despite Jao and Ania's best efforts, Darth Wredd managed to escape, but not before impaling Jao and sending him hurtling through the zero gravity of space.
Following Darth Wredd's escape, Ania attended to the unconscious Sauk and the damaged AG-37. With his faculty still intact, AG-37 urged Ania to go and rescue Master Val and stop the Sith impostor. While Ania expressed her lack of confidence because she was merely a junk dealer, AG-37 reminded her that her famous ancestor Han Solo had done great things even though he was a lowly smuggler. He explained that Han Solo did what he had done because he knew that it was the right thing to do and because his friends needed him. Galvanized by AG-37's words, Ania flew Jao Assam's starfighter to Darth Wredd's secret hideout on Mala. Taking control of the Carreras communications array, Darth Wredd broadcast his manifesto to the wider galaxy, deriding the Galactic Triumvirate and presenting his captive Yalta Val. Before a live galactic audience, Wredd attempted to execute Val but was stopped by Ania, who managed to free Master Val.
While the two were preoccupied, Ania flew back to the Carreras communications array in Jao's starfighter and rescued Sauk and AG-37, dragging them aboard AG-37's freighter. Despite AG-37's pleas that she save Sauk and leave him behind, Ania was determined not to leave without both her friends. By this stage, the Carreras communications array was on a collision course with Mala and Governor Biala had ordered a general evacuation. While they were unable to prevent Darth Wredd from escaping, Ania managed to rescue Master Val mere moments before the communications array collided with Mala. While AG-37 piloted the ship, Ania tended to the wounded Sauk. When Ania asked AG-37 whether he needed help to take the ship through the Surd Nebula, the latter, who had been hastily reassembled, politely declined her offer and explained that they should have no problems as long as Ania had sealed that hull breach. The wounded Jao was retrieved by the Imperial comm droid. Master Val was amazed to see a droid save someone and described it as unusual behavior. AG-37 explained that the comm droid rescued Jao because it believed that Jao had come all this way to rescue it. AG-37 explained that a debt of gratitude could sometimes weigh heavily on a droid. Following Jao's rescue, they tended to his wounds and he recovered. .

Despite escaping the destruction of the Carreras array, AG-37's freighter was stranded on the wrong side of the Surd Nebula. Due to Jao's deteriorating condition, Val's comm droid had begun broadcasting a distress signal. Fortunately, AG-37's freighter was picked up by the Pellaeon-class Star Destroyer Animus, which had received the freighter's distress signal. Empress Marasiah Fel had dispatched the Animus to retrieve Ania after learning of her involvement in the Carreras Incident. Once aboard, AG-37 and his companions were treated as guests by the Imperials. A pair of Imperial Navy engineers also repaired the damaged AG-37 and managed to restore him to full working condition. The Imperials also praised Sauk's workmanship, which led the grateful AG-37 to offer Sauk a job as an engineer aboard his freighter.
While the compensation was not substantial, Sauk accepted AG-37's job offer because he considered working on AG-37's freighter to be preferable to his previous occupation as an ice miner. Sauk shared the news with Ania, who assured him that things would always work out in the end. AG-37 invited Ania to join them, but she declined the offer, citing that the Imperials had promised to provide her with a good job and a nice apartment on Coruscant, the galactic capital. While pleased with Ania's change in fortunes, AG-37 advised her to remain vigilant, reasoning that nothing is truly free. After hugging Sauk, Ania instructed the Mon Calamari engineer to take care of the grumpy old droid. AG-37 and Sauk then departed into space, and their travels took them to an unidentified spaceport. While loading some supplies, Sauk encountered another Mon Calamari refugee who informed him of a new initiative to rebuild and resettle Dac's shipyards. He attempted to invite Sauk along, but the latter declined due to his job aboard AG-37's freighter. AG-37 then reappeared and informed Sauk that they were about to depart off-world.
AG-37 and Sauk were transporting a large beast with sharp jaws to Iego. Due to the dangerous nature of the cargo, the creature was housed in a repulsor cage. Under AG-37's orders, Sauk attached and connected the cage to the shipboard power supply. Realizing that Iego was near his homeworld of Dac, Sauk asked AG-37 whether they could visit his homeworld. However, AG-37 advised against it, as Dac was a failed and lawless system. Sauk then related his earlier meeting with the Mon Cal who mentioned a resettlement program in the Calamari system. However, AG-37 was skeptical and described the Mon Calamari as an idealist. Sauk then related how he had left Dac to work as an apprentice engineer prior to the Sith-inspired Genocide and admitted that he missed his homeworld and his long-lost family. When Sauk mentioned that the Mon Calamari Shipyards had been destroyed, AG-37 corrected him by informing him that the ring had only been broken but not totally destroyed.

After receiving a Force vision about Darth Wredd's plan to assassinate Empress Marasiah Fel, Jao Assam and Ania set out to find him. Their search led them to the Calamari system, a place known for its lack of law, where they uncovered a scheme by another Sith, Darth Luft, and his pirate allies. These Sith and pirates were deceiving Mon Calamari and Quarren refugees, enticing them to return to Dac, only to enslave them and force them to construct starships for the pirates. Jao and Ania, along with two local guides, the Mon Calamari Luen and the Quarren Tikin, found themselves trapped in an escape pod and ejected into Dac's contaminated oceans. Fortunately, Jao's Imperial comm droid managed to transmit a distress signal, which was intercepted by AG-37's freighter. Sauk and AG-37 journeyed to Dac, plunging their freighter into the planet's oceans to rescue Jao and Ania's escape pod. After a challenging effort, Sauk successfully used the freighter's gun turret to launch a harpoon, securing the escape pod.
Subsequently, AG-37 and Sauk towed the escape pod to a deserted area within the Mon Calamari Shipyards. Upon reuniting, they also encountered Luen and Tikin. AG-37 remarked on how their group of allies seemed to be growing as rapidly as their enemies. The quartet then deliberated on their subsequent actions. While Jao Assam was determined to eliminate Darth Luft in hopes of locating Darth Wredd, Ania and AG-37 suggested returning to AG-37's freighter and awaiting reinforcements, acknowledging their disadvantage in numbers against the pirates. Fearing that Jao's plan would put his young son Tilin at risk, Tikin deserted the group and went back to the shipyards. Ultimately, Sauk, along with Ania, AG-37, and Luen, departed on AG-37's freighter, while Jao set off to confront Darth Luft. Pirate starfighters pursued AG-37's freighter, but a Galactic Federation Triumvirate task force, which had arrived to address the pirate situation, destroyed the pursuers. Master Val and Admiral Gar Stazi had intercepted Jao's transmission and resolved to end the suffering of the Mon Calamari and Quarren slaves.
During the Liberation of the Mon Calamari Shipyards, Stazi's forces flooded the Ring with water, overwhelming the pirates and enabling the Mon Calamari and Quarren slaves to seize control. Concurrently, Jao Assam tracked down and killed Darth Luft. In the midst of the uprising, the pirates, in an act of vengeance, opened the holding cells containing the slaves' families to the vacuum of space. The surge of water transformed into a wall of ice, saving many Mon Calamari and Quarren from certain death. AG-37 and his companions witnessed this horrific act and attempted to close the space doors, but were unable to do so because the controls were frozen. Unable to manually close the exits, Ania dispatched Jao's comm droid to bypass the controls and seal the doors, saving countless lives. Following the defeat of Luft and the pirates, the newly freed slaves were granted the opportunity to settle in the shipyards.
After they left the area, AG-37 confided in Ania Solo, affirming that their pursuit of Darth Wredd was justified and commending her for her encouragement. When AG-37 mentioned their lack of credits, Ania proposed that they take on some paid assignments. Just then, Jao received a message from Darth Wredd, the very Sith they were hunting. The Sith Lord tauntingly revealed to Jao that he had been manipulating him, leading him to kill Darth Luft. This act had brought the rogue Sith closer to realizing his ultimate plan. He even extended an invitation to Jao to join his new Sith Order, which would adhere to the Rule of Two. Despite Jao's discouragement, Ania reassured him that he had accomplished good by liberating slaves. She reasoned that if they could free slaves, they were capable of defeating an "arrogant" Sith.

A year following the Carreras Incident, AG-37, acting on Sauk's suggestion, undertook a delivery mission to Lasgo Port. This spaceport was located on a remote planet, surrounded by an orbital minefield left over from the Second Imperial Civil War. After carefully navigating through the minefield, AG-37's ship touched down at Lasgo Port. AG-37 remained with the ship while Ania and her companions explored the settlement. In an effort to earn some additional credits, Ania attempted to tame a yarthul, a large four-legged creature native to the planet. She failed and lost her comlink as collateral. While wandering through Lasgo Port, Jao discovered that Ania was wanted for the murder of an Imperial Knight named Teemen Alton. When Jao confronted Ania, she denied the murder, claiming that she had never even met an Imperial Knight before. Suspicious, Jao questioned her presence in the remote Carreras system around the time of the alleged murder.
As AG-37's freighter departed Lasgo Port's planet, it had to traverse the minefield once more. While navigating the minefield, the freighter's fuel injection bay was struck by minor blaster fire, which was initially mistaken for asteroid debris. The ship's crew dispatched their Imperial communications droid to repair the damage. While repairing the fuel bay, the communications droid discovered a damaged starship nearby, with its crew still alive but in distress. AG-37's freighter docked with the damaged starship, and Jao, Ania, and their companions made contact with the crew. During this encounter, Ania was reunited with her former love interest Ramid, who claimed that his ship's net isolator had been damaged by a mine, causing the ship's shield systems to fail. With their shields disabled, the starship was unable to travel through space. While Ania rekindled her relationship with Ramid, her companions returned to AG-37's freighter to retrieve tools and spare parts. However, this was all a deception.
Once Ania was isolated from her companions, Ramid and his crew took her prisoner. Ramid's starship then activated its engines and opened fire on AG-37's freighter, attempting to destroy it within the minefield. Jao narrowly prevented their starship from being destroyed. However, Ramid and his crew exploited the explosion to jump into hyperspace, taking Ania captive with them. Jao realized that Ania had been taken into hyperspace. Following Ania's abduction, AG-37 attempted to track Ramid's starship's communications but received a response signal from her comlink, which they traced back to Port Lasgo. Since Ania had lost her comlink as collateral during her failed yarthul taming attempt, Jao was skeptical that it was actually her and speculated that she did not want to be found.
When Jao voiced his suspicions about the suspicious timing of Ania losing her comlink and being kidnapped by her old friends, Sauk defended her, asserting that Ania did not commit the murder of the Imperial Knight. Jao suggested that Ania and her kidnappers could be anywhere in the galaxy. However, Sauk pointed out that Ramid's starship had executed a cold jump into hyperspace and deduced that they could not have traveled more than two star systems before running out of fuel. AG-37 then added that this situation would make their task much harder to guess their next destination. Sauk then commented that if Ania had secretly been a Sith, AG-37 would have known about it. To dispel Jao's suspicions about Ania, Sauk recounted how Ania had vouched for him when he was homeless and hungry on the streets of Carreras Minor, even though he was a complete stranger.

Jao Assam then directed his attention to AG-37, who had known Ania for a considerable time. AG-37 recounted his initial encounter with Ania near the end of the Second Imperial Civil War in the Selvatas system. Ania had escaped from an Imperial prison camp on Drash-So and had threatened AG-37 with a weapon, as he was conducting business in the system at the time. However, AG-37 felt compassion for her and offered her a free ride to the Carreras system, where she established a junkyard. Sauk was surprised to learn that Ania had threatened AG-37, an assassin droid, with a weapon. AG-37 replied that Ania had always possessed courage and good fortune. When Jao inquired why he had shown her pity, AG-37 explained that he had made an unspecified promise to Ania's ancestor, the smuggler Han Solo, over a century ago.
The three companions then resumed their efforts to locate Ania and uncover the truth about her past. After Sauk and AG-37 eliminated most of the galaxy as possibilities, they speculated that Ania's kidnappers were heading to a remote planet with a few small settlements where they could refuel without raising suspicion. Jao was uncertain whether Ania's kidnappers were bounty hunters and wondered if they would have gone to the nearest Triumvirate official. Still doubting Ania's innocence, Jao suggested that she might have deliberately wanted to disappear due to the gravity of her alleged crime and the substantial bounty on her head. However, Sauk refused to believe in her guilt until they heard her version of the story. He told Jao that nothing they had seen in AG's memory had convinced him to change his mind.
When Jao suggested that AG-37's memories shed a different light on the situation, Sauk questioned the Knight why he was so disturbed by the murder of the Imperial Knight, considering that he had left the Order behind. In response, Jao explained that while the Force was guiding him in unexpected directions, he had not forgotten his vows. He reiterated that Teemen Alton was a Knight he had admired and respected and would not take his murder lightly. AG-37 clarified that what they had seen in his memory records was circumstantial. He added that extreme positions often led people to make extreme decisions, resulting in extreme outcomes, especially when based on incomplete information. AG-37 then proceeded to narrow down Ania and her captor's possible locations. He reasoned that they lacked sufficient fuel, credits, or time to search every possible system for any sign of Ania.
When Sauk casually remarked that they needed someone who could foresee the future and magically locate friends, Jao commented that non-Force sensitive individuals did not fully understand the limitations of the Force. AG-37 then joined the conversation, commenting that while he lacked sensors that could tap into the Force, he understood something that both Jao and Sauk did not: that circumstances and sentients changed. He argued that while a vision could offer a glimpse of the future, it could never reveal the roles the actors were playing. He contended that Ania's past might have shaped her but did not define her. In the end, AG-37 reasoned that seeing into Ania's future would be unhelpful without fully understanding her past. Following an extended philosophical discussion between Jao and Sauk, the three companions agreed to set aside their differences regarding Ania's alleged guilt or innocence and to uncover the truth behind the matter.

Running short on fuel, AG-37 and his companions made their way to the nearest planet within jumping distance: a desolate world where it rained glass and acid. Upon landing, they discovered Ramid's wrecked starship but found no sign of Ania or her estranged lover Ramid. However, Sauk discovered a faint trail of blood leading down the gangplank. Jao reasoned that Ania and Ramid could not have traveled far on foot, especially if one of them was injured. Sauk found a storage compartment for a speeder bike aboard the starship but found that the bike was missing. AG-37 deduced that Ania and Ramid had traveled a considerable distance and suggested scanning the ground from the air. Before they could begin their search, the skies began to rain glass, and the three companions were forced to seek refuge in AG-37's freighter. Since Jao and Sauk's skin could not withstand the glass, AG-37 continued the rescue mission alone. His metallic body shielded him from the sharp glass. Before his departure, AG-37 instructed his friends to be ready to take off as soon as the storm subsided.
After traveling some distance, AG-37 spotted Ania and Ramid departing on their speeder bike for a settlement. He observed that Ania was no longer a captive and was willingly accompanying Ramid. By this point, Ania and Ramid had resolved their differences after being forced to cooperate to evade a mysterious bounty hunter, who was hunting for Ania. This bounty hunter was Teemen Alton's actual murderer and sought to frame Ania for a crime she had never committed. He contacted Jao and Sauk to share the good news. By then, Jao had been contacted by his mentor Master Yalta Val, who had discovered evidence exonerating Ania of Teemen Alton's murder. While AG-37 continued to the settlement on foot, Jao and Sauk flew AG-37's freighter to rendezvous at the settlement. When Ania and Ramid arrived at the settlement, they were ambushed by the bounty hunter, who managed to kill Ramid. However, Jao arrived just in time and fought the bounty hunter, allowing Ania to escape through a window. Unfortunately, Ania was caught in an acid storm.
Ania managed to shield herself from the acidic rain by pulling her white jacket over her head. Fortunately for Ania, AG-37 arrived in time and carried her to safety, instructing her not to speak or open her eyes due to the acid rain. AG-37 put himself at great risk since the acid rain damaged his mechanical body's internal systems. After bringing Ania to safety, AG-37 instructed her to shut him down in order to preserve his memories. AG-37 was unable to shut down his own systems because his relay was fried. Ania reluctantly complied with AG-37's wishes, and she was recaptured by the bounty hunter, who attempted to frame her for Alton's murder by severing her left hand and implant her prosthetic hand on Ania. Before she could complete her work, she was ambushed by Jao. Following a brief but intense duel, Ania managed to kill her stalker by using a remote to summon the bounty hunter's Tie bomber. The bounty hunter was crushed under the weight of her own starship.
Despite the defeat of the bounty hunter, Ania's problems were not yet over. An Imperial shuttle landed a squad of stormtroopers who proceeded to arrest Ania for her alleged crime. Jao and Sauk were unable to stop them and could only watch as they apprehended Ania for trial on Coruscant, the galactic capital. After Jao recovered the damaged AG-37, he and Sauk traveled to Coruscant in order to clear Ania's name. During the journey, Sauk presumably repaired AG-37 and restored him to full working capacity. Upon arriving in Coruscant, Jao managed to help gain Ania's acquittal by presenting the deceased bounty hunter's hand, confirming that Ania was innocent of the murder of Teemen Alton. Following her acquittal, Ania was reunited with her companions Sauk, AG-37, and their Imperial communications droid. AG-37 was gratified that things had gone in Ania's favor. However, this good news was overshadowed by Jao's arrest and imprisonment for deserting the Imperial Knights, a crime that carried the death penalty.

The next day, Ania Solo unsuccessfully sought an audience with Empress Marasiah Fel to secure clemency for Jao Assam. Rebuffed, she returned to the hangar bay where AG-37's freighter was docked. While conversing with AG-37 and Sauk, Ania was adamant that they would not abandon Jao and was incensed by Empress Fel's refusal to see her. When Sauk tried to rationalize the Empress' actions by suggesting that she was preoccupied with other matters, Ania revealed to Sauk and AG-37 that she was a distant relative of Empress Fel. At that moment, AG-37 received word over the nets that Jao had escaped. Before the three companions had time to absorb this news, a squad of stormtroopers arrived and took Ania away for a private audience with Empress Fel. During the meeting, AG-37 and Sauk waited aboard AG-37's freighter.
During the Solo-Fel meeting, the Empress confided in Ania that she was certain that Jao Assam had not fallen to the dark side of the Force but was rather following his vows as he saw fit. However, the Empress was unwilling to break the law by showing favoritism to Jao, who had deserted the Order to hunt down the rogue Sith. Despite this predicament, the Empress saw a solution to Jao's legal situation. If Ania were to find Jao and bring him back, she would be willing to consider finding a loophole around the desertion charges. Empress Fel assigned Ania and her companions with a platoon of Trandoshan stormtroopers and sent them to rescue Jao. Ania agreed to lead the mission provided the Empress allowed her to use AG-37's freighter instead of the Triumvirate's ships. After Ania briefed the stormtroopers, AG-37's freighter departed into hyperspace to find Jao. They had no clue to his destination so they decided to wait for Jao to transmit a signal to them.
Meanwhile, Jao and Wredd landed on the floating world of Mala. On Mala, Wredd tricked Jao into transmitting Mala's coordinates to Ania and her companions, intending to lure both the One Sith and Empress Fel into a trap. As planned, Jao's Imperial comm droid, which was stationed aboard AG-37's freighter, received the transmission. Ania intended to change their course as soon as the comm droid had finished feeding the coordinates to the freighter's navigation computer. AG-37 was skeptical of finding anything at their location since it was far from any star system or any current hyperspace route. However, Ania was adamant that there was something on the other side of that hyperspace jump since that was where Jao's message had originated from. Sauk was afraid that it was a trap but Ania insisted on going there since they had no other leads on Jao. In the end, AG-37 and Sauk complied with Ania's suggestion and changed the freighter's course.
While Ania went to the passenger compartment to brief the Trandoshan stormtroopers about their change of plans, AG-37 and Sauk manned the cockpit. By the time Ania had finished her briefing, AG-37's freighter was entering the orbit of the floating world of Mala. AG-37 reasoned that this rogue planet was not listed on the official star charts. The three companions were shocked and astounded to discover that their destination was no other that the rogue planet which they had encountered during the Carreras Incident.

As AG-37's freighter descended into Mala's atmosphere, AG-37 reminded Ania to brief the stormtrooper squad. While Sauk was unsure where to begin their hunt for Jao and Wredd, Ania reasoned that their quarries were near the wrecked Carreras G51 communications array, which had come to rest on Mala's barren surface following the Carreras Incident. AG-37 took part in the search party which explored the cave near the wrecked communications array. Ania ordered her stormtroopers not to send any offworld communications but the commanding officer, Blue Two, hung back from the rest of the group and sent Ania's coordinates to Empress Fel. They quickly found that Jao had been left strung up in the cave and Ania freed him. However, Jao quickly revealed that Darth Wredd had tricked him into sending the coordinates to Ania's rescue mission in order to lure the Imperials to Mala. There was also no sign of the elusive Darth Wredd.
A large fleet of civilian ships landed on Mala's surface. This turned out to be a large army of One Sith acolytes led by the Twi'lek diplomat Fanoste, who demanded that Ania hand over Darth Wredd. The One Sith sought to kill and hunt down Darth Wredd since his insurgency sabotaged their plans to infiltrate governments and corporations across the galaxy in order to restore their "golden age." Fueled by blood lust and hatred, the One Sith horde advanced on Ania's party. During the ensuing fighting, AG-37 opened fire on the One Sith. Darth Wredd soon resurfaced and helped Ania's party to fight off the One Sith; even handing Jao a Sith lightsaber. AG-37 quickly recognized that they were outnumbered and urged them to retreat in order to find cover. While AG-37 and the rest of Ania's party retreated, Darth Wredd and Jao Assam combined their Force powers to bring down a large piece of the communication array's wreckage on the advancing Sith horde, delaying them.
Wredd and Jao's actions allowed AG-37 and his companions to find cover within the wrecked communications array. AG-37 was present when Sauk accused Blue Two of bringing the One Sith down on them. The Trandoshan stormtrooper vehemently denied this charge and insisted that he would never betray his Emperor. Wredd and Jao arrived and an argument ensued between the rogue Sith and the Imperial Knight. Wredd tried to rationalize his actions by claiming that he was doing the Triumvirate a service by rooting out Sith infiltrators. Wredd also tried to recruit Jao into his new Sith Order, which would be based on the Rule of Two, but was rebuffed by the young Knight. While they were temporary allies since they were fighting against the One Sith, Jao insisted that he was loyal to the Empress and would never join the Dark Side. At that point, the One Sith caught up with them. Despite fighting back, they were soon outnumbered by the One Sith.

Fortunately, AG-37 and his companions were saved by the arrival of Empress Fel and an army of Imperial Knights. After the One Sith rejected an ultimatum that they surrender, the Imperial Knights launched a ground assault on Mala. This led to a bloody and violent battle known as the Battle of the Floating World. During the fighting, AG-37 and his companions helped to deliver insect bites against the One Sith. While AG-37 fired his twin blaster rifles at the Sith, Ania and Jao helped the Imperial Knights by blowing up a Chadra-Fan Lander. Darth Wredd also aided the Imperial Knights by killing numerous Sith. Despite his help, the Imperials distrusted him because they knew that a Sith was only motivated by hatred. Darth Wredd's actions were fueled by his desire for vengeance against the One Sith, who had killed his family and destroyed his homeworld of Mala. He intended to destroy the One Sith completely.
By dusk, the Imperial Knights had gained the upper hand over the One Sith and slaughtered most of their opponents. The battlefield was littered with thousands of corpses. AG-37 commented that the number of dead Sith was astonishing and pondered whether these were the last One Sith acolytes left in hiding. While Empress Fel was busy tending to the wounded Imperial Knights, she was attacked and stabbed in the chest by Darth Wredd. Before he could finish off his work, he was attacked and pursued by Jao Assam, who succeeded in slicing off both his hands. Despite severely incapacitating his opponent, Jao refused to kill the rogue Sith, knowing that Wredd wanted to trick him into slaying him in anger in order to lead him down to the Dark Side. In the end, Ania resolved this dilemma by shooting Darth Wredd with a heavy repeating blaster, sending him to his death and destroying the last (known to the galaxy at large) Sith.
Following the battle, Empress Fel received medical treatment and survived her wounds. AG-37, Ania, and Sauk were also present when Jao gave a post-mortem of the battle. When Sauk expressed his bemusement at why Wredd would turn on the Empress at the last minute, Jao explained that Darth Wredd had completely given himself over to the Dark Side. However, Wredd still hated the Sith for what they had done to him, his family, and his homeworld of Mala. He wanted to destroy them and thus he engineered the Battle of the Floating World. However, despite the seeming success of his plan, there was still one Sith left on the planet: himself. Having delved too deeply into the Dark Side to believe in redemption, he had deliberately committed suicide by goading Jao into attacking him. Wredd thus almost succeeded in creating a new Sith in the process.

Following the events that transpired on Mala, Ania Solo, accompanied by her allies, made their way back to Coruscant. Ania managed to get a meeting with Empress Marasiah Fel, who was confined to her bed due to injuries she was recovering from. Antares Draco, in a show of gratitude to the junk dealer for saving his life on Mala, permitted Ania's entry into Empress Fel's medical bay. Fel, as a token of her appreciation for Ania's assistance and bravery, proposed making her the captain of her personal guard. Ania, however, turned down the offer but successfully persuaded the Empress to withdraw the desertion charges against Jao Assam. Jao was also granted permission to leave the Imperial Knights and join Ania and her companions on their galactic adventures. After the meeting concluded, AG-37 remarked that Ania would always be welcome in the Empress's presence.
Before their departure, AG-37's freighter gained two new members—Jao Assam and his Imperial comm droid, which had previously belonged to Yalta Val but had become a close friend of Jao during their travels. After a heartfelt farewell between Jao and his former mentor Master Val, AG-37's freighter jumped into hyperspace. By the subsequent year, AG-37 and his crew were journeying across the galaxy. While visiting a cantina, Sauk successfully negotiated the purchase of a refurbished stabilizing coil from Jariah Syn alongside his associates Cade Skywalker and Deliah Blue. Sauk's acquisition of the starship component proved timely, as Sauk, Ania, Jao, and AG-37 found themselves under attack.

AG-37, an IG-series assassin droid, possessed masculine programming. In contrast to typical assassin droids, AG-37 displayed a kind and empathetic nature. As an example, he allowed Ania Solo to travel on his freighter to the Carreras system without charge, honoring an old promise he'd made to Ania's ancestor, Han Solo. This demonstrated AG-37's commitment to fulfilling promises, regardless of how old they were. He viewed the Jedi as a force for harmony and justice within the galaxy and initially held optimistic views of the new Galactic Triumvirate, the galactic government formed after the Second Imperial Civil War. AG-37 also possessed the ability to discern whether someone posed a threat or not. He recognized that Jao Assam, the Imperial Knight, meant them no harm since he did not desire their deaths. Jao commented that it was the first time he had heard an assassin droid advocate restraint.
Having been operational for over a century, AG-37 valued his memories, as they played a role in shaping his personality and character. Due to his extensive operational history, he possessed a deeper understanding of long-deceased individuals from bygone eras, particularly Ania's ancestor, Han Solo. AG-37 also demonstrated a willingness to sacrifice himself to protect others. This was evident when he urged Ania to leave him behind, allowing her and Sauk more time to escape the Carreras communications array, which was on a collision course with the floating planet of Mala. Ultimately, Ania decided that AG-37's life was worth saving and disregarded his pleas. On another occasion, he willingly risked damage to his own mechanical frame and internal systems to shield Ania from a downpour of acid rain. While this action saved Ania's life, the acid rain caused significant damage to his internal systems, compelling Ania to shut him down to preserve her memories.
Despite his combat prowess, AG-37 approached combat cautiously, preferring to develop a strategic plan of action. AG-37 possessed the wisdom to recognize that he and his companions were outmatched against Darth Wredd and Darth Luft's syndicate on two separate occasions. Within Ania's group, he served as a voice of reason and caution. While AG-37 had limited knowledge of Ania's life prior to her kidnapping for the alleged murder of an Imperial Knight, he refrained from jumping to conclusions about her guilt until he had solid evidence. He also exhibited optimism, as demonstrated when he welcomed Ania's acquittal and when he (incorrectly) stated that all of the Sith in hiding had been eliminated during the Battle of the Floating World.
Being a droid, AG-37 was technically not a living organism. Consequently, he could not be killed unless his memory banks were erased or destroyed. In one instance, AG-37 survived being bisected by the rogue Sith Darth Wredd. However, Sauk and the Imperial Navy engineers on the Animus repaired him. AG-37's memory banks contained over a century's worth of memories. Therefore, he retained memories of meeting Han Solo and Chewbacca. Furthermore, AG-37 was a skilled starship pilot who owned his own freighter, which he used to transport goods across the galaxy. AG-37 was a proficient marksman and adept at using blaster rifles.
AG-37 made his debut as a protagonist in Corinna Bechko and Gabriel Hardman's Star Wars: Legacy Volume 2 comic series, a spin-off of Dark Horse Comics' popular Star Wars: Legacy comic series. AG-37 was well-received by followers of the second Legacy comic series. One such fan, Stephen Howard, drew comparisons between AG-37 and IG-88, an assassin droid who first appeared in The Empire Strikes Back; praising his captivating personality and compassion for the main protagonist, Ania Solo. In response, the series' editor, Randy Stradley, noted that AG-37 and IG-88 possessed different strengths and capabilities. Stradley also clarified that AG-37's freighter had not undergone the same level of modification as Han Solo's renowned Millennium Falcon because AG-37 generally operated within the bounds of the law. Stradley also refuted fan theories suggesting that AG-37 was somehow the astromech droid R2-D2's "spirit" reincarnated into a new body. He affirmed that AG-37 and R2-D2 were distinct entities and suggested that AG-37 may have encountered R2-D2 at some point during his existence.