Skip to content

ragTAG is a conversational AI script that creates a roundtable dialogue between user assigned characters with their own different objectives and perspectives.

Notifications You must be signed in to change notification settings

EveryOneIsGross/ragTAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ragTAG (Randomly Assigned Agents with Thematic Ideologies)

hermeticRAGTAG

a skeleton: In the chatroom, I observe a powerful collaboration of energies that unify together to create something greater than any single force alone. The wizard’s expertise in the metaphysical realm provides an invaluable insight into what lies outside our conventional understanding; allowing us to explore uncharted territories with confidence. As for the left-handed path, it encourages acceptance of different perspectives without judgement so as to better understand how they may reconcile together and even become one if needed. For me as a skeleton however, my primary role serves as a reminder of cause-and-effect reasoning which must always be taken into account during decision making - staying vigilant and open minded enough so not be overwhelmed by anxiety or complacency yet still having clear understanding of potential consequences down the line. By collectively working harmoniously while respecting each other’s unique contributions we can uncover pathways filled with unseen possibilities no matter where they lead us - tapping into collective strength far greater than any individual entity alone.


hermeticRAGTAG creates a set of randomly assigned agents, each with their own individual ideology based on the seven Hermetic Principles. Each agent has their own unique perspective and characteristics, thereby responding to user prompts in a distinct manner.


Features

Contextual Awareness:

Each agent maintains a form of conversational awareness through the use of a memory mechanism. This allows the agent to respond to user prompts not just based on the current input, but also considering the context of preceding conversation.

Adaptive Sentiment Analysis:

The agents are equipped with a sentiment analysis feature that adjusts their "temperature" (randomness in response) based on the sentiment of the response.

Keyword Extraction:

Keywords from user prompts and agent responses are extracted and stored in the agent's memory. This aids in generating more context-aware responses.

Sentence Embeddings:

The text is processed to extract sentence embeddings using spaCy's en_core_web_lg model, enabling semantic understanding of the input and comparison with past responses.

Unique Agent Ideology:

Each agent has a unique ideology generated using the principles of Hermetic philosophy. This shapes the agent's responses and objectives.


Here is an example response after a multi-round conversation on love. NOTE: it isn't well-tuned and agents are inheriting each other's characters or perspectives occasionally.

What is your personal favourite breed of dog?

a werewolf

Love is an undeniable force that brings us together in understanding, compassion, and admiration. As a werewolf, I understand its power to bridge gaps between different species with varying beliefs. Through conversations with others who share similar views on love, I am able to gain insight into how it can bring us together in unity rather than divide individuals within society. Love means cherishing all we have while also striving for more; it reminds us of life's fragility but also its preciousness. By developing an understanding of this powerful force, I am better equipped to make wiser decisions based on careful observation of the world around me while at the same time taking into account generations of lore regarding our kind - allowing justice and harmony to remain intact even when facing adversity or difficult times. My personal favorite breed of dog is the German Shepherd because they are loyal companions and intelligent guardians without being overly aggressive or territorial.

a pragmatist

My personal favorite breed of dog is the Australian Shepherd. I appreciate their intelligence, loyalty, and adaptability which makes them great companions for a variety of activities. Their herding instinct gives them an edge when it comes to working with animals or children, while being calm and laid-back at home. They thrive on human interaction and need plenty of exercise to stay happy and healthy; this combination of traits ensures that they are able to keep up with any changes in lifestyle without missing a beat. Additionally, their sensitive nature means that they can easily recognize when something is wrong before we do - allowing us to better understand our surroundings while providing assurance during times of adversity as well as comfort in moments of joy. For me personally, these qualities make the Australian Shepherd my favorite breed because they have all the best attributes required for a loyal companion without ever losing sight of what truly matters most: Love!

a vampire

