What If History Had Taken a Different Turn? Building Anamnesis-AI, a Multi-Agent Decision Intelligence PlatformWhat happens when a question that has fascinated humanity for centuries meets a system of AI agents designed to explore it? For our team, it became a three-month journey into alternate histories, competing perspectives, and the difficult art of making artificial intelligence reason beyond a single answer.medium.com/media/3f2e99de3605b564ffbb6264a5ab7a7a/hrefWe Have Always Wanted to Know: What If?There is a peculiar habit of the human mind: it revisits doors that have already closed.
What if I had made a different choice? What if a particular event had never happened? What if a country had followed a different policy, a discovery had arrived a century earlier, or a society had organized itself around entirely different values?
We ask these questions about our own lives, but we also ask them about the world. They live in historical fiction, scientific speculation, political debates, and the stories we tell ourselves about the future. Behind all of them is an old human desire: to look beyond the reality we know and explore possibilities we cannot observe.
For centuries, we have imagined time machines as a way to satisfy that desire. But what if we could explore alternative paths without travelling through time?
Not by pretending that an imagined world is real, and not by asking a chatbot to produce an interesting story, but by examining a scenario through different disciplines, challenging its assumptions, tracing its consequences, and understanding why a particular outcome might be plausible.
That question became the starting point for Anamnesis-AI.
We aimed to build a system that could take a single “what if?” and turn it into a structured exploration of possible worlds.
The Problem with a Single AnswerImagine asking an ordinary chatbot: What if the world had developed into a society where women held greater social, economic, and political power than men?
You might receive an engaging response about education, employment, family structures, or political leadership. It could be thoughtful and well-written. But a question of this scale reaches far beyond any single discipline.
How might healthcare have developed? Would economic systems have evolved differently? What consequences might emerge for technology, climate policy, governance, or international relations? Which historical conditions would need to change before such a society could emerge? And which of the imagined consequences have a defensible basis, rather than simply sounding convincing?
The challenge is not merely generating more text. It is examining a complex scenario from perspectives that can challenge, complement, and sometimes contradict one another.
A historian may identify a constraint that a political analyst overlooks. An economist may question whether a proposed social change is financially sustainable. A climate specialist may uncover consequences that are invisible in a purely political explanation.
These perspectives do not automatically produce the correct answer. But bringing them into a shared process creates more opportunities to identify assumptions, explore connections, and question conclusions.
That was the distinction we wanted Anamnesis-AI to make.
Instead of treating a hypothetical scenario as a question requiring one answer, we wanted to treat it as a problem requiring multiple perspectives and a connected chain of reasoning.
♦Anamnesis-AI: Reimagine the Past. Simulate the Future.From an Idea to a Working SystemThe idea existed before the development process became concrete. Our curiosity about time travel and alternate histories had already made me wonder whether AI could help people explore such possibilities in a more systematic way.
An opportunity to participate in Microsoft’s AI Agentic AI Hackathon, which I had learned about roughly three months earlier, gave us a reason to push that idea toward a working product.
We were a team of five. Our responsibilities included database development, frontend development, research, concept testing, and the architecture and backend work needed to bring the system together. I took the lead in shaping the product’s direction and coordinating its development, while contributing primarily to the architecture and AI pipeline.
The frontend began taking shape within the first month. The more difficult work, however, was making the intelligence behind it function as intended.
A polished interface can make an idea look complete. A working AI system has to earn that appearance.
We needed agents that could examine the same scenario without simply repeating one another. We needed the output to remain coherent across different domains. We needed evidence to inform the generated conclusions. We needed a way to question weak reasoning, and we needed the entire process to work within the practical limits of a student-built project.
For nearly three months, I spent twelve or more hours a day working on the project.
There were moments when I wondered whether we had made the problem unnecessarily difficult. Could eight specialist agents actually contribute something meaningful? Would they contradict one another? Would the final report become a collection of disconnected opinions? Would the model invent convincing explanations that could not be supported by the available information?
The idea was exciting precisely because it was ambitious. That also made it frightening.
But our team had already invested its time and effort. The frontend was taking shape, our teammates had completed their parts, and the product was beginning to feel tangible. I felt that if the hardest part was the backend and AI pipeline, I needed to keep pushing until we could see whether the idea could work.
The challenge was no longer just imagining a system. It was making the system function.
♦Eight specialist domains: economics, technology, society, climate, politics, energy, healthcare, and demographicsEight Perspectives, One Connected ScenarioAt the centre of Anamnesis-AI is a multi-agent architecture.
In simple terms, a multi-agent AI system uses multiple AI agents with different responsibilities to work through a problem. Rather than relying on one general-purpose response, the system organizes its work so that specialized perspectives can contribute to the same scenario.
Anamnesis-AI brings together eight specialist domains: economics, technology, society, climate, politics, energy, healthcare, and demographics. Supporting roles, including a Historian, a Critic, and a Narrator, help establish context, examine reasoning, and bring the results together.
Each role contributes a different kind of analysis.
The Historian establishes a historical baseline. The specialist agents examine the scenario through their respective domains. Their conclusions become part of a wider discussion, in which subsequent agents can consider what has already been proposed rather than treating the question as if no analysis has taken place.
An economic conclusion, for example, may influence how a political or social consequence is examined. A technological possibility may require scrutiny of its economic feasibility. A social transformation may depend on historical conditions that cannot simply be ignored.
The aim is to make these perspectives interact, not merely sit beside one another.
The Critic provides another layer of scrutiny by examining the reasoning for weaknesses and gaps. When the system’s evaluation calls for it, the workflow can return for further consideration before the Narrator synthesizes the results into a coherent report.
This is important because multiple agents do not automatically mean better reasoning. Eight agents can still make eight mistakes. They can share assumptions, overlook the same evidence, or generate conclusions that sound plausible without being adequately supported.
The value lies in how their work is connected, reviewed, and presented — not simply in the number of agents involved.
Giving Imagination Something to Stand OnA hypothetical scenario has a special problem: its central premise may never have occurred in reality.
If we ask what would happen if a historical event had unfolded differently, there is no complete record of the world that would have followed. The system must reason from what is known while acknowledging that the proposed future or alternate past is not directly observable.
This is where retrieval-augmented generation, commonly called RAG, becomes important.
A conventional language model generates responses from patterns learned during training and the context provided to it. A RAG-enabled system can also retrieve relevant material from an external knowledge collection and use that material while generating its response.
Anamnesis-AI uses a retrieval pipeline that draws on knowledge sources documented in the project, including resources such as Wikipedia, arXiv, the World Bank, UN Data, NASA, and NOAA.
These sources serve different purposes. Historical material can help establish context. Economic and demographic information can inform assessments of social change. Scientific and environmental sources can provide relevant evidence when a scenario involves technology, energy, or climate.
The important distinction is between using evidence to inform a conclusion and treating evidence as proof of an imagined outcome.
A source might establish that a particular economic condition existed, that a technology had certain limitations, or that a historical event produced a documented consequence. It cannot, by itself, prove exactly what would have happened in a world that never existed.
Anamnesis-AI is designed to explore those possibilities using available evidence and connected reasoning.
The goal is not to turn speculation into certainty. It is to make speculation more structured, more transparent, and easier to examine.
♦Plausibility scoring and critic-based checks offer additional signals for examining a generated scenario.When We First Saw the Idea Come AliveOne of the most memorable moments in development came when we explored a question about a world shaped by greater female empowerment rather than the patriarchal structures that have characterized many societies throughout history.
What interested me was not simply the question itself, but the range of perspectives it invited.
The scenario could be examined through healthcare, technology, economics, climate, history, sociology, and other domains. Each perspective could contribute a different line of inquiry, and the combined report could reveal relationships that a single, narrowly focused answer might miss.
That was the moment the project began to feel like more than an interface wrapped around an AI response.
It felt like a way to give curiosity a structure.
Of course, such a scenario cannot tell us with certainty how a radically different society would have developed. Gender, power, institutions, culture, resources, and historical circumstances interact in complicated ways. Any generated account remains a reasoned exploration of possibilities, not a definitive reconstruction of an alternate world.
But the experience demonstrated what we had been working toward: a question could open into a connected examination of many dimensions of human life.
And that is where the idea became exciting — not because the system could answer every question, but because it could help us ask better ones.
Why the System Does Not Need Every Agent Every TimeBuilding a multi-agent system introduces a practical problem that is easy to overlook: every additional step can consume time, computation, and API resources.
During development, we relied on free-tier services wherever possible. That meant working within usage limits that could make a full agent workflow difficult to run repeatedly.
A scenario involving several agents, document retrieval, review, and synthesis can generate many model requests. In our experience, the available free-tier limits were sometimes restrictive enough that a single development day could be consumed by testing the pipeline.
We had to think not only about what the system should do, but also about which work was actually necessary.
Consider a question about a proposed change in fuel pricing. The economic, political, and social consequences might be directly relevant. Energy analysis could also matter. A detailed climate analysis, however, may not contribute much to every version of that question.
Conversely, a scenario about a major change in energy infrastructure could require several of those perspectives at once.
Anamnesis-AI therefore incorporates relevance-based agent selection. The system considers the scenario and the availability of relevant retrieved material to determine which specialist agents should participate. Some questions need a broad analysis; others can be handled by a narrower set of relevant perspectives.
This approach helps avoid unnecessary work while keeping the analysis focused on the question being asked.
It is a practical engineering lesson: a system does not become more intelligent simply by doing more work. Sometimes, better orchestration means knowing what not to invoke.
We also had to account for the possibility that an API or model would become unavailable or hit a usage limit. Building fallback and failover paths became part of making the system usable rather than merely demonstrating it under ideal conditions.
For a student team working without a dedicated infrastructure budget, these constraints were not incidental. They shaped the product.
♦From a user’s question to retrieval, specialist analysis, critical review, and a synthesized report.A Report You Can Inspect, Not Just ReadA well-written report can be persuasive even when its reasoning is weak. That is especially dangerous when AI generates a detailed explanation with confident language.
We wanted users to have a way to look beyond the final prose.
Anamnesis-AI includes percentage-based plausibility scoring intended to indicate how plausible the generated report appears within the system’s assessment. The score gives users an additional signal when interpreting the result.
It should not be mistaken for a statistically validated probability that the scenario will happen, or a guarantee that the report is correct. A percentage cannot eliminate uncertainty, and a high score should never replace critical examination.
The more important feature is the ability to inspect individual claims.
Within the divergence graph, users can click on individual timeline events and claims to examine the associated agent’s conclusion and the basis provided for it. Rather than encountering an entirely opaque narrative, they can follow a claim back into the reasoning presented by the system.
This matters because a report is more useful when its conclusions can be questioned.
If an event seems implausible, a user can investigate the explanation behind it. If a claim rests on a questionable assumption, the user has a starting point for examining that assumption. If a source does not adequately support the conclusion, that gap becomes something to evaluate rather than something hidden by fluent writing.
Traceability does not make an AI system infallible. Retrieved documents can be incomplete, interpretations can be mistaken, and evidence can be used to support a conclusion more strongly than it deserves.
But making the basis of a claim inspectable gives users a more meaningful role than simply accepting or rejecting the final answer.
It turns reading into examination.
A Timeline That Can Take More Than One PathAnamnesis-AI also presents scenarios through an interactive timeline and divergence graph.
A hypothetical event rarely has only one consequence. One development may influence another, which may alter the conditions for a third. Over time, these relationships can produce a chain of events that is difficult to understand through a long block of text alone.
The timeline helps organize that chain into individual events. The divergence graph provides a way to explore how a scenario might branch from a different point in its development.
Users can also explore alternative paths by selecting a divergence point. The system preserves the events preceding that point and regenerates the subsequent part of the timeline around the changed direction.
The distinction is useful: changing one assumption should not require pretending that everything before it never happened.
Suppose a user is exploring an alternate historical event and wants to understand what might happen if a particular political decision were reversed several years later. The user can examine the preceding timeline, choose the point of divergence, and explore how the consequences might change.
The result is not a recovered timeline from a parallel universe. It is a generated scenario that makes its assumptions and consequences easier to explore.
Alongside the timeline, the platform provides visual ways to examine impacts, relationships, risks, and decisions. Depending on the scenario, these include impact visualizations, causal relationships, decision trees, and geographic views.
These features matter because complex scenarios are not always best understood as essays. Sometimes, a timeline reveals the sequence. Sometimes, a graph reveals the relationships. Sometimes, a map reveals the geographic dimension.
The interface is intended to help users move between these ways of understanding the same problem.
From Alternate History to Real-World DecisionsAlthough alternate history is an intuitive way to experience Anamnesis-AI, the idea extends beyond imagining a different past.
Consider a policymaker or planner examining a proposed increase in fuel prices. The question is not simply whether the decision is good or bad. It is what consequences might follow, which groups might be affected, how economic and social effects could interact, and what risks deserve further investigation.
A structured scenario can help organize these questions.
A user could examine the economic implications, consider political and social responses, investigate energy-related consequences, and explore possible downstream effects. Geographic and demographic context can also be customized to make a scenario more relevant to a particular region; when no region is specified, the system can begin with a global perspective.
The same general approach can be applied to questions about infrastructure, technological adoption, social change, energy transitions, and alternative historical developments.
For everyday users, it offers a way to explore questions that have always fascinated them. For students, it can provide a starting point for investigating relationships across disciplines. For planners and decision-makers, it can help organize possible consequences and identify assumptions that need closer scrutiny.
But there is an important boundary.
Anamnesis-AI is a scenario-exploration and decision-support tool, not an oracle.
Its outputs should not be treated as validated forecasts, and its plausibility score is not a substitute for statistical modelling, expert review, or domain-specific evidence. High-stakes decisions still require qualified people, reliable data, and methods appropriate to the decision being made.
The system’s purpose is to help users explore possibilities, understand relationships, and ask more informed follow-up questions — not to remove the uncertainty inherent in the future.
♦Retrieval helps provide relevant context for scenario generation.What Building It Taught MeThe most demanding part of this project was not any single model or framework. It was making all the pieces work together in a way that served the original idea.
A frontend can display a report. An AI model can generate a paragraph. A database can store information. But bringing those components together into a system that retrieves information, coordinates specialist agents, evaluates their reasoning, handles failures, and presents a connected scenario requires a different kind of thinking.
It requires considering the entire journey from a user’s question to the conclusion they eventually read.
It also requires accepting that a compelling idea is only the beginning. The real work lies in translating it into a system, discovering where it fails, and improving it without losing sight of why it mattered in the first place.
I spent months worrying that our agents might not agree, that our reasoning pipeline might become too complicated, or that the whole idea might remain something that sounded better in conversation than it worked in practice.
We had limited resources, demanding technical problems, and no guarantee that our original vision would survive contact with implementation.
What kept me going was the thought that people might one day enter their own questions and experience what we had been trying to build: not merely an answer, but a structured exploration of what could follow.
Our team brought together different responsibilities and contributions to make that possible. Anamnesis-AI is the result of that shared effort, sustained through the less visible work behind the interface.
It is not a machine that knows every possible future. It is an attempt to build a better environment for examining possibilities.
And I think that distinction matters.
♦Five people, different responsibilities, one shared attempt to make a big idea work.The Future Still Belongs to Your QuestionsHumanity has imagined time travel for generations. We have written stories about worlds shaped by different decisions, debated historical turning points, and wondered whether a small change could transform an entire civilization.
Those questions are not going away. If anything, they become more consequential as our choices grow more interconnected.
Artificial intelligence gives us new ways to investigate them, but the important question is not simply how much text a model can generate. It is whether we can build systems that help us examine the reasoning, understand the assumptions, compare perspectives, and remain curious without becoming careless about evidence.
That is the direction we wanted to explore with Anamnesis-AI.
The project began with a fascination for “what if?” It became a working multi-agent system through months of architecture, experimentation, debugging, and persistence. Along the way, it taught me that building something meaningful often means learning how to make an imaginative idea accountable to the real world.
There are still limitations to acknowledge and improvements to make. That is part of building any complex AI product. But the system is available to explore, and I would rather invite people to question it, test it, and discover its possibilities than leave it as an idea that only our team has experienced.
What would you ask if you could explore an alternative path through history — or examine the possible consequences of a decision before it is made?
Visit Anamnesis-AI, enter your own “what if?”, and explore where the scenario leads. Try an alternate-history question, investigate a policy decision, follow the timeline, and inspect the claims behind the generated events.
Then share what you discover. Tell us where the reasoning is useful, where it falls short, and what you would like to explore next.
Because the most interesting part of asking “what if?” has never been the question alone.
It is discovering how many possibilities begin to emerge when we take that question seriously.
Aryama Srivastav
GitHub repo — github.com/Anamnesis-AI-Org/Anamnesis-AI/tree/main (you can visit live URL from the repo)
LinkedIn — www.linkedin.com/in/aryama-srivastav/
♦What If History Had Taken a Different Turn? was originally published in Code Like A Girl on Medium, where people are continuing the conversation by highlighting and responding to this story.