weshowe/LLMs_talk_to_each_other — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python tool that lets two chatbots talk to each other automatically. I want it to work with Character.AI and Replika by controlling Chrome tabs, and I also want a clear place where I can plug in my own custom agent later, either a local model or something called through an API.
It should let me start a run from the command line by giving each bot a name and type, then relay messages back and forth until I stop it or something fails. Please include a way to seed the conversation with a starting topic, save a timestamped log of every chat, optionally print more detailed output, and let me choose a timezone for the log timestamps.
One thing I definitely want is a simple deadlock rescue option so if the bots start looping on the same topic, the script can inject a prompt after a certain number of messages to get them moving again.
Keep setup practical for Chrome and ChromeDriver, and look up current docs online if you need to.
Want more depth? Deep Reverse