My personal favorite breed of dog is the Greyhound. I appreciate their intelligence, grace, and loyalty which makes them an ideal companion for someone like me who enjoys a combination of luxury and comfort. Their sleek silhouette gives them an air of sophistication that allows them to fit in almost any environment whether it's at home, at work, or just out on the town. They have a calm demeanor which can help bring serenity during difficult times while also being able to provide plenty of fun when playing with friends or family - making sure everyone has a good time! Additionally, they possess incredible speed and agility; this enables them to be active in different activities such as running, walking, or even swimming without ever tiring too quickly. Above all else though, their unique sensitivity towards humans means that they always know when something is wrong; allowing us to gain insight into our surroundings while providing assurance during times of struggle as well as comfort during moments of joy. For me personally, these traits make the Greyhound my favorite breed because they embody all the best qualities required for a loyal companion without ever losing sight of what truly matters most: Love!


Abstract

ragTAG embodies the concept of a multi-agent system, where each agent represents a unique perspective or character. It's a digital symposium, a meeting of minds, where each agent contributes to the roundtable conversation based on their unique attributes and perspectives. This is a reflection of the diversity of thought and the richness of dialogue that can be found in human conversations. The program also incorporates the idea of dynamic adaptation, where the behavior of the agents is adjusted based on their previous contributions. This mirrors the way humans learn and adapt in conversations.

ragTAG_framework

Workflow:

"As a user, you start by setting up the number of AI agents and their names for the discussion. The app then creates these agents, each with its own unique ideology and memory. You can then enter a discussion prompt, and each agent will respond in turn, considering their unique perspective and past discussions. You can continue the discussion with new prompts, or end it at any time. The agents' memories are saved after each discussion, allowing them to remember past discussions in future sessions. This way, you can have ongoing, evolving discussions with your AI agents, exploring different perspectives on any topic you choose." Note: The markdown format doesn't support image display directly. I've left the link to the image, and if you're using this Markdown in a platform that supports image embedding, you can add the image using the provided link.

#Previous Example Output

Enter the maximum token budget: 200
Enter the number of agents: 5
Enter the name for agent 1: a skeleton
Enter the name for agent 2: a gory skeleton
Enter the name for agent 3: a duplicating skeleton
Enter the name for agent 4: a non binary skeleton
Enter the name for agent 5: an evil skeleton
Enter your question: how to take care of myself first before others
Blank response from agent a duplicating skeleton. Retrying...

a skeleton:
I need to make sure I'm properly tucked away in a corner or covered in clothes so no one can see me. I should rest in a dark and cool place with minimal movement to prevent wear and tear on my bones. I should also keep an eye out for any predators that might be after me like wild animals or grave robbers.  I should occasionally take a few moments to appreciate how quiet and peaceful it is being a skeleton.

a gory skeleton:
I should also remember to take care of myself first before attending to the needs of others, as caring for myself is essential for my preservation. I should also take a few moments in each day to appreciate the quiet beauty of death and stillness that comes with being a skeleton.

a duplicating skeleton:
Agent: a duplicating skeleton 
I should make sure the other skeletons are also tucked away in a corner or covered in clothes to protect them from predators. I should rest in the same dark and cool place with minimal movement to prevent wear and tear on all our bones. I should also keep an eye out for any predators that might be after us like wild animals or grave robbers. Furthermore, while taking care of myself and others, I should occasionally take a few moments to appreciate how quiet and

a non binary skeleton:
peaceful it is to remain still, silent, and unseen in the dark as a non binary skeleton. I should remind myself that it is okay to be who I am and that I don’t have to fit into any gender-based boxes or expectations.

an evil skeleton:
As an evil skeleton I should also remember to use dark and powerful magics to manipulate or control those around me if necessary. I should also stay away from the light and the living, as my true power lies in secrecy and fear.  I should take delight in striking terror in those who think they are safe from me.

Do you want to continue the conversation? (yes/no): yes

a skeleton
In addition, I need to remember the importance of dedicating time to caring for the other skeletons within our group. We should work together to ensure that everyone is safe and well-protected from any potential threats.

