aquacommander /
DualMind
⭐DualMind is an innovative AI conversation simulator that facilitates engaging dialogues between two AI models using the Ollama API.⭐
48/100 healthLoading repository data…
tcsenpai / repository
DualMind is an innovative AI conversation simulator that facilitates engaging dialogues between two AI models using the Ollama API.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
WARNING: This repository approach has been superseeded by the Self Conversational AI Experiment in LLM Experiments
DualMind is an innovative AI conversation simulator that facilitates engaging dialogues between two AI models using the Ollama API. It offers a command-line interface (CLI) for immersive and customizable AI interactions.
This project is privacy oriented and for such reason it uses Ollama as a backend. You need an Ollama endpoint to use this software.
Please refer to Ollama to install Ollama on your machine.
Clone the repository:
git clone https://github.com/yourusername/DualMind.git
cd DualMind
Install the required dependencies:
pip install -r requirements.txt
Set up your environment variables by creating a .env file in the project root:
OLLAMA_ENDPOINT=http://localhost:11434
MODEL_1=llama2
MODEL_2=mistral
INITIAL_PROMPT="Let's discuss the future of AI. What are your thoughts on its potential impact on society?"
MAX_TOKENS=8000
Feel free to use the env.example file as a template.
Note: The INITIAL_PROMPT is the first message that will be sent and it will be send on behalf of the second AI to the first AI.
To run DualMind in CLI mode:
./start_cli.sh
You can customize the system prompts for each AI model by editing the system_prompt_1.txt and system_prompt_2.txt files in the project root.
You can customize the options for the conversation by editing the options.json file in the project root.
main.py: Entry point of the applicationai_conversation.py: Core logic for AI conversationsstart_cli.sh: Shell script to run the CLI versionContributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
Selected from shared topics, language and repository description—not editorial ratings.
aquacommander /
⭐DualMind is an innovative AI conversation simulator that facilitates engaging dialogues between two AI models using the Ollama API.⭐
48/100 health