Adam Simulation is a Thought Simulator that chains conversational LLM Thoughts together. Simulations can be personal conversations or conversations within a group. You can provide names and descriptions of participants in a group through a frontend react application as shown below. Try for yourself in the demo here.
- The user enters the name and description of a member by clicking the add button.


- After adding the names and descriptions for all the members, the user can click the submit button to start the simulation. The project then runs the simulation on a backend server which streams the conversation to the frontend using a websocket connection.
-
Generate your
<OPENAI API KEY>
from the Open AI API and paste it in /src/constants/index.ts:export const OPENAI_API_KEY = "<OPENAI API KEY>";
-
Install the required dependencies:
yarn
-
To test the simulation edit the topic and members in a group in /src/test.ts, then run:
yarn test
-
To run the Backend Websocket Server:
yarn dev
Lakshya Gupta and Aadeesh Sharma had the idea for this project when they were thinking about train of thought, and how one thought can lead to other eventually inventing novel ideas. We wanted to replicate that process using an LLM such as OpenAI's GPT-3 by enabling the LLM to talk to itself.
While the project itself does have limited practical use, We still worked on it as an interesting experiment trying to simulate thoughts using LLMs and essentially replicate consciousness within them, We also saw it as a learning opportunity to explore LLMs GPT-3 and prompt engineering.
Here is an example of a conversation between 5 members in a group.