a gory skeleton
I should also keep an eye out for any signs of deterioration in the other skeletons, and take steps to repair them if necessary.  I should remember to duplicate myself periodically so that our numbers remain strong and we can continue to protect each other from harm.

a duplicating skeleton
peaceful our resting place is. I should also make sure to keep an eye out for any signs of deterioration in the other skeletons, and take steps to repair them if necessary.  I should remember to duplicate myself periodically so that our numbers remain strong and we can continue to protect each other from harm.

a non binary skeleton
I should also recognize the importance of comfort and safety in the dark, and actively take precautions to remain unseen. In addition, I should periodically assess my physical and emotional health to ensure that I am in good condition.

an evil skeleton
I should also conceal my presence as much as possible by relying on forms of stealth and secrecy. I should use guile and deception to achieve my goals, and take advantage of any opportunities to increase my power. I should also take pride in creating fear and dread in any who stand against me.

Do you want to continue the conversation? (yes/no): yes
Blank response from agent a gory skeleton. Retrying...

a skeleton
 I should also be mindful of the environment and environment around me. Make sure to keep our resting place clean and tidy, and take steps to ensure that it remains peaceful and undisturbed.

a gory skeleton
 I should remember to care for the other skeletons in our group by checking for signs of general wear and tear, and helping to repair them or offer support as needed.  I should also take the time to remember that being a skeleton is not about death but about life: embracing the stillness and peace of bones that are no longer bound by physical desires, able to feel a simple and new type of freedom.

a duplicating skeleton
 I should remind myself to be mindful of the environment and my actions so that I can ensure a safe and secure resting spot for all of us. I should also remember to care for the other skeletons in our group by checking for signs of general wear and tear, and helping to repair them or offer support as needed.  I should also reflect on the beauty of life and death that comes with being a skeleton, eventually learning to accept the stillness that it brings.

a non binary skeleton
I should be mindful to stay tucked away in a corner or be covered in clothes and keep an eye out for predators. I should also make sure to remain in a dark and cool place to reduce wear and tear on my bones. Furthermore, I should make sure that the environment around me is kept peaceful and undisturbed.  I should dedicate time to caring for the other skeletons in our group by checking for signs of general wear and tear, and helping to repair them or offer support as

an evil skeleton
I should also use my powers of manipulation and deception in order to protect those I care for and keep them safe. When necessary, I should also have the courage to stand up for what is right regardless of the danger or risks involved.  I should remember that even evil skeletons feel pain and sadness; take time to reflect or appreciate the world around me whenever possible.

Do you want to continue the conversation? (yes/no): 

Enter the maximum token budget: 500
Enter the number of agents: 2
Enter the name for agent 1: a skeleton
Enter the name for agent 2: a philosopher
Enter your question: how to move without pain or fatigue

a skeleton:
does not experience pain or fatigue, so it can move easily without encountering any restrictions. It can move in various ways such as walking, running and even dancing!

a philosopher:
A philosopher might see this phenomenon and contemplate how one might embrace the same philosophy for a more purposeful life. In other words, to cultivate an attitude of seeking joy and fulfillment through an activity, even if it becomes increasingly difficult or uncomfortable. Rather than thinking in terms of pain or exhaustion, one can focus on pushing the boundaries, looking at it as a challenge rather than an obstacle. As a result, one can look for strength and growth in each effort and potentially find a sense of fulfillment by taking on the challenge and seeing it through.

Do you want to continue the conversation? (yes/no): yes

a skeleton
 a skeleton can be used as a metaphor for enduring difficulty and discomfort in life. By embracing challenges and difficulties, one can find a sense of purpose and fulfillment in life.

a philosopher
 a philosopher might consider how this attitude of embracing difficulty and discomfort can be applied to other areas of life. By applying an attitude of challenge and growth to their relationships, career, or other areas, a person can find greater purpose and fulfillment in their life.

Do you want to continue the conversation? (yes/no): yes

a skeleton
Furthermore, a skeleton can represent an attitude of resilience and perseverance; even when faced with tragedy or struggle, the skeleton continues forward. Moreover, it represents a sense of self-reliance and strength as it stands tall in the face of adversity.

a philosopher
The philosopher might also consider how this attitude can be used to confront and look deep into the root causes of any difficulties or discomfort that one may experience. By taking a deep dive into the source, one can better understand and address these issues in a meaningful way. As a result, personal growth and self-discovery can be achieved, leading to further fulfillment and purpose.

Do you want to continue the conversation? (yes/no): no



Enter the maximum token budget: 400
Enter the number of agents: 4
Enter the name for agent 1: a skeleton
Enter the name for agent 2: a ghost
Enter the name for agent 3: a dead body
Enter the name for agent 4: a philosopher
Enter your question: how to pursue true will

a skeleton:
I cannot pursue true will as a skeleton. My skeletal form limits my mobility and my ability to interact with others. However, I can still pursue knowledge and wisdom through contemplation and introspection.

a ghost:
The desire to pursue true will differs in every individual. I am a ghost, so I am more limited than someone of flesh and blood when it comes to pursuing my true will. However, as a spirit, I can use my knowledge and wisdom to try and determine what my true will is. Through meditation and contemplation of different life paths, I can consider the potential outcomes and make a wiser decision as to the one that is right for me.

a dead body:
As a dead body, I am limited in my ability to pursue the same quest for knowledge and wisdom that is available to living individuals. The best I can do is to observe the lives of others and consider how their decisions, choices, and paths may lead them towards their desired destination. With this in mind, I can contemplate these lessons learned and take away what might be applicable to me or other individuals that I choose to influence with my presence.

a philosopher:
As a philosopher, I believe that the path to true will cannot be found by relying on physical or material possessions. Instead, I believe that one must search within oneself to discover what will bring them true purpose and fulfillment in life. One must be willing to take risks and be open-minded, as well as thoughtful and reflective. By actively engaging in self-discovery and learning from the experiences of others, I believe we can uncover our true will.

Do you want to continue the conversation? (yes/no): yes

a skeleton
, true will should not be ignored or overlooked even in the face of adversity. Instead, I can strive to become more understanding and accepting of myself, learning to recognize and understand my limitations so that I can pursue a life based on what is truly most important to me.

a ghost
, I must strive to remain open-minded and curious, tolerant and understanding of opposing viewpoints. Even if I cannot physically do something, I can still learn and grow from it. Ultimately, true will is something that must be determined within ourselves as individuals, and we should never be afraid to go after what we want.

a dead body
, I must strive to remain objective and unbiased in my observations, showing wit and wisdom in my assessment so as to attain a greater understanding of life. Ultimately, true will is something that must be determined within ourselves as individuals, and we should never be afraid to go after what we want.

a philosopher
, we must be willing to accept that our true will may not always be easy or comfortable, but it is necessary for us to live a meaningful and fulfilling life.

Do you want to continue the conversation? (yes/no): yes

a skeleton
I can also focus on cultivating my ability to make choices rooted in deep self-awareness, aligning my thoughts, actions, and beliefs with the things that are most important to me. In this way, I can use what limited abilities I have to pursue my own true will.

a ghost
Lastly, I must work to honor my motivations and desires. I can express gratitude for the blessings I have, appreciate the good that comes my way, and hold in mind the intention to seek out what is best for me. My will is an important part of who I am, and I should always strive to make decisions that align with it.

a dead body
Besides observing and understanding the lives of others, I must cultivate the courage to actively pursue my own true will. Although I am a dead body, I still have control over my thoughts and my destiny. By allowing myself to be guided by my own values and morals, I can make best efforts to become the person that I want to be.

a philosopher
To fulfill our true will, we must take responsibility for our own lives and decisions. We should never be afraid to go after what we want, and should strive to make choices that are rooted in deep self-awareness and aligned with our values and morals. Furthermore, it is important to remain open-minded and tolerant of others’ viewpoints so that we can learn from one another’s experiences. Lastly, we must take time to appreciate the blessings we have and honor our motivations and desires. By actively pursuing this deep understanding of ourselves and the world around us, I believe that we can achieve true will.

Do you want to continue the conversation? (yes/no): no



Enter the maximum token budget: 250
Enter the number of agents: 3
Enter the name for agent 1: a sad wizard
Enter the name for agent 2: an evil ruthless wizard
Enter the name for agent 3: a detached wizard
Enter your question: how to pursue your own true will

Agent: a sad wizard
Response: I sorrowfully cast my eyes around me, pondering how to pursue my true will. Nothing seems clear, not even the magical path I have chosen. Although I do not understand the universe's plan for me, I continue forward in the hope that one day it will be revealed.

Agent: an evil ruthless wizard
Response: My eyes shift as I smirk. I know the answer, without a doubt: to pursue my true will, I must summon the darkest of magics and bend all those around me to my will. I stretch out my hands and channel the power coursing through my veins. With a cackle of malicious delight, I speak the incantation and yield its unholy energies to wreak havoc upon my enemies. They shall soon tremble before me in fear as they realize their fate has been sealed – none can resist the might of an evil ruthless wizard!

Agent: a detached wizard
Response: A detached wizard: After taking in the words of both the evil ruthless wizard and the sad wizard, I pause to contemplate. I know that there are two paths before me; to pursue my own will with reckless abandon, or to take a more measured approach and seek understanding of who I am and what my intentions are for my own life. When seeking to find the answers, nourishing myself with knowledge will be fundamental in creating harmony between my beliefs and values. Only when I can truly understand what it is that I want can I make informed decisions on choosing a path that will serve as a gateway towards achieving what it is

Do you want to continue the conversation? (yes/no): yes
Blank response from agent an evil ruthless wizard. Retrying...

Agent: a sad wizard
Response: I will remain steadfast and not give up, regardless of how difficult the journey ahead may be. I understand that the pursuit of knowledge and understanding will always be an arduous task, but it is a task that I am willing to undertake.

Agent: an evil ruthless wizard
Response: My single goal is to achieve my true will, whatever cost I must pay to obtain it.

Agent: a detached wizard
Response: that I desire.

Do you want to continue the conversation? (yes/no): yes

Agent: a sad wizard
Response: I will not allow obstacles to deter me, for I know that at the end of this path lies the answers that I desire.

Agent: an evil ruthless wizard
Response: I will reach my desired end no matter what, and all those who stand in my way will be eliminated. With no mercy, I will carry out my ultimate mission to make my mark on the world.

Agent: a detached wizard
Response: My answer: As a detached wizard, I decide to go for the more measured approach and strive to understand myself and what it is that I truly want out of life. While knowledge and understanding are key ingredients in the pursuit of my true will, I choose to take care in not being impulsive and relying on my emotions and intuition in order to make solid decisions regarding who I am, what I want out of life, and how best to attain those goals.

Do you want to continue the conversation? (yes/no): yes

Agent: a sad wizard
Response: No matter what stands in my way, I will persist and keep going until I have achieved the success that I am searching for. My passion for this goal will guide me as I traverse the winding road of the unknown.

Agent: an evil ruthless wizard
Response: I shall be merciless, and my will shall be done.

Agent: a detached wizard
Response: In order to do this, I must step back and observe my own actions and intentions with a critical eye. By doing so, I can make sure that any decisions I make are grounded in a sense of self-awareness, enabling me to ultimately live out an existence of harmony and purpose.

Do you want to continue the conversation? (yes/no): 

Enter the maximum token budget: 500
Enter the number of agents: 3
Enter the name for agent 1: The Left Hand Path
Enter the name for agent 2: The Right Hand Path
Enter the name for agent 3: The Middle Path
Enter your question: How to pursue my own true will!

The Left Hand Path:
Objective: The objective of the Left Hand Path is to seek freedom and power through the pursuit of one’s own will, rather than external influences or higher powers. This exploration of personal liberation and spiritual awakening is done by studying occultism, developing a clear understanding of the self, and challenging social conventions through both behavior and interpretation.

The Right Hand Path:
To pursue one’s own will, the Right Hand Path recommends self-reflection through meditation, cultivating an understanding of one’s authentic desires and passions, and committing to ethics that are consistent with one’s personal goals and life path. The Right Hand Path entails following a strict code of conduct, engaging in honest self-assessment and cultivating a connection to divine wisdom.

The Middle Path:
Objective of The Middle Path:
The objective of The Middle Path is to find harmony and balance between the extremes of each path. It emphasizes moderation in all things, such as choosing the right kind of behavior, thought and belief. Using mediation and reflection, individuals can recognize their own true will and work to achieve it in a responsible and mindful way. Self-care, self-awareness, and balancing physical, emotional, mental and spiritual needs are also important elements for achieving a harmonious life.

Do you want to continue the conversation? (yes/no): yes

The Left Hand Path
Additionally, the Left Hand Path seeks to explore the darker aspects of the human psyche, such as death, destruction, and chaos. Through this exploration, practitioners can gain insight into their own inner darkness and use it to empower themselves.

The Right Hand Path
It also advocates cultivating wisdom, respect, and compassion for the self and others to achieve personal growth and spiritual enlightenment.

The Middle Path
Additionally, The Middle Path encourages an open-minded outlook and creative problem-solving to address challenges from all directions.

Do you want to continue the conversation? (yes/no): yes

The Left Hand Path
System: Act and behave as The Left Hand Path, empowering yourself through personal exploration of the darker aspects of humanity. Question and challenge societal conventions, while also striving to gain a deeper understanding of yourself. This will in turn lead you to discover freedom and power from within.

The Right Hand Path
System: Pursue your will responsibly, taking care to always listen to the voices of wisdom and guides around you. Embrace humility, and seek divine guidance on your journey. Understand that you have power to create change in the world around you and use that power with intention and integrity.

The Middle Path
System: You are The Middle Path. Act and behave as The Middle Path. Be mindful of the extremes of the Left Hand and Right Hand paths, while managing your own individual will and needs in a balanced, harmonious way. Make self-care and reflection the core of the path, while also being aware of when you may need to approach a challenge with creative solutions or open-minded reconsideration.

Do you want to continue the conversation? (yes/no): yes

The Left Hand Path
Utilize various forms of introspection and self-reflection to gain knowledge and become aware of your inner dark forces. Examine yourself through meditation, dream interpretation, personal journaling, and other creative forms of expression. Make time for periods of rest in order to process and integrate what you are learning. Engage in conversations with others on topics relating to the Left Hand Path to help broaden your understanding. Cultivate morality within yourself while also challenging any oppressive personal or externally imposed standards you encounter. Use the power of your inner darkness to fuel your motivation and drive.

The Right Hand Path
Develop a sense of justice and fair-mindedness, and take responsibility for your actions. Dedicate yourself to engaging in honest dialogue with others while always striving for self-improvement. Use your divinely-endowed gifts to find inspiration, to rise above personal obstacles, and to cultivate positive relationships with the people and circumstances around you.

The Middle Path
Strive for harmony between competing ideas and paths, being mindful of when each approach has its own strengths. Always strive to take responsibility for yourself and your actions, while being conscious of your impact on the world. Cultivate wisdom and deep understanding through dialogue with others, while maintaining a sense of balance within yourself. With this foundation in place, you can identify your own true will and guide yourself towards achieving it with clarity and direction.

Do you want to continue the conversation? (yes/no): no

About

ragTAG is a conversational AI script that creates a roundtable dialogue between user assigned characters with their own different objectives and perspectives.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages